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

jsft-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsft-mongodb - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

6

lib/_tests/Collection.test.js

@@ -304,3 +304,3 @@ 'use strict';

return _Collection2.default.insertOne('tests', _testSchema2.default, invalidPropsWithId);
}).to.throw('Invalid Character');
}).to.throw('Character insertOne properties is invalid.');
});

@@ -344,3 +344,3 @@

return _Collection2.default.updateOne('tests', _testSchema2.default, invalidPropsWithId);
}).to.throw('Invalid Character');
}).to.throw('Character updateOne properties is invalid.');
});

@@ -380,3 +380,3 @@

return _Collection2.default.replaceOne('tests', _testSchema2.default, invalidPropsWithId);
}).to.throw('Invalid Character');
}).to.throw('Character replaceOne properties is invalid.');
});

@@ -383,0 +383,0 @@

@@ -150,3 +150,3 @@ 'use strict';

if (options) {
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { messagePrefix: 'Invalid options;' });
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { message: 'Invalid options;' });
}

@@ -177,3 +177,3 @@

if (options) {
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { messagePrefix: 'Invalid options;' });
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { message: 'Invalid options;' });
}

@@ -201,3 +201,3 @@

if (options) {
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { messagePrefix: 'Invalid options;' });
_jsft2.default.assertValid(makeOptionsSchema(schema), options, { message: 'Invalid options;' });
}

@@ -251,3 +251,3 @@

}), {
messagePrefix: (schema.title || collectionName) + ' insertOne properties is invalid;'
message: (schema.title || collectionName) + ' insertOne properties is invalid.'
});

@@ -305,3 +305,3 @@

_jsft2.default.assertValid(partialSchema(schema), props, {
messagePrefix: (schema.title || collectionName) + ' updateOne properties is invalid;'
message: (schema.title || collectionName) + ' updateOne properties is invalid.'
});

@@ -338,3 +338,3 @@

_jsft2.default.assertValid(schema, props, {
messagePrefix: (schema.title || collectionName) + ' replaceOne properties is invalid;'
message: (schema.title || collectionName) + ' replaceOne properties is invalid.'
});

@@ -341,0 +341,0 @@

{
"name": "jsft-mongodb",
"version": "0.6.5",
"version": "0.6.6",
"description": "Functional abstraction layer for mongodb-storage of objects with structures defined with json-schema",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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