Skip to content

Commit 3ad8fbc

Browse files
committed
Merge branch 'release/1.3.1' into master
2 parents dc6f44e + 1d76428 commit 3ad8fbc

File tree

3 files changed

+43
-39
lines changed

3 files changed

+43
-39
lines changed

package-lock.json

+34-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "sequelize-test-helpers",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "A collection of utilities to help with unit-testing sequelize models",
55
"author": "Dave Sag <[email protected]>",
6+
"contributors": [
7+
"gerhardkubion (https://github.com/gerhardkubion)"
8+
],
69
"type": "commonjs",
710
"license": "MIT",
811
"funding": {
@@ -57,10 +60,10 @@
5760
"ajv": "^6.12.5",
5861
"chai": "^4.2.0",
5962
"chai-as-promised": "^7.1.1",
60-
"eslint": "^7.9.0",
63+
"eslint": "^7.10.0",
6164
"eslint-config-prettier": "^6.12.0",
6265
"eslint-config-standard": "^14.1.1",
63-
"eslint-plugin-import": "^2.22.0",
66+
"eslint-plugin-import": "^2.22.1",
6467
"eslint-plugin-mocha": "^8.0.0",
6568
"eslint-plugin-node": "^11.1.0",
6669
"eslint-plugin-prettier": "^3.1.4",
@@ -72,9 +75,9 @@
7275
"nyc": "^15.1.0",
7376
"prettier": "^2.1.2",
7477
"proxyquire": "^2.1.3",
75-
"sinon": "^9.0.3",
78+
"sinon": "^9.1.0",
7679
"sinon-chai": "^3.5.0",
77-
"snyk": "^1.401.0"
80+
"snyk": "^1.404.0"
7881
},
7982
"peerDependencies": {
8083
"chai": ">= 4",

src/sequelize.js

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const sequelize = {
4242
Object.keys(modelDefn).forEach(attachProp)
4343

4444
model.prototype.indexes = metaData.indexes
45+
model.prototype.scopes = metaData.scopes
4546
return model
4647
}
4748
}

0 commit comments

Comments
 (0)