Skip to content

Commit

Permalink
feat: update to support loopback 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kirkpatrick committed Jun 23, 2017
1 parent 58cde2a commit 134ab17
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,25 @@
},
"devDependencies": {
"@bubltechnology/customizable-commit-analyzer": "https://github.com/fullcube/customizable-commit-analyzer/tarball/364e96c6f590c20f82d76557a5fa0d4481c48c5f",
"chai": "^3.5.0",
"condition-circle": "^1.5.0",
"conventional-commit-types": "^2.1.0",
"coveralls": "^2.11.16",
"dirty-chai": "^1.2.2",
"eslint": "2.13.1",
"eslint-config-fullcube": "latest",
"eslint-plugin-mocha": "latest",
"husky": "^0.13.1",
"loopback": "^2.36.0",
"mocha": "^3.2.0",
"mocha-sinon": "^1.1.6",
"nyc": "^10.1.2",
"semantic-release": "^6.3.2",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"validate-commit-msg": "^2.11.1"
"chai": "4.0.2",
"condition-circle": "1.5.0",
"conventional-commit-types": "2.1.0",
"coveralls": "2.13.1",
"dirty-chai": "2.0.0",
"eslint-config-fullcube": "^2.0.2",
"husky": "0.14.0",
"loopback": "3.8.0",
"mocha": "3.4.2",
"mocha-sinon": "2.0.0",
"nyc": "11.0.2",
"semantic-release": "6.3.6",
"sinon": "2.3.5",
"sinon-chai": "2.11.0",
"validate-commit-msg": "2.12.2"
},
"dependencies": {
"lodash": "^4.17.2",
"debug": "^2.3.3"
"debug": "2.6.8",
"lodash": "^4.17.4"
},
"release": {
"verifyConditions": "condition-circle",
Expand Down
3 changes: 1 addition & 2 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const loopback = require('loopback')

const chai = require('chai')
const expect = chai.expect
const { expect } = chai

chai.use(require('sinon-chai'))
chai.use(require('dirty-chai'))
Expand Down Expand Up @@ -45,7 +45,6 @@ const Item = loopback.PersistedModel.extend('Item', {
type: 'hasMany',
model: 'Poly',
polymorphic: {
as: 'poly',
foreignKey: 'referenceId',
discriminator: 'referenceType',
},
Expand Down

0 comments on commit 134ab17

Please sign in to comment.