Skip to content

Commit cb46283

Browse files
committed
lint 2.0
1 parent 63279f3 commit cb46283

File tree

10 files changed

+5252
-8030
lines changed

10 files changed

+5252
-8030
lines changed

.evergreen/run-typescript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm install --no-save --force typescript@"$TS_VERSION"
1919
echo "Typescript $($TSC -v)"
2020

2121
# check resolution uses the default latest types
22-
echo "import * as BSON from '.'" > file.ts && node $TSC --emitDeclarationOnly --traceResolution file.ts | grep 'bson.d.ts' && rm file.ts
22+
echo "import * as BSON from '.'" > file.ts && node $TSC --noEmit --traceResolution file.ts | grep 'bson.d.ts' && rm file.ts
2323

2424
# check compilation
2525
rm -rf node_modules/@types/eslint # not a dependency we use, but breaks the build :(

lib/bson.bundle.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bson.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bson.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3963,7 +3963,6 @@ var bson = /*#__PURE__*/Object.freeze({
39633963
deserialize: deserialize,
39643964
calculateObjectSize: calculateObjectSize,
39653965
deserializeStream: deserializeStream,
3966-
LongWithoutOverridesClass: LongWithoutOverridesClass,
39673966
BSONError: BSONError,
39683967
BSONTypeError: BSONTypeError,
39693968
BSONType: BSONType,
@@ -3984,7 +3983,6 @@ exports.Double = Double;
39843983
exports.EJSON = EJSON;
39853984
exports.Int32 = Int32;
39863985
exports.Long = Long;
3987-
exports.LongWithoutOverridesClass = LongWithoutOverridesClass;
39883986
exports.MaxKey = MaxKey;
39893987
exports.MinKey = MinKey;
39903988
exports.ObjectId = ObjectId;

lib/bson.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bson.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3961,12 +3961,11 @@ var bson = /*#__PURE__*/Object.freeze({
39613961
deserialize: deserialize,
39623962
calculateObjectSize: calculateObjectSize,
39633963
deserializeStream: deserializeStream,
3964-
LongWithoutOverridesClass: LongWithoutOverridesClass,
39653964
BSONError: BSONError,
39663965
BSONTypeError: BSONTypeError,
39673966
BSONType: BSONType,
39683967
EJSON: EJSON
39693968
});
39703969

3971-
export { bson as BSON, BSONError, BSONRegExp, BSONSymbol, BSONType, BSONTypeError, Binary, Code, DBRef, Decimal128, Double, EJSON, Int32, Long, LongWithoutOverridesClass, MaxKey, MinKey, ObjectId, Timestamp, UUID, calculateObjectSize, deserialize, deserializeStream, serialize, serializeWithBufferAndIndex, setInternalBufferSize };
3970+
export { bson as BSON, BSONError, BSONRegExp, BSONSymbol, BSONType, BSONTypeError, Binary, Code, DBRef, Decimal128, Double, EJSON, Int32, Long, MaxKey, MinKey, ObjectId, Timestamp, UUID, calculateObjectSize, deserialize, deserializeStream, serialize, serializeWithBufferAndIndex, setInternalBufferSize };
39723971
//# sourceMappingURL=bson.mjs.map

lib/bson.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)