--- /srv/reproducible-results/rbuild-debian/r-b-build.Uz6yaQxL/b1/node-rjsf_5.12.1+~5.0.1-2_arm64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.Uz6yaQxL/b2/node-rjsf_5.12.1+~5.0.1-2_arm64.changes ├── Files │ @@ -1,2 +1,2 @@ │ │ - d12f9be35ed9d6c780f65113b0caa609 350696 javascript optional node-rjsf_5.12.1+~5.0.1-2_all.deb │ + 78abda3121f5f136e3270c3146a9fbd8 350680 javascript optional node-rjsf_5.12.1+~5.0.1-2_all.deb ├── node-rjsf_5.12.1+~5.0.1-2_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2023-12-18 07:52:01.000000 debian-binary │ │ --rw-r--r-- 0 0 0 7612 2023-12-18 07:52:01.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 342892 2023-12-18 07:52:01.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 7608 2023-12-18 07:52:01.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 342880 2023-12-18 07:52:01.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -375,39 +375,39 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 54805 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/utils/src/types.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 930 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/utils/src/unwrapErrorHandler.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1063 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/utils/src/utcToLocal.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1468 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/utils/src/validationDataMerge.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1968 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/utils/src/withIdRefPrefix.ts │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1366916 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/index.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1366591 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/index.js │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1490 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/createAjvInstance.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 644 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/customizeValidator.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 299 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/index.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 598 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/types.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3716 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/dist/lib/validator.d.ts │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1490 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/createAjvInstance.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 644 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/customizeValidator.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 299 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/index.d.ts │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1366812 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/index.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1366487 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/index.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 598 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/types.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3716 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/lib/validator.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2408 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/package.json │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1217 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/pkgjs-lock.json │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2476 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/createAjvInstance.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 748 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/customizeValidator.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 208 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/index.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 581 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/types.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6909 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv6/src/validator.ts │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1473673 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/index.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1473998 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/index.js │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1344 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/compileSchemaValidators.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1113 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/compileSchemaValidatorsCode.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2024 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/createAjvInstance.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1176 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/createPrecompiledValidator.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 921 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/customizeValidator.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 340 2023-12-18 07:52:01.000000 ./usr/share/nodejs/@rjsf/validator-ajv8/dist/lib/index.d.ts │ │ │ ├── ./usr/share/nodejs/@rjsf/validator-ajv6/dist/index.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -33859,204 +33859,197 @@ │ │ │ │ │ │ │ │ │ │ var errors = {}; │ │ │ │ │ │ │ │ │ │ var codegen = {}; │ │ │ │ │ │ │ │ │ │ var code$1 = {}; │ │ │ │ │ │ │ │ │ │ -var hasRequiredCode$1; │ │ │ │ │ - │ │ │ │ │ -function requireCode$1() { │ │ │ │ │ - if (hasRequiredCode$1) return code$1; │ │ │ │ │ - hasRequiredCode$1 = 1; │ │ │ │ │ - (function(exports) { │ │ │ │ │ - Object.defineProperty(exports, "__esModule", { │ │ │ │ │ - value: true │ │ │ │ │ - }); │ │ │ │ │ - exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ - class _CodeOrName {} │ │ │ │ │ - exports._CodeOrName = _CodeOrName; │ │ │ │ │ - exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ - class Name extends _CodeOrName { │ │ │ │ │ - constructor(s) { │ │ │ │ │ - super(); │ │ │ │ │ - if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ - throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ - this.str = s; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ +(function(exports) { │ │ │ │ │ + Object.defineProperty(exports, "__esModule", { │ │ │ │ │ + value: true │ │ │ │ │ + }); │ │ │ │ │ + exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ + class _CodeOrName {} │ │ │ │ │ + exports._CodeOrName = _CodeOrName; │ │ │ │ │ + exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ + class Name extends _CodeOrName { │ │ │ │ │ + constructor(s) { │ │ │ │ │ + super(); │ │ │ │ │ + if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ + throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ + this.str = s; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + return false; │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + return { │ │ │ │ │ + [this.str]: 1 │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + exports.Name = Name; │ │ │ │ │ + class _Code extends _CodeOrName { │ │ │ │ │ + constructor(code) { │ │ │ │ │ + super(); │ │ │ │ │ + this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + if (this._items.length > 1) │ │ │ │ │ return false; │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - return { │ │ │ │ │ - [this.str]: 1 │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ + const item = this._items[0]; │ │ │ │ │ + return item === "" || item === '""'; │ │ │ │ │ } │ │ │ │ │ - exports.Name = Name; │ │ │ │ │ - class _Code extends _CodeOrName { │ │ │ │ │ - constructor(code) { │ │ │ │ │ - super(); │ │ │ │ │ - this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ - if (this._items.length > 1) │ │ │ │ │ - return false; │ │ │ │ │ - const item = this._items[0]; │ │ │ │ │ - return item === "" || item === '""'; │ │ │ │ │ - } │ │ │ │ │ - get str() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ - if (c instanceof Name) │ │ │ │ │ - names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ - return names; │ │ │ │ │ - }, {}))); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - exports._Code = _Code; │ │ │ │ │ - exports.nil = new _Code(""); │ │ │ │ │ - │ │ │ │ │ - function _(strs, ...args) { │ │ │ │ │ - const code = [strs[0]]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - addCodeArg(code, args[i]); │ │ │ │ │ - code.push(strs[++i]); │ │ │ │ │ - } │ │ │ │ │ - return new _Code(code); │ │ │ │ │ - } │ │ │ │ │ - exports._ = _; │ │ │ │ │ - const plus = new _Code("+"); │ │ │ │ │ - │ │ │ │ │ - function str(strs, ...args) { │ │ │ │ │ - const expr = [safeStringify(strs[0])]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - expr.push(plus); │ │ │ │ │ - addCodeArg(expr, args[i]); │ │ │ │ │ - expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ - } │ │ │ │ │ - optimize(expr); │ │ │ │ │ - return new _Code(expr); │ │ │ │ │ - } │ │ │ │ │ - exports.str = str; │ │ │ │ │ - │ │ │ │ │ - function addCodeArg(code, arg) { │ │ │ │ │ - if (arg instanceof _Code) │ │ │ │ │ - code.push(...arg._items); │ │ │ │ │ - else if (arg instanceof Name) │ │ │ │ │ - code.push(arg); │ │ │ │ │ - else │ │ │ │ │ - code.push(interpolate(arg)); │ │ │ │ │ - } │ │ │ │ │ - exports.addCodeArg = addCodeArg; │ │ │ │ │ - │ │ │ │ │ - function optimize(expr) { │ │ │ │ │ - let i = 1; │ │ │ │ │ - while (i < expr.length - 1) { │ │ │ │ │ - if (expr[i] === plus) { │ │ │ │ │ - const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ - if (res !== undefined) { │ │ │ │ │ - expr.splice(i - 1, 3, res); │ │ │ │ │ - continue; │ │ │ │ │ - } │ │ │ │ │ - expr[i++] = "+"; │ │ │ │ │ + get str() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ + if (c instanceof Name) │ │ │ │ │ + names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ + return names; │ │ │ │ │ + }, {}))); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + exports._Code = _Code; │ │ │ │ │ + exports.nil = new _Code(""); │ │ │ │ │ + │ │ │ │ │ + function _(strs, ...args) { │ │ │ │ │ + const code = [strs[0]]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + addCodeArg(code, args[i]); │ │ │ │ │ + code.push(strs[++i]); │ │ │ │ │ + } │ │ │ │ │ + return new _Code(code); │ │ │ │ │ + } │ │ │ │ │ + exports._ = _; │ │ │ │ │ + const plus = new _Code("+"); │ │ │ │ │ + │ │ │ │ │ + function str(strs, ...args) { │ │ │ │ │ + const expr = [safeStringify(strs[0])]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + expr.push(plus); │ │ │ │ │ + addCodeArg(expr, args[i]); │ │ │ │ │ + expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ + } │ │ │ │ │ + optimize(expr); │ │ │ │ │ + return new _Code(expr); │ │ │ │ │ + } │ │ │ │ │ + exports.str = str; │ │ │ │ │ + │ │ │ │ │ + function addCodeArg(code, arg) { │ │ │ │ │ + if (arg instanceof _Code) │ │ │ │ │ + code.push(...arg._items); │ │ │ │ │ + else if (arg instanceof Name) │ │ │ │ │ + code.push(arg); │ │ │ │ │ + else │ │ │ │ │ + code.push(interpolate(arg)); │ │ │ │ │ + } │ │ │ │ │ + exports.addCodeArg = addCodeArg; │ │ │ │ │ + │ │ │ │ │ + function optimize(expr) { │ │ │ │ │ + let i = 1; │ │ │ │ │ + while (i < expr.length - 1) { │ │ │ │ │ + if (expr[i] === plus) { │ │ │ │ │ + const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ + if (res !== undefined) { │ │ │ │ │ + expr.splice(i - 1, 3, res); │ │ │ │ │ + continue; │ │ │ │ │ } │ │ │ │ │ - i++; │ │ │ │ │ + expr[i++] = "+"; │ │ │ │ │ } │ │ │ │ │ + i++; │ │ │ │ │ } │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function mergeExprItems(a, b) { │ │ │ │ │ - if (b === '""') │ │ │ │ │ - return a; │ │ │ │ │ - if (a === '""') │ │ │ │ │ - return b; │ │ │ │ │ - if (typeof a == "string") { │ │ │ │ │ - if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ - return; │ │ │ │ │ - if (typeof b != "string") │ │ │ │ │ - return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ - if (b[0] === '"') │ │ │ │ │ - return a.slice(0, -1) + b.slice(1); │ │ │ │ │ + function mergeExprItems(a, b) { │ │ │ │ │ + if (b === '""') │ │ │ │ │ + return a; │ │ │ │ │ + if (a === '""') │ │ │ │ │ + return b; │ │ │ │ │ + if (typeof a == "string") { │ │ │ │ │ + if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ return; │ │ │ │ │ - } │ │ │ │ │ - if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ - return `"${a}${b.slice(1)}`; │ │ │ │ │ + if (typeof b != "string") │ │ │ │ │ + return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ + if (b[0] === '"') │ │ │ │ │ + return a.slice(0, -1) + b.slice(1); │ │ │ │ │ return; │ │ │ │ │ } │ │ │ │ │ + if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ + return `"${a}${b.slice(1)}`; │ │ │ │ │ + return; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function strConcat(c1, c2) { │ │ │ │ │ - return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ - } │ │ │ │ │ - exports.strConcat = strConcat; │ │ │ │ │ - // TODO do not allow arrays here │ │ │ │ │ - function interpolate(x) { │ │ │ │ │ - return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ - x : │ │ │ │ │ - safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ - } │ │ │ │ │ + function strConcat(c1, c2) { │ │ │ │ │ + return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ + } │ │ │ │ │ + exports.strConcat = strConcat; │ │ │ │ │ + // TODO do not allow arrays here │ │ │ │ │ + function interpolate(x) { │ │ │ │ │ + return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ + x : │ │ │ │ │ + safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function stringify(x) { │ │ │ │ │ - return new _Code(safeStringify(x)); │ │ │ │ │ - } │ │ │ │ │ - exports.stringify = stringify; │ │ │ │ │ + function stringify(x) { │ │ │ │ │ + return new _Code(safeStringify(x)); │ │ │ │ │ + } │ │ │ │ │ + exports.stringify = stringify; │ │ │ │ │ │ │ │ │ │ - function safeStringify(x) { │ │ │ │ │ - return JSON.stringify(x) │ │ │ │ │ - .replace(/\u2028/g, "\\u2028") │ │ │ │ │ - .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ - } │ │ │ │ │ - exports.safeStringify = safeStringify; │ │ │ │ │ + function safeStringify(x) { │ │ │ │ │ + return JSON.stringify(x) │ │ │ │ │ + .replace(/\u2028/g, "\\u2028") │ │ │ │ │ + .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ + } │ │ │ │ │ + exports.safeStringify = safeStringify; │ │ │ │ │ │ │ │ │ │ - function getProperty(key) { │ │ │ │ │ - return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ - } │ │ │ │ │ - exports.getProperty = getProperty; │ │ │ │ │ - //Does best effort to format the name properly │ │ │ │ │ - function getEsmExportName(key) { │ │ │ │ │ - if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ - return new _Code(`${key}`); │ │ │ │ │ - } │ │ │ │ │ - throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ + function getProperty(key) { │ │ │ │ │ + return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ + } │ │ │ │ │ + exports.getProperty = getProperty; │ │ │ │ │ + //Does best effort to format the name properly │ │ │ │ │ + function getEsmExportName(key) { │ │ │ │ │ + if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ + return new _Code(`${key}`); │ │ │ │ │ } │ │ │ │ │ - exports.getEsmExportName = getEsmExportName; │ │ │ │ │ + throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ + } │ │ │ │ │ + exports.getEsmExportName = getEsmExportName; │ │ │ │ │ │ │ │ │ │ - function regexpCode(rx) { │ │ │ │ │ - return new _Code(rx.toString()); │ │ │ │ │ - } │ │ │ │ │ - exports.regexpCode = regexpCode; │ │ │ │ │ + function regexpCode(rx) { │ │ │ │ │ + return new _Code(rx.toString()); │ │ │ │ │ + } │ │ │ │ │ + exports.regexpCode = regexpCode; │ │ │ │ │ │ │ │ │ │ - }(code$1)); │ │ │ │ │ - return code$1; │ │ │ │ │ -} │ │ │ │ │ +}(code$1)); │ │ │ │ │ │ │ │ │ │ var scope = {}; │ │ │ │ │ │ │ │ │ │ var hasRequiredScope; │ │ │ │ │ │ │ │ │ │ function requireScope() { │ │ │ │ │ if (hasRequiredScope) return scope; │ │ │ │ │ hasRequiredScope = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0; │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ class ValueError extends Error { │ │ │ │ │ constructor(name) { │ │ │ │ │ super(`CodeGen: "code" for ${name} not defined`); │ │ │ │ │ this.value = name.value; │ │ │ │ │ } │ │ │ │ │ } │ │ │ │ │ var UsedValueState; │ │ │ │ │ @@ -34216,17 +34209,17 @@ │ │ │ │ │ if (hasRequiredCodegen) return codegen; │ │ │ │ │ hasRequiredCodegen = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ const scope_1 = requireScope(); │ │ │ │ │ - var code_2 = requireCode$1(); │ │ │ │ │ + var code_2 = code$1; │ │ │ │ │ Object.defineProperty(exports, "_", { │ │ │ │ │ enumerable: true, │ │ │ │ │ get: function() { │ │ │ │ │ return code_2._; │ │ │ │ │ } │ │ │ │ │ }); │ │ │ │ │ Object.defineProperty(exports, "str", { │ │ │ │ │ @@ -35016,15 +35009,15 @@ │ │ │ │ │ │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; │ │ │ │ │ const codegen_1 = requireCodegen(); │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ // TODO refactor to use Set │ │ │ │ │ function toHash(arr) { │ │ │ │ │ const hash = {}; │ │ │ │ │ for (const item of arr) │ │ │ │ │ hash[item] = true; │ │ │ │ │ return hash; │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/@rjsf/validator-ajv6/lib/index.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -33853,204 +33853,197 @@ │ │ │ │ │ │ │ │ │ │ var errors = {}; │ │ │ │ │ │ │ │ │ │ var codegen = {}; │ │ │ │ │ │ │ │ │ │ var code$1 = {}; │ │ │ │ │ │ │ │ │ │ -var hasRequiredCode$1; │ │ │ │ │ - │ │ │ │ │ -function requireCode$1() { │ │ │ │ │ - if (hasRequiredCode$1) return code$1; │ │ │ │ │ - hasRequiredCode$1 = 1; │ │ │ │ │ - (function(exports) { │ │ │ │ │ - Object.defineProperty(exports, "__esModule", { │ │ │ │ │ - value: true │ │ │ │ │ - }); │ │ │ │ │ - exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ - class _CodeOrName {} │ │ │ │ │ - exports._CodeOrName = _CodeOrName; │ │ │ │ │ - exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ - class Name extends _CodeOrName { │ │ │ │ │ - constructor(s) { │ │ │ │ │ - super(); │ │ │ │ │ - if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ - throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ - this.str = s; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ +(function(exports) { │ │ │ │ │ + Object.defineProperty(exports, "__esModule", { │ │ │ │ │ + value: true │ │ │ │ │ + }); │ │ │ │ │ + exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ + class _CodeOrName {} │ │ │ │ │ + exports._CodeOrName = _CodeOrName; │ │ │ │ │ + exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ + class Name extends _CodeOrName { │ │ │ │ │ + constructor(s) { │ │ │ │ │ + super(); │ │ │ │ │ + if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ + throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ + this.str = s; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + return false; │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + return { │ │ │ │ │ + [this.str]: 1 │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + exports.Name = Name; │ │ │ │ │ + class _Code extends _CodeOrName { │ │ │ │ │ + constructor(code) { │ │ │ │ │ + super(); │ │ │ │ │ + this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + if (this._items.length > 1) │ │ │ │ │ return false; │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - return { │ │ │ │ │ - [this.str]: 1 │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ + const item = this._items[0]; │ │ │ │ │ + return item === "" || item === '""'; │ │ │ │ │ } │ │ │ │ │ - exports.Name = Name; │ │ │ │ │ - class _Code extends _CodeOrName { │ │ │ │ │ - constructor(code) { │ │ │ │ │ - super(); │ │ │ │ │ - this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ - if (this._items.length > 1) │ │ │ │ │ - return false; │ │ │ │ │ - const item = this._items[0]; │ │ │ │ │ - return item === "" || item === '""'; │ │ │ │ │ - } │ │ │ │ │ - get str() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ - if (c instanceof Name) │ │ │ │ │ - names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ - return names; │ │ │ │ │ - }, {}))); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - exports._Code = _Code; │ │ │ │ │ - exports.nil = new _Code(""); │ │ │ │ │ - │ │ │ │ │ - function _(strs, ...args) { │ │ │ │ │ - const code = [strs[0]]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - addCodeArg(code, args[i]); │ │ │ │ │ - code.push(strs[++i]); │ │ │ │ │ - } │ │ │ │ │ - return new _Code(code); │ │ │ │ │ - } │ │ │ │ │ - exports._ = _; │ │ │ │ │ - const plus = new _Code("+"); │ │ │ │ │ - │ │ │ │ │ - function str(strs, ...args) { │ │ │ │ │ - const expr = [safeStringify(strs[0])]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - expr.push(plus); │ │ │ │ │ - addCodeArg(expr, args[i]); │ │ │ │ │ - expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ - } │ │ │ │ │ - optimize(expr); │ │ │ │ │ - return new _Code(expr); │ │ │ │ │ - } │ │ │ │ │ - exports.str = str; │ │ │ │ │ - │ │ │ │ │ - function addCodeArg(code, arg) { │ │ │ │ │ - if (arg instanceof _Code) │ │ │ │ │ - code.push(...arg._items); │ │ │ │ │ - else if (arg instanceof Name) │ │ │ │ │ - code.push(arg); │ │ │ │ │ - else │ │ │ │ │ - code.push(interpolate(arg)); │ │ │ │ │ - } │ │ │ │ │ - exports.addCodeArg = addCodeArg; │ │ │ │ │ - │ │ │ │ │ - function optimize(expr) { │ │ │ │ │ - let i = 1; │ │ │ │ │ - while (i < expr.length - 1) { │ │ │ │ │ - if (expr[i] === plus) { │ │ │ │ │ - const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ - if (res !== undefined) { │ │ │ │ │ - expr.splice(i - 1, 3, res); │ │ │ │ │ - continue; │ │ │ │ │ - } │ │ │ │ │ - expr[i++] = "+"; │ │ │ │ │ + get str() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ + if (c instanceof Name) │ │ │ │ │ + names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ + return names; │ │ │ │ │ + }, {}))); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + exports._Code = _Code; │ │ │ │ │ + exports.nil = new _Code(""); │ │ │ │ │ + │ │ │ │ │ + function _(strs, ...args) { │ │ │ │ │ + const code = [strs[0]]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + addCodeArg(code, args[i]); │ │ │ │ │ + code.push(strs[++i]); │ │ │ │ │ + } │ │ │ │ │ + return new _Code(code); │ │ │ │ │ + } │ │ │ │ │ + exports._ = _; │ │ │ │ │ + const plus = new _Code("+"); │ │ │ │ │ + │ │ │ │ │ + function str(strs, ...args) { │ │ │ │ │ + const expr = [safeStringify(strs[0])]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + expr.push(plus); │ │ │ │ │ + addCodeArg(expr, args[i]); │ │ │ │ │ + expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ + } │ │ │ │ │ + optimize(expr); │ │ │ │ │ + return new _Code(expr); │ │ │ │ │ + } │ │ │ │ │ + exports.str = str; │ │ │ │ │ + │ │ │ │ │ + function addCodeArg(code, arg) { │ │ │ │ │ + if (arg instanceof _Code) │ │ │ │ │ + code.push(...arg._items); │ │ │ │ │ + else if (arg instanceof Name) │ │ │ │ │ + code.push(arg); │ │ │ │ │ + else │ │ │ │ │ + code.push(interpolate(arg)); │ │ │ │ │ + } │ │ │ │ │ + exports.addCodeArg = addCodeArg; │ │ │ │ │ + │ │ │ │ │ + function optimize(expr) { │ │ │ │ │ + let i = 1; │ │ │ │ │ + while (i < expr.length - 1) { │ │ │ │ │ + if (expr[i] === plus) { │ │ │ │ │ + const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ + if (res !== undefined) { │ │ │ │ │ + expr.splice(i - 1, 3, res); │ │ │ │ │ + continue; │ │ │ │ │ } │ │ │ │ │ - i++; │ │ │ │ │ + expr[i++] = "+"; │ │ │ │ │ } │ │ │ │ │ + i++; │ │ │ │ │ } │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function mergeExprItems(a, b) { │ │ │ │ │ - if (b === '""') │ │ │ │ │ - return a; │ │ │ │ │ - if (a === '""') │ │ │ │ │ - return b; │ │ │ │ │ - if (typeof a == "string") { │ │ │ │ │ - if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ - return; │ │ │ │ │ - if (typeof b != "string") │ │ │ │ │ - return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ - if (b[0] === '"') │ │ │ │ │ - return a.slice(0, -1) + b.slice(1); │ │ │ │ │ + function mergeExprItems(a, b) { │ │ │ │ │ + if (b === '""') │ │ │ │ │ + return a; │ │ │ │ │ + if (a === '""') │ │ │ │ │ + return b; │ │ │ │ │ + if (typeof a == "string") { │ │ │ │ │ + if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ return; │ │ │ │ │ - } │ │ │ │ │ - if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ - return `"${a}${b.slice(1)}`; │ │ │ │ │ + if (typeof b != "string") │ │ │ │ │ + return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ + if (b[0] === '"') │ │ │ │ │ + return a.slice(0, -1) + b.slice(1); │ │ │ │ │ return; │ │ │ │ │ } │ │ │ │ │ + if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ + return `"${a}${b.slice(1)}`; │ │ │ │ │ + return; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function strConcat(c1, c2) { │ │ │ │ │ - return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ - } │ │ │ │ │ - exports.strConcat = strConcat; │ │ │ │ │ - // TODO do not allow arrays here │ │ │ │ │ - function interpolate(x) { │ │ │ │ │ - return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ - x : │ │ │ │ │ - safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ - } │ │ │ │ │ + function strConcat(c1, c2) { │ │ │ │ │ + return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ + } │ │ │ │ │ + exports.strConcat = strConcat; │ │ │ │ │ + // TODO do not allow arrays here │ │ │ │ │ + function interpolate(x) { │ │ │ │ │ + return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ + x : │ │ │ │ │ + safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function stringify(x) { │ │ │ │ │ - return new _Code(safeStringify(x)); │ │ │ │ │ - } │ │ │ │ │ - exports.stringify = stringify; │ │ │ │ │ + function stringify(x) { │ │ │ │ │ + return new _Code(safeStringify(x)); │ │ │ │ │ + } │ │ │ │ │ + exports.stringify = stringify; │ │ │ │ │ │ │ │ │ │ - function safeStringify(x) { │ │ │ │ │ - return JSON.stringify(x) │ │ │ │ │ - .replace(/\u2028/g, "\\u2028") │ │ │ │ │ - .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ - } │ │ │ │ │ - exports.safeStringify = safeStringify; │ │ │ │ │ + function safeStringify(x) { │ │ │ │ │ + return JSON.stringify(x) │ │ │ │ │ + .replace(/\u2028/g, "\\u2028") │ │ │ │ │ + .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ + } │ │ │ │ │ + exports.safeStringify = safeStringify; │ │ │ │ │ │ │ │ │ │ - function getProperty(key) { │ │ │ │ │ - return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ - } │ │ │ │ │ - exports.getProperty = getProperty; │ │ │ │ │ - //Does best effort to format the name properly │ │ │ │ │ - function getEsmExportName(key) { │ │ │ │ │ - if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ - return new _Code(`${key}`); │ │ │ │ │ - } │ │ │ │ │ - throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ + function getProperty(key) { │ │ │ │ │ + return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ + } │ │ │ │ │ + exports.getProperty = getProperty; │ │ │ │ │ + //Does best effort to format the name properly │ │ │ │ │ + function getEsmExportName(key) { │ │ │ │ │ + if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ + return new _Code(`${key}`); │ │ │ │ │ } │ │ │ │ │ - exports.getEsmExportName = getEsmExportName; │ │ │ │ │ + throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ + } │ │ │ │ │ + exports.getEsmExportName = getEsmExportName; │ │ │ │ │ │ │ │ │ │ - function regexpCode(rx) { │ │ │ │ │ - return new _Code(rx.toString()); │ │ │ │ │ - } │ │ │ │ │ - exports.regexpCode = regexpCode; │ │ │ │ │ + function regexpCode(rx) { │ │ │ │ │ + return new _Code(rx.toString()); │ │ │ │ │ + } │ │ │ │ │ + exports.regexpCode = regexpCode; │ │ │ │ │ │ │ │ │ │ - }(code$1)); │ │ │ │ │ - return code$1; │ │ │ │ │ -} │ │ │ │ │ +}(code$1)); │ │ │ │ │ │ │ │ │ │ var scope = {}; │ │ │ │ │ │ │ │ │ │ var hasRequiredScope; │ │ │ │ │ │ │ │ │ │ function requireScope() { │ │ │ │ │ if (hasRequiredScope) return scope; │ │ │ │ │ hasRequiredScope = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0; │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ class ValueError extends Error { │ │ │ │ │ constructor(name) { │ │ │ │ │ super(`CodeGen: "code" for ${name} not defined`); │ │ │ │ │ this.value = name.value; │ │ │ │ │ } │ │ │ │ │ } │ │ │ │ │ var UsedValueState; │ │ │ │ │ @@ -34210,17 +34203,17 @@ │ │ │ │ │ if (hasRequiredCodegen) return codegen; │ │ │ │ │ hasRequiredCodegen = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ const scope_1 = requireScope(); │ │ │ │ │ - var code_2 = requireCode$1(); │ │ │ │ │ + var code_2 = code$1; │ │ │ │ │ Object.defineProperty(exports, "_", { │ │ │ │ │ enumerable: true, │ │ │ │ │ get: function() { │ │ │ │ │ return code_2._; │ │ │ │ │ } │ │ │ │ │ }); │ │ │ │ │ Object.defineProperty(exports, "str", { │ │ │ │ │ @@ -35010,15 +35003,15 @@ │ │ │ │ │ │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; │ │ │ │ │ const codegen_1 = requireCodegen(); │ │ │ │ │ - const code_1 = requireCode$1(); │ │ │ │ │ + const code_1 = code$1; │ │ │ │ │ // TODO refactor to use Set │ │ │ │ │ function toHash(arr) { │ │ │ │ │ const hash = {}; │ │ │ │ │ for (const item of arr) │ │ │ │ │ hash[item] = true; │ │ │ │ │ return hash; │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/@rjsf/validator-ajv8/dist/index.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -33917,197 +33917,204 @@ │ │ │ │ │ │ │ │ │ │ var errors = {}; │ │ │ │ │ │ │ │ │ │ var codegen = {}; │ │ │ │ │ │ │ │ │ │ var code$1 = {}; │ │ │ │ │ │ │ │ │ │ -(function(exports) { │ │ │ │ │ - Object.defineProperty(exports, "__esModule", { │ │ │ │ │ - value: true │ │ │ │ │ - }); │ │ │ │ │ - exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ - class _CodeOrName {} │ │ │ │ │ - exports._CodeOrName = _CodeOrName; │ │ │ │ │ - exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ - class Name extends _CodeOrName { │ │ │ │ │ - constructor(s) { │ │ │ │ │ - super(); │ │ │ │ │ - if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ - throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ - this.str = s; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ - return false; │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - return { │ │ │ │ │ - [this.str]: 1 │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - exports.Name = Name; │ │ │ │ │ - class _Code extends _CodeOrName { │ │ │ │ │ - constructor(code) { │ │ │ │ │ - super(); │ │ │ │ │ - this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ - } │ │ │ │ │ - toString() { │ │ │ │ │ - return this.str; │ │ │ │ │ - } │ │ │ │ │ - emptyStr() { │ │ │ │ │ - if (this._items.length > 1) │ │ │ │ │ - return false; │ │ │ │ │ - const item = this._items[0]; │ │ │ │ │ - return item === "" || item === '""'; │ │ │ │ │ - } │ │ │ │ │ - get str() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ - } │ │ │ │ │ - get names() { │ │ │ │ │ - var _a; │ │ │ │ │ - return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ - if (c instanceof Name) │ │ │ │ │ - names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ - return names; │ │ │ │ │ - }, {}))); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - exports._Code = _Code; │ │ │ │ │ - exports.nil = new _Code(""); │ │ │ │ │ - │ │ │ │ │ - function _(strs, ...args) { │ │ │ │ │ - const code = [strs[0]]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - addCodeArg(code, args[i]); │ │ │ │ │ - code.push(strs[++i]); │ │ │ │ │ - } │ │ │ │ │ - return new _Code(code); │ │ │ │ │ - } │ │ │ │ │ - exports._ = _; │ │ │ │ │ - const plus = new _Code("+"); │ │ │ │ │ +var hasRequiredCode$1; │ │ │ │ │ │ │ │ │ │ - function str(strs, ...args) { │ │ │ │ │ - const expr = [safeStringify(strs[0])]; │ │ │ │ │ - let i = 0; │ │ │ │ │ - while (i < args.length) { │ │ │ │ │ - expr.push(plus); │ │ │ │ │ - addCodeArg(expr, args[i]); │ │ │ │ │ - expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ +function requireCode$1() { │ │ │ │ │ + if (hasRequiredCode$1) return code$1; │ │ │ │ │ + hasRequiredCode$1 = 1; │ │ │ │ │ + (function(exports) { │ │ │ │ │ + Object.defineProperty(exports, "__esModule", { │ │ │ │ │ + value: true │ │ │ │ │ + }); │ │ │ │ │ + exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; │ │ │ │ │ + class _CodeOrName {} │ │ │ │ │ + exports._CodeOrName = _CodeOrName; │ │ │ │ │ + exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; │ │ │ │ │ + class Name extends _CodeOrName { │ │ │ │ │ + constructor(s) { │ │ │ │ │ + super(); │ │ │ │ │ + if (!exports.IDENTIFIER.test(s)) │ │ │ │ │ + throw new Error("CodeGen: name must be a valid identifier"); │ │ │ │ │ + this.str = s; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + return false; │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + return { │ │ │ │ │ + [this.str]: 1 │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ } │ │ │ │ │ - optimize(expr); │ │ │ │ │ - return new _Code(expr); │ │ │ │ │ - } │ │ │ │ │ - exports.str = str; │ │ │ │ │ - │ │ │ │ │ - function addCodeArg(code, arg) { │ │ │ │ │ - if (arg instanceof _Code) │ │ │ │ │ - code.push(...arg._items); │ │ │ │ │ - else if (arg instanceof Name) │ │ │ │ │ - code.push(arg); │ │ │ │ │ - else │ │ │ │ │ - code.push(interpolate(arg)); │ │ │ │ │ - } │ │ │ │ │ - exports.addCodeArg = addCodeArg; │ │ │ │ │ - │ │ │ │ │ - function optimize(expr) { │ │ │ │ │ - let i = 1; │ │ │ │ │ - while (i < expr.length - 1) { │ │ │ │ │ - if (expr[i] === plus) { │ │ │ │ │ - const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ - if (res !== undefined) { │ │ │ │ │ - expr.splice(i - 1, 3, res); │ │ │ │ │ - continue; │ │ │ │ │ + exports.Name = Name; │ │ │ │ │ + class _Code extends _CodeOrName { │ │ │ │ │ + constructor(code) { │ │ │ │ │ + super(); │ │ │ │ │ + this._items = typeof code === "string" ? [code] : code; │ │ │ │ │ + } │ │ │ │ │ + toString() { │ │ │ │ │ + return this.str; │ │ │ │ │ + } │ │ │ │ │ + emptyStr() { │ │ │ │ │ + if (this._items.length > 1) │ │ │ │ │ + return false; │ │ │ │ │ + const item = this._items[0]; │ │ │ │ │ + return item === "" || item === '""'; │ │ │ │ │ + } │ │ │ │ │ + get str() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); │ │ │ │ │ + } │ │ │ │ │ + get names() { │ │ │ │ │ + var _a; │ │ │ │ │ + return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { │ │ │ │ │ + if (c instanceof Name) │ │ │ │ │ + names[c.str] = (names[c.str] || 0) + 1; │ │ │ │ │ + return names; │ │ │ │ │ + }, {}))); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + exports._Code = _Code; │ │ │ │ │ + exports.nil = new _Code(""); │ │ │ │ │ + │ │ │ │ │ + function _(strs, ...args) { │ │ │ │ │ + const code = [strs[0]]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + addCodeArg(code, args[i]); │ │ │ │ │ + code.push(strs[++i]); │ │ │ │ │ + } │ │ │ │ │ + return new _Code(code); │ │ │ │ │ + } │ │ │ │ │ + exports._ = _; │ │ │ │ │ + const plus = new _Code("+"); │ │ │ │ │ + │ │ │ │ │ + function str(strs, ...args) { │ │ │ │ │ + const expr = [safeStringify(strs[0])]; │ │ │ │ │ + let i = 0; │ │ │ │ │ + while (i < args.length) { │ │ │ │ │ + expr.push(plus); │ │ │ │ │ + addCodeArg(expr, args[i]); │ │ │ │ │ + expr.push(plus, safeStringify(strs[++i])); │ │ │ │ │ + } │ │ │ │ │ + optimize(expr); │ │ │ │ │ + return new _Code(expr); │ │ │ │ │ + } │ │ │ │ │ + exports.str = str; │ │ │ │ │ + │ │ │ │ │ + function addCodeArg(code, arg) { │ │ │ │ │ + if (arg instanceof _Code) │ │ │ │ │ + code.push(...arg._items); │ │ │ │ │ + else if (arg instanceof Name) │ │ │ │ │ + code.push(arg); │ │ │ │ │ + else │ │ │ │ │ + code.push(interpolate(arg)); │ │ │ │ │ + } │ │ │ │ │ + exports.addCodeArg = addCodeArg; │ │ │ │ │ + │ │ │ │ │ + function optimize(expr) { │ │ │ │ │ + let i = 1; │ │ │ │ │ + while (i < expr.length - 1) { │ │ │ │ │ + if (expr[i] === plus) { │ │ │ │ │ + const res = mergeExprItems(expr[i - 1], expr[i + 1]); │ │ │ │ │ + if (res !== undefined) { │ │ │ │ │ + expr.splice(i - 1, 3, res); │ │ │ │ │ + continue; │ │ │ │ │ + } │ │ │ │ │ + expr[i++] = "+"; │ │ │ │ │ } │ │ │ │ │ - expr[i++] = "+"; │ │ │ │ │ + i++; │ │ │ │ │ } │ │ │ │ │ - i++; │ │ │ │ │ } │ │ │ │ │ - } │ │ │ │ │ │ │ │ │ │ - function mergeExprItems(a, b) { │ │ │ │ │ - if (b === '""') │ │ │ │ │ - return a; │ │ │ │ │ - if (a === '""') │ │ │ │ │ - return b; │ │ │ │ │ - if (typeof a == "string") { │ │ │ │ │ - if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ + function mergeExprItems(a, b) { │ │ │ │ │ + if (b === '""') │ │ │ │ │ + return a; │ │ │ │ │ + if (a === '""') │ │ │ │ │ + return b; │ │ │ │ │ + if (typeof a == "string") { │ │ │ │ │ + if (b instanceof Name || a[a.length - 1] !== '"') │ │ │ │ │ + return; │ │ │ │ │ + if (typeof b != "string") │ │ │ │ │ + return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ + if (b[0] === '"') │ │ │ │ │ + return a.slice(0, -1) + b.slice(1); │ │ │ │ │ return; │ │ │ │ │ - if (typeof b != "string") │ │ │ │ │ - return `${a.slice(0, -1)}${b}"`; │ │ │ │ │ - if (b[0] === '"') │ │ │ │ │ - return a.slice(0, -1) + b.slice(1); │ │ │ │ │ + } │ │ │ │ │ + if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ + return `"${a}${b.slice(1)}`; │ │ │ │ │ return; │ │ │ │ │ } │ │ │ │ │ - if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) │ │ │ │ │ - return `"${a}${b.slice(1)}`; │ │ │ │ │ - return; │ │ │ │ │ - } │ │ │ │ │ │ │ │ │ │ - function strConcat(c1, c2) { │ │ │ │ │ - return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ - } │ │ │ │ │ - exports.strConcat = strConcat; │ │ │ │ │ - // TODO do not allow arrays here │ │ │ │ │ - function interpolate(x) { │ │ │ │ │ - return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ - x : │ │ │ │ │ - safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ - } │ │ │ │ │ + function strConcat(c1, c2) { │ │ │ │ │ + return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; │ │ │ │ │ + } │ │ │ │ │ + exports.strConcat = strConcat; │ │ │ │ │ + // TODO do not allow arrays here │ │ │ │ │ + function interpolate(x) { │ │ │ │ │ + return typeof x == "number" || typeof x == "boolean" || x === null ? │ │ │ │ │ + x : │ │ │ │ │ + safeStringify(Array.isArray(x) ? x.join(",") : x); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - function stringify(x) { │ │ │ │ │ - return new _Code(safeStringify(x)); │ │ │ │ │ - } │ │ │ │ │ - exports.stringify = stringify; │ │ │ │ │ + function stringify(x) { │ │ │ │ │ + return new _Code(safeStringify(x)); │ │ │ │ │ + } │ │ │ │ │ + exports.stringify = stringify; │ │ │ │ │ │ │ │ │ │ - function safeStringify(x) { │ │ │ │ │ - return JSON.stringify(x) │ │ │ │ │ - .replace(/\u2028/g, "\\u2028") │ │ │ │ │ - .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ - } │ │ │ │ │ - exports.safeStringify = safeStringify; │ │ │ │ │ + function safeStringify(x) { │ │ │ │ │ + return JSON.stringify(x) │ │ │ │ │ + .replace(/\u2028/g, "\\u2028") │ │ │ │ │ + .replace(/\u2029/g, "\\u2029"); │ │ │ │ │ + } │ │ │ │ │ + exports.safeStringify = safeStringify; │ │ │ │ │ │ │ │ │ │ - function getProperty(key) { │ │ │ │ │ - return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ - } │ │ │ │ │ - exports.getProperty = getProperty; │ │ │ │ │ - //Does best effort to format the name properly │ │ │ │ │ - function getEsmExportName(key) { │ │ │ │ │ - if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ - return new _Code(`${key}`); │ │ │ │ │ + function getProperty(key) { │ │ │ │ │ + return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; │ │ │ │ │ } │ │ │ │ │ - throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ - } │ │ │ │ │ - exports.getEsmExportName = getEsmExportName; │ │ │ │ │ + exports.getProperty = getProperty; │ │ │ │ │ + //Does best effort to format the name properly │ │ │ │ │ + function getEsmExportName(key) { │ │ │ │ │ + if (typeof key == "string" && exports.IDENTIFIER.test(key)) { │ │ │ │ │ + return new _Code(`${key}`); │ │ │ │ │ + } │ │ │ │ │ + throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`); │ │ │ │ │ + } │ │ │ │ │ + exports.getEsmExportName = getEsmExportName; │ │ │ │ │ │ │ │ │ │ - function regexpCode(rx) { │ │ │ │ │ - return new _Code(rx.toString()); │ │ │ │ │ - } │ │ │ │ │ - exports.regexpCode = regexpCode; │ │ │ │ │ + function regexpCode(rx) { │ │ │ │ │ + return new _Code(rx.toString()); │ │ │ │ │ + } │ │ │ │ │ + exports.regexpCode = regexpCode; │ │ │ │ │ │ │ │ │ │ -}(code$1)); │ │ │ │ │ + }(code$1)); │ │ │ │ │ + return code$1; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ var scope = {}; │ │ │ │ │ │ │ │ │ │ var hasRequiredScope; │ │ │ │ │ │ │ │ │ │ function requireScope() { │ │ │ │ │ if (hasRequiredScope) return scope; │ │ │ │ │ hasRequiredScope = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0; │ │ │ │ │ - const code_1 = code$1; │ │ │ │ │ + const code_1 = requireCode$1(); │ │ │ │ │ class ValueError extends Error { │ │ │ │ │ constructor(name) { │ │ │ │ │ super(`CodeGen: "code" for ${name} not defined`); │ │ │ │ │ this.value = name.value; │ │ │ │ │ } │ │ │ │ │ } │ │ │ │ │ var UsedValueState; │ │ │ │ │ @@ -34267,17 +34274,17 @@ │ │ │ │ │ if (hasRequiredCodegen) return codegen; │ │ │ │ │ hasRequiredCodegen = 1; │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; │ │ │ │ │ - const code_1 = code$1; │ │ │ │ │ + const code_1 = requireCode$1(); │ │ │ │ │ const scope_1 = requireScope(); │ │ │ │ │ - var code_2 = code$1; │ │ │ │ │ + var code_2 = requireCode$1(); │ │ │ │ │ Object.defineProperty(exports, "_", { │ │ │ │ │ enumerable: true, │ │ │ │ │ get: function() { │ │ │ │ │ return code_2._; │ │ │ │ │ } │ │ │ │ │ }); │ │ │ │ │ Object.defineProperty(exports, "str", { │ │ │ │ │ @@ -35067,15 +35074,15 @@ │ │ │ │ │ │ │ │ │ │ (function(exports) { │ │ │ │ │ Object.defineProperty(exports, "__esModule", { │ │ │ │ │ value: true │ │ │ │ │ }); │ │ │ │ │ exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; │ │ │ │ │ const codegen_1 = requireCodegen(); │ │ │ │ │ - const code_1 = code$1; │ │ │ │ │ + const code_1 = requireCode$1(); │ │ │ │ │ // TODO refactor to use Set │ │ │ │ │ function toHash(arr) { │ │ │ │ │ const hash = {}; │ │ │ │ │ for (const item of arr) │ │ │ │ │ hash[item] = true; │ │ │ │ │ return hash; │ │ │ │ │ }