Bump the npm group with 3 updates (#2303)
* --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> * Update checked-in dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebd27c09f6
commit
b1bd8da5e7
212 changed files with 11182 additions and 16383 deletions
2
node_modules/@sinonjs/commons/lib/called-in-order.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/called-in-order.js
generated
vendored
|
|
@ -33,7 +33,6 @@ function checkAdjacentCalls(callMap, spy, index, spies) {
|
|||
|
||||
/**
|
||||
* A Sinon proxy object (fake, spy, stub)
|
||||
*
|
||||
* @typedef {object} SinonProxy
|
||||
* @property {Function} calledBefore - A method that determines if this proxy was called before another one
|
||||
* @property {string} id - Some id
|
||||
|
|
@ -42,7 +41,6 @@ function checkAdjacentCalls(callMap, spy, index, spies) {
|
|||
|
||||
/**
|
||||
* Returns true when the spies have been called in the order they were supplied in
|
||||
*
|
||||
* @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments
|
||||
* @returns {boolean} true when spies are called in order, false otherwise
|
||||
*/
|
||||
|
|
|
|||
18
node_modules/@sinonjs/commons/lib/class-name.js
generated
vendored
18
node_modules/@sinonjs/commons/lib/class-name.js
generated
vendored
|
|
@ -1,27 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
var functionName = require("./function-name");
|
||||
|
||||
/**
|
||||
* Returns a display name for a value from a constructor
|
||||
*
|
||||
* @param {object} value A value to examine
|
||||
* @returns {(string|null)} A string or null
|
||||
*/
|
||||
function className(value) {
|
||||
return (
|
||||
(value.constructor && value.constructor.name) ||
|
||||
// The next branch is for IE11 support only:
|
||||
// Because the name property is not set on the prototype
|
||||
// of the Function object, we finally try to grab the
|
||||
// name from its definition. This will never be reached
|
||||
// in node, so we are not able to test this properly.
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name
|
||||
(typeof value.constructor === "function" &&
|
||||
/* istanbul ignore next */
|
||||
functionName(value.constructor)) ||
|
||||
null
|
||||
);
|
||||
const name = value.constructor && value.constructor.name;
|
||||
return name || null;
|
||||
}
|
||||
|
||||
module.exports = className;
|
||||
|
|
|
|||
3
node_modules/@sinonjs/commons/lib/deprecated.js
generated
vendored
3
node_modules/@sinonjs/commons/lib/deprecated.js
generated
vendored
|
|
@ -4,7 +4,6 @@
|
|||
/**
|
||||
* Returns a function that will invoke the supplied function and print a
|
||||
* deprecation warning to the console each time it is called.
|
||||
*
|
||||
* @param {Function} func
|
||||
* @param {string} msg
|
||||
* @returns {Function}
|
||||
|
|
@ -23,7 +22,6 @@ exports.wrap = function (func, msg) {
|
|||
/**
|
||||
* Returns a string which can be supplied to `wrap()` to notify the user that a
|
||||
* particular part of the sinon API has been deprecated.
|
||||
*
|
||||
* @param {string} packageName
|
||||
* @param {string} funcName
|
||||
* @returns {string}
|
||||
|
|
@ -34,7 +32,6 @@ exports.defaultMsg = function (packageName, funcName) {
|
|||
|
||||
/**
|
||||
* Prints a warning on the console, when it exists
|
||||
*
|
||||
* @param {string} msg
|
||||
* @returns {undefined}
|
||||
*/
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/every.js
generated
vendored
1
node_modules/@sinonjs/commons/lib/every.js
generated
vendored
|
|
@ -3,7 +3,6 @@
|
|||
/**
|
||||
* Returns true when fn returns true for all members of obj.
|
||||
* This is an every implementation that works for all iterables
|
||||
*
|
||||
* @param {object} obj
|
||||
* @param {Function} fn
|
||||
* @returns {boolean}
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/function-name.js
generated
vendored
1
node_modules/@sinonjs/commons/lib/function-name.js
generated
vendored
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/**
|
||||
* Returns a display name for a function
|
||||
*
|
||||
* @param {Function} func
|
||||
* @returns {string}
|
||||
*/
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/global.js
generated
vendored
1
node_modules/@sinonjs/commons/lib/global.js
generated
vendored
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/**
|
||||
* A reference to the global object
|
||||
*
|
||||
* @type {object} globalObject
|
||||
*/
|
||||
var globalObject;
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/lib/order-by-first-call.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/order-by-first-call.js
generated
vendored
|
|
@ -18,14 +18,12 @@ function comparator(a, b) {
|
|||
|
||||
/**
|
||||
* A Sinon proxy object (fake, spy, stub)
|
||||
*
|
||||
* @typedef {object} SinonProxy
|
||||
* @property {Function} getCall - A method that can return the first call
|
||||
*/
|
||||
|
||||
/**
|
||||
* Sorts an array of SinonProxy instances (fake, spy, stub) by their first call
|
||||
*
|
||||
* @param {SinonProxy[] | SinonProxy} spies
|
||||
* @returns {SinonProxy[]}
|
||||
*/
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js
generated
vendored
|
|
@ -3,11 +3,9 @@
|
|||
/**
|
||||
* Is true when the environment causes an error to be thrown for accessing the
|
||||
* __proto__ property.
|
||||
*
|
||||
* This is necessary in order to support `node --disable-proto=throw`.
|
||||
*
|
||||
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto
|
||||
*
|
||||
* @type {boolean}
|
||||
*/
|
||||
let throwsOnProto;
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/type-of.js
generated
vendored
1
node_modules/@sinonjs/commons/lib/type-of.js
generated
vendored
|
|
@ -4,7 +4,6 @@ var type = require("type-detect");
|
|||
|
||||
/**
|
||||
* Returns the lower-case result of running type from type-detect on the value
|
||||
*
|
||||
* @param {*} value
|
||||
* @returns {string}
|
||||
*/
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/value-to-string.js
generated
vendored
1
node_modules/@sinonjs/commons/lib/value-to-string.js
generated
vendored
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/**
|
||||
* Returns a string representation of the value
|
||||
*
|
||||
* @param {*} value
|
||||
* @returns {string}
|
||||
*/
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/package.json
generated
vendored
2
node_modules/@sinonjs/commons/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@sinonjs/commons",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"description": "Simple functions shared among the sinon end user libraries",
|
||||
"main": "lib/index.js",
|
||||
"types": "./types/index.d.ts",
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/types/called-in-order.d.ts
generated
vendored
2
node_modules/@sinonjs/commons/types/called-in-order.d.ts
generated
vendored
|
|
@ -1,7 +1,6 @@
|
|||
export = calledInOrder;
|
||||
/**
|
||||
* A Sinon proxy object (fake, spy, stub)
|
||||
*
|
||||
* @typedef {object} SinonProxy
|
||||
* @property {Function} calledBefore - A method that determines if this proxy was called before another one
|
||||
* @property {string} id - Some id
|
||||
|
|
@ -9,7 +8,6 @@ export = calledInOrder;
|
|||
*/
|
||||
/**
|
||||
* Returns true when the spies have been called in the order they were supplied in
|
||||
*
|
||||
* @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments
|
||||
* @returns {boolean} true when spies are called in order, false otherwise
|
||||
*/
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/types/class-name.d.ts
generated
vendored
1
node_modules/@sinonjs/commons/types/class-name.d.ts
generated
vendored
|
|
@ -1,7 +1,6 @@
|
|||
export = className;
|
||||
/**
|
||||
* Returns a display name for a value from a constructor
|
||||
*
|
||||
* @param {object} value A value to examine
|
||||
* @returns {(string|null)} A string or null
|
||||
*/
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/types/global.d.ts
generated
vendored
1
node_modules/@sinonjs/commons/types/global.d.ts
generated
vendored
|
|
@ -1,7 +1,6 @@
|
|||
export = globalObject;
|
||||
/**
|
||||
* A reference to the global object
|
||||
*
|
||||
* @type {object} globalObject
|
||||
*/
|
||||
declare var globalObject: object;
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/types/order-by-first-call.d.ts
generated
vendored
2
node_modules/@sinonjs/commons/types/order-by-first-call.d.ts
generated
vendored
|
|
@ -1,13 +1,11 @@
|
|||
export = orderByFirstCall;
|
||||
/**
|
||||
* A Sinon proxy object (fake, spy, stub)
|
||||
*
|
||||
* @typedef {object} SinonProxy
|
||||
* @property {Function} getCall - A method that can return the first call
|
||||
*/
|
||||
/**
|
||||
* Sorts an array of SinonProxy instances (fake, spy, stub) by their first call
|
||||
*
|
||||
* @param {SinonProxy[] | SinonProxy} spies
|
||||
* @returns {SinonProxy[]}
|
||||
*/
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/types/prototypes/throws-on-proto.d.ts
generated
vendored
2
node_modules/@sinonjs/commons/types/prototypes/throws-on-proto.d.ts
generated
vendored
|
|
@ -2,11 +2,9 @@ export = throwsOnProto;
|
|||
/**
|
||||
* Is true when the environment causes an error to be thrown for accessing the
|
||||
* __proto__ property.
|
||||
*
|
||||
* This is necessary in order to support `node --disable-proto=throw`.
|
||||
*
|
||||
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto
|
||||
*
|
||||
* @type {boolean}
|
||||
*/
|
||||
declare let throwsOnProto: boolean;
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/types/value-to-string.d.ts
generated
vendored
1
node_modules/@sinonjs/commons/types/value-to-string.d.ts
generated
vendored
|
|
@ -1,7 +1,6 @@
|
|||
export = valueToString;
|
||||
/**
|
||||
* Returns a string representation of the value
|
||||
*
|
||||
* @param {*} value
|
||||
* @returns {string}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue