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

sequelize-temporal

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-temporal - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

.idea/misc.xml

8

index.js

@@ -12,3 +12,3 @@ var _ = require('lodash');

// fancy way to exclude attributes
return _.omit(obj, _.partial(_.rearg(_.contains,0,2,1), attrsToExclude));
return _.omit(obj, attrsToExclude);
}

@@ -58,3 +58,3 @@

var historyOptions = _.assign({}, modelOptions, historyOwnOptions);
// We want to delete indexes that have unique constraint

@@ -80,3 +80,3 @@ var indexes = historyOptions.indexes;

if(hits){
hits = _.pluck(hits, 'dataValues');
hits = _.map(hits, 'dataValues');
return modelHistory.bulkCreate(hits, {transaction: options.transaction});

@@ -107,3 +107,3 @@ }

var readOnlyHook = function(){
throw new Error("This is a read-only history database. You aren't allowed to modify it.");
throw new Error("This is a read-only history database. You aren't allowed to modify it.");
};

@@ -110,0 +110,0 @@

{
"name": "sequelize-temporal",
"version": "1.0.7",
"version": "1.0.8",
"description": "Temporal tables for Sequelize",

@@ -32,11 +32,11 @@ "main": "index.js",

"dependencies": {
"lodash": "^3.10.1"
"lodash": "^4.17.15"
},
"devDependencies": {
"chai": "^4.1.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"mocha": "^5.2.0",
"sequelize": "^4.38.0",
"sqlite3": "^4.0.1"
"mocha": "^6.2.1",
"sequelize": "^5.19.5",
"sqlite3": "^4.1.0"
}
}

Sorry, the diff of this file is not supported yet

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