Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hadron-type-checker

Package Overview
Dependencies
Maintainers
0
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-type-checker - npm Package Compare versions

Comparing version 0.0.0-next-9393cb0d5342c1522d7921ddb868725b33e230a3 to 0.0.0-next-946a60c9f5db769f6e6b66b2dce4e92bba3c39c3

.prettierrc.json

2

index.d.ts

@@ -13,3 +13,3 @@ import type {

BSONSymbol,
Timestamp
Timestamp,
} from 'bson';

@@ -16,0 +16,0 @@

@@ -10,3 +10,3 @@ {

"homepage": "https://github.com/mongodb-js/compass",
"version": "0.0.0-next-9393cb0d5342c1522d7921ddb868725b33e230a3",
"version": "0.0.0-next-946a60c9f5db769f6e6b66b2dce4e92bba3c39c3",
"repository": {

@@ -35,9 +35,9 @@ "type": "git",

"devDependencies": {
"@mongodb-js/eslint-config-compass": "0.0.0-next-946a60c9f5db769f6e6b66b2dce4e92bba3c39c3",
"chai": "^4.2.0",
"depcheck": "^1.4.1",
"eslint": "^7.25.0",
"eslint-config-mongodb-js": "^5.0.3",
"mocha": "^10.2.0"
},
"gitHead": "9393cb0d5342c1522d7921ddb868725b33e230a3"
"gitHead": "946a60c9f5db769f6e6b66b2dce4e92bba3c39c3"
}

@@ -27,3 +27,2 @@ 'use strict';

Timestamp,
Map
} = require('bson');

@@ -181,3 +180,5 @@ /**

}
throw new Error(`Value ${object.toString()} is outside the valid Int64 range`);
throw new Error(
`Value ${object.toString()} is outside the valid Int64 range`
);
};

@@ -214,3 +215,5 @@

const toBinary = (object) => {
const buffer = ArrayBuffer.isView(object) ? Buffer.from(object) : Buffer.from(toString(object), 'utf8');
const buffer = ArrayBuffer.isView(object)
? Buffer.from(object)
: Buffer.from(toString(object), 'utf8');
return new Binary(buffer, Binary.SUBTYPE_DEFAULT);

@@ -258,3 +261,3 @@ };

Timestamp: toTimestamp,
Undefined: toUndefined
Undefined: toUndefined,
};

@@ -261,0 +264,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc