Socket
Socket
Sign inDemoInstall

sequelize-mocking

Package Overview
Dependencies
157
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0-beta to 1.3.0

5

lib/sequelize-mocking.js

@@ -19,3 +19,3 @@ /**

// Constants and variables
const FAKE_DATABASE_NAME = 'test-database';
const FAKE_DATABASE_NAME = 'sqlite://test-database';
const AFTER_DEFINE_EVENT = 'afterDefine';

@@ -257,3 +257,4 @@ const AFTER_DEFINE_EVENT_NAME = 'sequelizeMockAfterDefine';

return mockedSequelize
.drop({ 'logging': logging })
.getQueryInterface()
.dropAllTables({ 'logging': logging })
.then(function () {

@@ -260,0 +261,0 @@ logging && console.log('SequelizeMocking - Context is restored');

12

package.json
{
"name": "sequelize-mocking",
"version": "1.3.0-beta",
"version": "1.3.0",
"description": "A Sequelize extension to deal with mocking for tests",

@@ -21,5 +21,5 @@ "main": "index.js",

"bump-patch": "npm test && npm run bumping -- --increment patch",
"bump-major-beta": "npm run bumping -- --increment major --preid beta --nogit-tag",
"bump-minor-beta": "npm run bumping -- --increment minor --preid beta --nogit-tag",
"bump-patch-beta": "npm run bumping -- --increment patch --preid beta --nogit-tag"
"bump-major-beta": "npm run bumping -- --increment major --preid beta",
"bump-minor-beta": "npm run bumping -- --increment minor --preid beta",
"bump-patch-beta": "npm run bumping -- --increment patch --preid beta"
},

@@ -54,6 +54,6 @@ "repository": {

"chai": "4.0.2",
"eslint": "4.2.0",
"eslint": "4.7.1",
"mocha": "3.4.2",
"mysql2": "1.3.5",
"npmversion": "1.3.3",
"npmversion": "1.3.4",
"rimraf": "2.6.1",

@@ -60,0 +60,0 @@ "sequelize": "4.13.10",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc