Socket
Socket
Sign inDemoInstall

db-migrate

Package Overview
Dependencies
Maintainers
2
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-migrate - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

33

lib/methods/v2/statetravel.js

@@ -26,23 +26,13 @@ const Shadow = require('../../driver/shadow');

this._counter = 0;
}
this._default = async function _default () {
await State.step(this.driver, ++this._counter, this.internals);
async step () {
return State.step(this.driver, ++this._counter, this.internals);
return State.update(
this.driver,
this.file,
this.internals.modSchema,
this.internals
);
};
}
async update () {
return State.update(
this.driver,
this.file,
this.internals.modSchema,
this.internals
);
}
async default () {
await this.step();
const res = await this.update();
return res;
}
}

@@ -52,6 +42,3 @@

StateTravel.prototype[m] = async function (...args) {
await this.step();
const res = await this.update();
return res;
return this._default();
};

@@ -58,0 +45,0 @@ });

@@ -34,3 +34,3 @@ {

],
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"engines": {

@@ -37,0 +37,0 @@ "node": ">=8.0.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