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

periodicjs.core.data

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

periodicjs.core.data - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

adapters/sql.js

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

if (!update || (update && typeof update !== 'object')) throw new Error('Either updateattributes or updatedoc option must be set in order to execute multi update');
console.log({ query, update });
Model.update(update, query)

@@ -376,0 +375,0 @@ .then(result => cb(null, result))

2

package.json

@@ -95,4 +95,4 @@ {

},
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT"
}

@@ -66,3 +66,3 @@ # periodicjs.core.data

let ExampleModel = mongoose.model('Example', ExampleSchema);
let config = { limit: 500, sort: '-createdat'};
let config = { limit: 500, sort: '-createdat' };
let Adapter = AdapterIterface.create(Object.assign({ adapter: 'mongo', model: ExampleModel }, config)); //example core datum for the Example mongoose schema

@@ -69,0 +69,0 @@ let exampleDocument = { //example mongo document

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