Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1989 from mgred/remove-deprecated
Replace deprecated module
  • Loading branch information
fatso83 committed Mar 6, 2019
2 parents 4a8f432 + 617c40e commit b8679fa
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 41 deletions.
2 changes: 1 addition & 1 deletion lib/sinon.js
Expand Up @@ -2,7 +2,7 @@

var behavior = require("./sinon/behavior");
var createSandbox = require("./sinon/create-sandbox");
var deprecated = require("./sinon/util/core/deprecated");
var deprecated = require("@sinonjs/commons").deprecated;
var extend = require("./sinon/util/core/extend");
var fakeTimers = require("./sinon/util/fake-timers");
var format = require("./sinon/util/core/format");
Expand Down
34 changes: 0 additions & 34 deletions lib/sinon/util/core/deprecated.js

This file was deleted.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,7 +55,7 @@
"docs/**/*.md": "markdownlint"
},
"dependencies": {
"@sinonjs/commons": "^1.3.1",
"@sinonjs/commons": "^1.4.0",
"@sinonjs/formatio": "^3.2.1",
"@sinonjs/samsam": "^3.2.0",
"diff": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion test/sandbox-test.js
Expand Up @@ -3,7 +3,7 @@
var referee = require("@sinonjs/referee");
var samsam = require("@sinonjs/samsam");
var assert = referee.assert;
var deprecated = require("../lib/sinon/util/core/deprecated");
var deprecated = require("@sinonjs/commons").deprecated;
var refute = referee.refute;
var fakeXhr = require("nise").fakeXhr;
var fakeServerWithClock = require("nise").fakeServerWithClock;
Expand Down
2 changes: 1 addition & 1 deletion test/stub-test.js
Expand Up @@ -5,7 +5,7 @@ var createStub = require("../lib/sinon/stub");
var createStubInstance = require("../lib/sinon/stub").createStubInstance;
var createSpy = require("../lib/sinon/spy");
var match = require("@sinonjs/samsam").createMatcher;
var deprecated = require("../lib/sinon/util/core/deprecated");
var deprecated = require("@sinonjs/commons").deprecated;
var assert = referee.assert;
var refute = referee.refute;
var fail = referee.fail;
Expand Down

0 comments on commit b8679fa

Please sign in to comment.