Skip to content

Commit d69f6e8

Browse files
committed
fixup: update meta field naming for bson autocomplete
1 parent e442dcd commit d69f6e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/mongodb-constants/src/bson-types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const BSON_TYPES = [
127127
value: 'LegacyJavaUUID',
128128
label: 'LegacyJavaUUID',
129129
score: 1,
130-
meta: 'bson-legacy-uuid-support',
130+
meta: 'bson-legacy-uuid',
131131
version: '0.0.0',
132132
description: 'BSON Binary subtype 3 (Java legacy UUID)',
133133
snippet: "LegacyJavaUUID('${1:uuid}')",
@@ -137,7 +137,7 @@ const BSON_TYPES = [
137137
value: 'LegacyCSharpUUID',
138138
label: 'LegacyCSharpUUID',
139139
score: 1,
140-
meta: 'bson-legacy-uuid-support',
140+
meta: 'bson-legacy-uuid',
141141
version: '0.0.0',
142142
description: 'BSON Binary subtype 3 (CSharp legacy UUID)',
143143
snippet: "LegacyCSharpUUID('${1:uuid}')",
@@ -147,7 +147,7 @@ const BSON_TYPES = [
147147
value: 'LegacyPythonUUID',
148148
label: 'LegacyPythonUUID',
149149
score: 1,
150-
meta: 'bson-legacy-uuid-support',
150+
meta: 'bson-legacy-uuid',
151151
version: '0.0.0',
152152
description: 'BSON Binary subtype 3 (Python legacy UUID)',
153153
snippet: "LegacyPythonUUID('${1:uuid}')",

packages/shell-bson-parser/src/scope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const SCOPE_ANY: { [x: string]: Function } = lookupMap({
4242
return new bson.Binary(buffer, subType);
4343
},
4444

45-
// Legacy UUID functions are from originally taken from
45+
// Legacy UUID functions from
4646
// https://github.com/mongodb/mongo-csharp-driver/blob/ac2b2a61c6b7a193cf0266dfb8c65f86c2bf7572/uuidhelpers.js
4747
LegacyJavaUUID: function (u: any) {
4848
if (u === undefined) {

0 commit comments

Comments
 (0)