committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
2
node_modules/underscore/LICENSE
generated
vendored
2
node_modules/underscore/LICENSE
generated
vendored
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
Copyright (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
2
node_modules/underscore/amd/_collectNonEnumProps.js
generated
vendored
2
node_modules/underscore/amd/_collectNonEnumProps.js
generated
vendored
@ -23,7 +23,7 @@ define(['./_setup', './isFunction', './_has'], function (_setup, isFunction, _ha
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = _setup.nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction(constructor) && constructor.prototype || _setup.ObjProto;
|
||||
var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
|
6
node_modules/underscore/amd/_setup.js
generated
vendored
6
node_modules/underscore/amd/_setup.js
generated
vendored
@ -1,13 +1,13 @@
|
||||
define(['exports'], function (exports) {
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
|
2
node_modules/underscore/amd/isObject.js
generated
vendored
2
node_modules/underscore/amd/isObject.js
generated
vendored
@ -3,7 +3,7 @@ define(function () {
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
return isObject;
|
||||
|
4
node_modules/underscore/amd/max.js
generated
vendored
4
node_modules/underscore/amd/max.js
generated
vendored
@ -4,7 +4,7 @@ define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = _isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -16,7 +16,7 @@ define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike
|
||||
iteratee = _cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
4
node_modules/underscore/amd/min.js
generated
vendored
4
node_modules/underscore/amd/min.js
generated
vendored
@ -4,7 +4,7 @@ define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = _isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -16,7 +16,7 @@ define(['./_isArrayLike', './values', './_cb', './each'], function (_isArrayLike
|
||||
iteratee = _cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
2
node_modules/underscore/amd/unzip.js
generated
vendored
2
node_modules/underscore/amd/unzip.js
generated
vendored
@ -3,7 +3,7 @@ define(['./max', './_getLength', './pluck'], function (max, _getLength, pluck) {
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, _getLength).length || 0;
|
||||
var length = (array && max(array, _getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
2
node_modules/underscore/cjs/_collectNonEnumProps.js
generated
vendored
2
node_modules/underscore/cjs/_collectNonEnumProps.js
generated
vendored
@ -25,7 +25,7 @@ function collectNonEnumProps(obj, keys) {
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = _setup.nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction(constructor) && constructor.prototype || _setup.ObjProto;
|
||||
var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
|
6
node_modules/underscore/cjs/_setup.js
generated
vendored
6
node_modules/underscore/cjs/_setup.js
generated
vendored
@ -1,13 +1,13 @@
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
|
2
node_modules/underscore/cjs/isObject.js
generated
vendored
2
node_modules/underscore/cjs/isObject.js
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
module.exports = isObject;
|
||||
|
4
node_modules/underscore/cjs/max.js
generated
vendored
4
node_modules/underscore/cjs/max.js
generated
vendored
@ -7,7 +7,7 @@ var each = require('./each.js');
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = _isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -19,7 +19,7 @@ function max(obj, iteratee, context) {
|
||||
iteratee = _cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
4
node_modules/underscore/cjs/min.js
generated
vendored
4
node_modules/underscore/cjs/min.js
generated
vendored
@ -7,7 +7,7 @@ var each = require('./each.js');
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = _isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -19,7 +19,7 @@ function min(obj, iteratee, context) {
|
||||
iteratee = _cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
2
node_modules/underscore/cjs/unzip.js
generated
vendored
2
node_modules/underscore/cjs/unzip.js
generated
vendored
@ -5,7 +5,7 @@ var pluck = require('./pluck.js');
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, _getLength).length || 0;
|
||||
var length = (array && max(array, _getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
11
node_modules/underscore/modules/.eslintrc
generated
vendored
11
node_modules/underscore/modules/.eslintrc
generated
vendored
@ -8,5 +8,14 @@
|
||||
],
|
||||
"extends": [
|
||||
"plugin:import/errors"
|
||||
]
|
||||
],
|
||||
"rules": {
|
||||
// ExtendScript wrongly gives equal precedence to && and ||. #2949
|
||||
"no-mixed-operators": [
|
||||
"error",
|
||||
{
|
||||
"groups": [["&&", "||"]]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
2
node_modules/underscore/modules/_collectNonEnumProps.js
generated
vendored
2
node_modules/underscore/modules/_collectNonEnumProps.js
generated
vendored
@ -25,7 +25,7 @@ export default function collectNonEnumProps(obj, keys) {
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction(constructor) && constructor.prototype || ObjProto;
|
||||
var proto = (isFunction(constructor) && constructor.prototype) || ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
|
6
node_modules/underscore/modules/_setup.js
generated
vendored
6
node_modules/underscore/modules/_setup.js
generated
vendored
@ -1,11 +1,11 @@
|
||||
// Current version.
|
||||
export var VERSION = '1.13.2';
|
||||
export var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
export var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
export var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
|
4
node_modules/underscore/modules/index.js
generated
vendored
4
node_modules/underscore/modules/index.js
generated
vendored
@ -1,9 +1,9 @@
|
||||
// Named Exports
|
||||
// =============
|
||||
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
// Baseline setup.
|
||||
|
2
node_modules/underscore/modules/isObject.js
generated
vendored
2
node_modules/underscore/modules/isObject.js
generated
vendored
@ -1,5 +1,5 @@
|
||||
// Is a given variable an object?
|
||||
export default function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
4
node_modules/underscore/modules/max.js
generated
vendored
4
node_modules/underscore/modules/max.js
generated
vendored
@ -7,7 +7,7 @@ import each from './each.js';
|
||||
export default function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -19,7 +19,7 @@ export default function max(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
4
node_modules/underscore/modules/min.js
generated
vendored
4
node_modules/underscore/modules/min.js
generated
vendored
@ -7,7 +7,7 @@ import each from './each.js';
|
||||
export default function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -19,7 +19,7 @@ export default function min(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
|
4
node_modules/underscore/modules/package.json
generated
vendored
4
node_modules/underscore/modules/package.json
generated
vendored
@ -1,3 +1 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
{"type":"module","version":"1.13.4"}
|
||||
|
2
node_modules/underscore/modules/unzip.js
generated
vendored
2
node_modules/underscore/modules/unzip.js
generated
vendored
@ -5,7 +5,7 @@ import pluck from './pluck.js';
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
export default function unzip(array) {
|
||||
var length = array && max(array, getLength).length || 0;
|
||||
var length = (array && max(array, getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
10
node_modules/underscore/package.json
generated
vendored
10
node_modules/underscore/package.json
generated
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "underscore",
|
||||
"description": "JavaScript's functional programming helper library.",
|
||||
"version": "1.13.2",
|
||||
"version": "1.13.4",
|
||||
"author": "Jeremy Ashkenas <jeremy@documentcloud.org>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://underscorejs.org",
|
||||
@ -63,10 +63,13 @@
|
||||
"karma-sauce-launcher": "^1.2.0",
|
||||
"nyc": "^2.1.3",
|
||||
"pretty-bytes-cli": "^1.0.0",
|
||||
"qunit": "^2.10.0",
|
||||
"qunit": "2.10.1",
|
||||
"rollup": "^2.40.0",
|
||||
"terser": "^4.6.13"
|
||||
},
|
||||
"overrides": {
|
||||
"colors@>1.4.0": "1.4.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "npm run lint && npm run test-node",
|
||||
"coverage": "nyc npm run test-node && nyc report",
|
||||
@ -79,8 +82,9 @@
|
||||
"prepare-tests": "npm run bundle && npm run bundle-treeshake",
|
||||
"minify-umd": "terser underscore-umd.js -c \"evaluate=false\" --comments \"/ .*/\" -m",
|
||||
"minify-esm": "terser underscore-esm.js -c \"evaluate=false\" --comments \"/ .*/\" -m",
|
||||
"module-package-json": "node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > modules/package.json",
|
||||
"build-umd": "npm run minify-umd -- --source-map content=underscore-umd.js.map --source-map-url \" \" -o underscore-umd-min.js",
|
||||
"build-esm": "npm run minify-esm -- --source-map content=underscore-esm.js.map --source-map-url \" \" -o underscore-esm-min.js",
|
||||
"build-esm": "npm run module-package-json && npm run minify-esm -- --source-map content=underscore-esm.js.map --source-map-url \" \" -o underscore-esm-min.js",
|
||||
"alias-bundle": "cpy --rename=underscore.js underscore-umd.js . && cpy --rename=underscore-min.js underscore-umd-min.js . && cpy --rename=underscore-min.js.map underscore-umd-min.js.map .",
|
||||
"build": "npm run bundle && npm run build-umd && npm run build-esm && npm run alias-bundle",
|
||||
"doc": "docco underscore-esm.js && docco modules/*.js -c docco.css -t docs/linked-esm.jst",
|
||||
|
6
node_modules/underscore/underscore-esm-min.js
generated
vendored
6
node_modules/underscore/underscore-esm-min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/underscore/underscore-esm-min.js.map
generated
vendored
2
node_modules/underscore/underscore-esm-min.js.map
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/underscore/underscore-esm.js
generated
vendored
24
node_modules/underscore/underscore-esm.js
generated
vendored
@ -1,16 +1,16 @@
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
@ -78,7 +78,7 @@ function restArguments(func, startIndex) {
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
// Is a given value equal to null?
|
||||
@ -255,7 +255,7 @@ function collectNonEnumProps(obj, keys) {
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction$1(constructor) && constructor.prototype || ObjProto;
|
||||
var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
@ -1458,7 +1458,7 @@ function where(obj, attrs) {
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1470,7 +1470,7 @@ function max(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1483,7 +1483,7 @@ function max(obj, iteratee, context) {
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1495,7 +1495,7 @@ function min(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1763,7 +1763,7 @@ function intersection(array) {
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, getLength).length || 0;
|
||||
var length = (array && max(array, getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
2
node_modules/underscore/underscore-esm.js.map
generated
vendored
2
node_modules/underscore/underscore-esm.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/underscore/underscore-min.js
generated
vendored
6
node_modules/underscore/underscore-min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/underscore/underscore-min.js.map
generated
vendored
2
node_modules/underscore/underscore-min.js.map
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/underscore/underscore-node-f.cjs
generated
vendored
24
node_modules/underscore/underscore-node-f.cjs
generated
vendored
@ -1,18 +1,18 @@
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
@ -80,7 +80,7 @@ function restArguments(func, startIndex) {
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
// Is a given value equal to null?
|
||||
@ -257,7 +257,7 @@ function collectNonEnumProps(obj, keys) {
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction$1(constructor) && constructor.prototype || ObjProto;
|
||||
var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
@ -1460,7 +1460,7 @@ function where(obj, attrs) {
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1472,7 +1472,7 @@ function max(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1485,7 +1485,7 @@ function max(obj, iteratee, context) {
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1497,7 +1497,7 @@ function min(obj, iteratee, context) {
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1765,7 +1765,7 @@ function intersection(array) {
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, getLength).length || 0;
|
||||
var length = (array && max(array, getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
2
node_modules/underscore/underscore-node-f.cjs.map
generated
vendored
2
node_modules/underscore/underscore-node-f.cjs.map
generated
vendored
File diff suppressed because one or more lines are too long
4
node_modules/underscore/underscore-node.cjs
generated
vendored
4
node_modules/underscore/underscore-node.cjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
var underscoreNodeF = require('./underscore-node-f.cjs');
|
||||
|
4
node_modules/underscore/underscore-node.mjs
generated
vendored
4
node_modules/underscore/underscore-node.mjs
generated
vendored
@ -1,6 +1,6 @@
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
export { VERSION, after, every as all, allKeys, some as any, extendOwn as assign, before, bind, bindAll, chain, chunk, clone, map as collect, compact, compose, constant, contains, countBy, create, debounce, _ as default, defaults, defer, delay, find as detect, difference, rest as drop, each, _escape as escape, every, extend, extendOwn, filter, find, findIndex, findKey, findLastIndex, findWhere, first, flatten, reduce as foldl, reduceRight as foldr, each as forEach, functions, get, groupBy, has, first as head, identity, contains as include, contains as includes, indexBy, indexOf, initial, reduce as inject, intersection, invert, invoke, isArguments, isArray, isArrayBuffer, isBoolean, isDataView, isDate, isElement, isEmpty, isEqual, isError, isFinite, isFunction, isMap, isMatch, isNaN, isNull, isNumber, isObject, isRegExp, isSet, isString, isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet, iteratee, keys, last, lastIndexOf, map, mapObject, matcher, matcher as matches, max, memoize, functions as methods, min, mixin, negate, noop, now, object, omit, once, pairs, partial, partition, pick, pluck, property, propertyOf, random, range, reduce, reduceRight, reject, rest, restArguments, result, sample, filter as select, shuffle, size, some, sortBy, sortedIndex, rest as tail, first as take, tap, template, templateSettings, throttle, times, toArray, toPath, unzip as transpose, _unescape as unescape, union, uniq, uniq as unique, uniqueId, unzip, values, where, without, wrap, zip } from './underscore-node-f.cjs';
|
||||
|
6
node_modules/underscore/underscore-umd-min.js
generated
vendored
6
node_modules/underscore/underscore-umd-min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/underscore/underscore-umd-min.js.map
generated
vendored
2
node_modules/underscore/underscore-umd-min.js.map
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/underscore/underscore-umd.js
generated
vendored
24
node_modules/underscore/underscore-umd.js
generated
vendored
@ -7,19 +7,19 @@
|
||||
exports.noConflict = function () { global._ = current; return exports; };
|
||||
}()));
|
||||
}(this, (function () {
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
@ -87,7 +87,7 @@
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
// Is a given value equal to null?
|
||||
@ -264,7 +264,7 @@
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction$1(constructor) && constructor.prototype || ObjProto;
|
||||
var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
@ -1467,7 +1467,7 @@
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1479,7 +1479,7 @@
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1492,7 +1492,7 @@
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1504,7 +1504,7 @@
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1772,7 +1772,7 @@
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, getLength).length || 0;
|
||||
var length = (array && max(array, getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
2
node_modules/underscore/underscore-umd.js.map
generated
vendored
2
node_modules/underscore/underscore-umd.js.map
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/underscore/underscore.js
generated
vendored
24
node_modules/underscore/underscore.js
generated
vendored
@ -7,19 +7,19 @@
|
||||
exports.noConflict = function () { global._ = current; return exports; };
|
||||
}()));
|
||||
}(this, (function () {
|
||||
// Underscore.js 1.13.2
|
||||
// Underscore.js 1.13.4
|
||||
// https://underscorejs.org
|
||||
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
|
||||
// Underscore may be freely distributed under the MIT license.
|
||||
|
||||
// Current version.
|
||||
var VERSION = '1.13.2';
|
||||
var VERSION = '1.13.4';
|
||||
|
||||
// Establish the root object, `window` (`self`) in the browser, `global`
|
||||
// on the server, or `this` in some virtual machines. We use `self`
|
||||
// instead of `window` for `WebWorker` support.
|
||||
var root = typeof self == 'object' && self.self === self && self ||
|
||||
typeof global == 'object' && global.global === global && global ||
|
||||
var root = (typeof self == 'object' && self.self === self && self) ||
|
||||
(typeof global == 'object' && global.global === global && global) ||
|
||||
Function('return this')() ||
|
||||
{};
|
||||
|
||||
@ -87,7 +87,7 @@
|
||||
// Is a given variable an object?
|
||||
function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
// Is a given value equal to null?
|
||||
@ -264,7 +264,7 @@
|
||||
keys = emulatedSet(keys);
|
||||
var nonEnumIdx = nonEnumerableProps.length;
|
||||
var constructor = obj.constructor;
|
||||
var proto = isFunction$1(constructor) && constructor.prototype || ObjProto;
|
||||
var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto;
|
||||
|
||||
// Constructor is a special case.
|
||||
var prop = 'constructor';
|
||||
@ -1467,7 +1467,7 @@
|
||||
function max(obj, iteratee, context) {
|
||||
var result = -Infinity, lastComputed = -Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1479,7 +1479,7 @@
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
|
||||
if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1492,7 +1492,7 @@
|
||||
function min(obj, iteratee, context) {
|
||||
var result = Infinity, lastComputed = Infinity,
|
||||
value, computed;
|
||||
if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
|
||||
if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) {
|
||||
obj = isArrayLike(obj) ? obj : values(obj);
|
||||
for (var i = 0, length = obj.length; i < length; i++) {
|
||||
value = obj[i];
|
||||
@ -1504,7 +1504,7 @@
|
||||
iteratee = cb(iteratee, context);
|
||||
each(obj, function(v, index, list) {
|
||||
computed = iteratee(v, index, list);
|
||||
if (computed < lastComputed || computed === Infinity && result === Infinity) {
|
||||
if (computed < lastComputed || (computed === Infinity && result === Infinity)) {
|
||||
result = v;
|
||||
lastComputed = computed;
|
||||
}
|
||||
@ -1772,7 +1772,7 @@
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = array && max(array, getLength).length || 0;
|
||||
var length = (array && max(array, getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
|
Reference in New Issue
Block a user