Update checked-in dependencies
This commit is contained in:
parent
3ba511a8f1
commit
1c4c64199f
175 changed files with 13227 additions and 15136 deletions
2
node_modules/@sinonjs/commons/lib/every.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/every.js
generated
vendored
|
|
@ -12,7 +12,7 @@ module.exports = function every(obj, fn) {
|
|||
var pass = true;
|
||||
|
||||
try {
|
||||
/* eslint-disable-next-line local-rules/no-prototype-methods */
|
||||
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
|
||||
obj.forEach(function() {
|
||||
if (!fn.apply(this, arguments)) {
|
||||
// Throwing an error is the only way to break `forEach`
|
||||
|
|
|
|||
1
node_modules/@sinonjs/commons/lib/prototypes/README.md
generated
vendored
1
node_modules/@sinonjs/commons/lib/prototypes/README.md
generated
vendored
|
|
@ -22,7 +22,6 @@ console.log(answer);
|
|||
// => 2
|
||||
```
|
||||
|
||||
|
||||
## With cached references
|
||||
|
||||
```js
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js
generated
vendored
|
|
@ -3,7 +3,7 @@
|
|||
var call = Function.call;
|
||||
|
||||
module.exports = function copyPrototypeMethods(prototype) {
|
||||
/* eslint-disable local-rules/no-prototype-methods */
|
||||
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
|
||||
return Object.getOwnPropertyNames(prototype).reduce(function(result, name) {
|
||||
// ignore size because it throws from Map
|
||||
if (
|
||||
|
|
|
|||
2
node_modules/@sinonjs/commons/lib/value-to-string.js
generated
vendored
2
node_modules/@sinonjs/commons/lib/value-to-string.js
generated
vendored
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
function valueToString(value) {
|
||||
if (value && value.toString) {
|
||||
/* eslint-disable-next-line local-rules/no-prototype-methods */
|
||||
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
|
||||
return value.toString();
|
||||
}
|
||||
return String(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue