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.6 to 1.0.7

index.d.ts

20

index.js

@@ -91,13 +91,13 @@ var _ = require('lodash');

if (temporalOptions.full) {
model.hook('afterCreate', insertHook);
model.hook('afterUpdate', insertHook);
model.hook('afterDestroy', insertHook);
model.hook('afterRestore', insertHook);
model.addHook('afterCreate', insertHook);
model.addHook('afterUpdate', insertHook);
model.addHook('afterDestroy', insertHook);
model.addHook('afterRestore', insertHook);
} else {
model.hook('beforeUpdate', insertHook);
model.hook('beforeDestroy', insertHook);
model.addHook('beforeUpdate', insertHook);
model.addHook('beforeDestroy', insertHook);
}
model.hook('beforeBulkUpdate', insertBulkHook);
model.hook('beforeBulkDestroy', insertBulkHook);
model.addHook('beforeBulkUpdate', insertBulkHook);
model.addHook('beforeBulkDestroy', insertBulkHook);

@@ -108,4 +108,4 @@ var readOnlyHook = function(){

modelHistory.hook('beforeUpdate', readOnlyHook);
modelHistory.hook('beforeDestroy', readOnlyHook);
modelHistory.addHook('beforeUpdate', readOnlyHook);
modelHistory.addHook('beforeDestroy', readOnlyHook);

@@ -112,0 +112,0 @@ return model;

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

@@ -5,0 +5,0 @@ "main": "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