Showing preview only (7,108K chars total). Download the full file or copy to clipboard to get everything.
Repository: Pattern-Projector/pattern-projector
Branch: main
Commit: b71c27138288
Files: 186
Total size: 6.6 MB
Directory structure:
gitextract_o8l_mvnx/
├── .eslintrc.json
├── .github/
│ ├── CODE_OF_CONDUCT.md
│ ├── PULL_REQUEST_TEMPLATE.md
│ └── SECURITY.md
├── .gitignore
├── .prettierignore
├── .vscode/
│ ├── extensions.json
│ └── settings.json
├── .yarn/
│ └── releases/
│ └── yarn-1.22.21.cjs
├── .yarnrc
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app/
│ ├── [locale]/
│ │ ├── calibrate/
│ │ │ └── page.tsx
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ ├── loading.tsx
│ │ └── page.tsx
│ ├── _components/
│ │ ├── buttons/
│ │ │ ├── button.tsx
│ │ │ ├── dropdown-checkbox-icon-button.tsx
│ │ │ ├── dropdown-icon-button.tsx
│ │ │ ├── icon-button.tsx
│ │ │ └── install-button.tsx
│ │ ├── canvases/
│ │ │ ├── calibration-canvas.tsx
│ │ │ ├── measure-canvas.tsx
│ │ │ └── overlay-canvas.tsx
│ │ ├── draggable.tsx
│ │ ├── filters.tsx
│ │ ├── header.tsx
│ │ ├── inline-input.tsx
│ │ ├── inline-select.tsx
│ │ ├── input.tsx
│ │ ├── labelled-input.tsx
│ │ ├── language-switcher.tsx
│ │ ├── mail-modal.tsx
│ │ ├── menus/
│ │ │ ├── layer-menu.tsx
│ │ │ ├── line-menu.tsx
│ │ │ ├── scale-menu.tsx
│ │ │ ├── side-menu.tsx
│ │ │ └── stitch-menu.tsx
│ │ ├── modal/
│ │ │ ├── modal-actions.tsx
│ │ │ ├── modal-content.tsx
│ │ │ ├── modal-figure.tsx
│ │ │ ├── modal-list.tsx
│ │ │ ├── modal-subtitle.tsx
│ │ │ ├── modal-text.tsx
│ │ │ ├── modal-title.tsx
│ │ │ └── modal.tsx
│ │ ├── movement-pad.tsx
│ │ ├── pdf-custom-renderer.tsx
│ │ ├── pdf-error-modal.tsx
│ │ ├── pdf-viewer.tsx
│ │ ├── save-button.tsx
│ │ ├── stepper-input.tsx
│ │ ├── svg-viewer.tsx
│ │ ├── theme/
│ │ │ ├── colors.ts
│ │ │ ├── css-functions.ts
│ │ │ └── styles.ts
│ │ ├── tooltip/
│ │ │ └── tooltip.tsx
│ │ └── troubleshooting-button.tsx
│ ├── _hooks/
│ │ ├── use-key-down.ts
│ │ ├── use-key-up.ts
│ │ ├── use-layers.ts
│ │ ├── use-on-click-outside.ts
│ │ ├── use-prog-arrow-key-handler.ts
│ │ ├── use-prog-arrow-key-points.ts
│ │ ├── use-prog-arrow-key-to-matrix.ts
│ │ ├── use-render-context.ts
│ │ └── use-transform-context.tsx
│ ├── _icons/
│ │ ├── add-box-icon.tsx
│ │ ├── add-to-home-screen-icon.tsx
│ │ ├── check-icon.tsx
│ │ ├── close-icon.tsx
│ │ ├── cycle-icon.tsx
│ │ ├── delete-icon.tsx
│ │ ├── download-icon.tsx
│ │ ├── expand-less-icon.tsx
│ │ ├── expand-more-icon.tsx
│ │ ├── flex-wrap-icon.tsx
│ │ ├── flip-center-off-icon.tsx
│ │ ├── flip-center-on-icon.tsx
│ │ ├── flip-horizontal-icon.tsx
│ │ ├── flip-vertical-icon.tsx
│ │ ├── flipped-pattern-icon.tsx
│ │ ├── full-screen-exit-icon.tsx
│ │ ├── full-screen-icon.tsx
│ │ ├── github-icon.tsx
│ │ ├── grid-off-icon.tsx
│ │ ├── grid-on-icon.tsx
│ │ ├── info-icon.tsx
│ │ ├── install-desktop-icon.tsx
│ │ ├── install-desktop.tsx
│ │ ├── invert-color-icon.tsx
│ │ ├── invert-color-off-icon.tsx
│ │ ├── ios-share-icon.tsx
│ │ ├── keyboard-arrow-down.tsx
│ │ ├── keyboard-arrow-left.tsx
│ │ ├── keyboard-arrow-right.tsx
│ │ ├── keyboard-arrow-up.tsx
│ │ ├── language-icon.tsx
│ │ ├── layers-icon.tsx
│ │ ├── layers-off-icon.tsx
│ │ ├── line-weight-icon.tsx
│ │ ├── loading-spinner.tsx
│ │ ├── mail-icon.tsx
│ │ ├── mark-and-measure-icon.tsx
│ │ ├── more-vert-icon.tsx
│ │ ├── move-icon.tsx
│ │ ├── overlay-border-icon.tsx
│ │ ├── overlay-paper-icon.tsx
│ │ ├── pattern-projector-icon.tsx
│ │ ├── pdf-icon.tsx
│ │ ├── recenter-icon.tsx
│ │ ├── rotate-90-degrees-cw-icon.tsx
│ │ ├── rotate-to-horizontal.tsx
│ │ ├── shift-icon.tsx
│ │ ├── step-down-icon.tsx
│ │ ├── step-up-icon.tsx
│ │ ├── tune-icon.tsx
│ │ ├── warning-icon.tsx
│ │ ├── zoom-in-icon.tsx
│ │ └── zoom-out-icon.tsx
│ ├── _lib/
│ │ ├── calibration-context.ts
│ │ ├── debounce.ts
│ │ ├── direction.ts
│ │ ├── display-settings.ts
│ │ ├── drawing.ts
│ │ ├── erode.ts
│ │ ├── full-screen.ts
│ │ ├── geometry.spec.ts
│ │ ├── geometry.ts
│ │ ├── get-page-numbers.ts
│ │ ├── interfaces/
│ │ │ ├── edge-insets.ts
│ │ │ ├── layer.ts
│ │ │ ├── line.ts
│ │ │ ├── select-option.ts
│ │ │ └── stitch-settings.ts
│ │ ├── is-valid-file.ts
│ │ ├── key-code.ts
│ │ ├── layers.ts
│ │ ├── load-status-enum.ts
│ │ ├── menu-states.ts
│ │ ├── pdfstitcher.ts
│ │ ├── pixels-per-inch.ts
│ │ ├── point.ts
│ │ ├── remove-non-digits.spec.ts
│ │ ├── remove-non-digits.ts
│ │ └── unit.ts
│ ├── _reducers/
│ │ ├── layersReducer.ts
│ │ ├── localTransformReducer.ts
│ │ ├── patternScaleReducer.ts
│ │ ├── pointsReducer.ts
│ │ └── stitchSettingsReducer.ts
│ ├── manifest.js
│ └── sw.ts
├── cypress/
│ ├── fixtures/
│ │ └── example.json
│ └── support/
│ ├── commands.ts
│ ├── component-index.html
│ └── component.ts
├── cypress.config.ts
├── global.d.ts
├── i18n.ts
├── jest.config.ts
├── messages/
│ ├── cs.json
│ ├── da.json
│ ├── de.json
│ ├── en.json
│ ├── es.json
│ ├── fr.json
│ ├── hu.json
│ ├── it.json
│ ├── nb-NO.json
│ ├── nl.json
│ ├── sl.json
│ ├── sv.json
│ ├── ta.json
│ └── tr.json
├── middleware.ts
├── navigation.ts
├── next.config.mjs
├── package.json
├── patches/
│ └── react-pdf+7.7.0.patch
├── postcss.config.js
├── tailwind.config.ts
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .eslintrc.json
================================================
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/ban-types": "off",
"@next/next/no-sync-scripts": "off"
}
}
================================================
FILE: .github/CODE_OF_CONDUCT.md
================================================
# Community Code of Conduct
Be nice to each other please.
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
## Pull Request Checklist
- [ ] I have run `yarn build` to ensure that the project builds successfully.
- [ ] I have updated `CHANGELOG.md` with the necessary changes made in this pull request.
- [ ] I have added documentation for any new functionality from this pull request.
## Description
<!-- Provide a brief description of the changes made in this pull request -->
## Related Issues
<!-- List any related issues or pull requests -->
## TODO
<!-- List tasks to complete before merging -->
================================================
FILE: .github/SECURITY.md
================================================
# Security Policy
If you find something, raise an issue.
================================================
FILE: .gitignore
================================================
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
# playwright
/test-results/
/playwright-report/
/playwright/.cache/
/blob-report/
# IDE
.idea/
# serwist
/public/precache.*.*.js
/public/sw.js
/public/workbox-*.js
/public/worker-*.js
/public/fallback-*.js
/public/precache.*.*.js.map
/public/sw.js.map
/public/workbox-*.js.map
/public/worker-*.js.map
/public/fallback-*.js/
public/swe-worker-*.js*
================================================
FILE: .prettierignore
================================================
messages
================================================
FILE: .vscode/extensions.json
================================================
{
"recommendations": ["esbenp.prettier-vscode"]
}
================================================
FILE: .vscode/settings.json
================================================
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.format.enable": false,
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
}
================================================
FILE: .yarn/releases/yarn-1.22.21.cjs
================================================
#!/usr/bin/env node
module.exports = /******/ (function (modules) {
// webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if (installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
}
/******/ // Create a new module (and put it into the cache)
/******/ var module = (installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {},
/******/
});
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(
module.exports,
module,
module.exports,
__webpack_require__,
);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/
}
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function (value) {
return value;
};
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function (exports, name, getter) {
/******/ if (!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter,
/******/
});
/******/
}
/******/
};
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function (module) {
/******/ var getter =
module && module.__esModule
? /******/ function getDefault() {
return module["default"];
}
: /******/ function getModuleExports() {
return module;
};
/******/ __webpack_require__.d(getter, "a", getter);
/******/ return getter;
/******/
};
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function (object, property) {
return Object.prototype.hasOwnProperty.call(object, property);
};
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__((__webpack_require__.s = 517));
/******/
})(
/************************************************************************/
/******/ [
/* 0 */
/***/ function (module, exports) {
module.exports = require("path");
/***/
},
/* 1 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (immutable) */ __webpack_exports__["a"] = __extends;
/* unused harmony export __assign */
/* unused harmony export __rest */
/* unused harmony export __decorate */
/* unused harmony export __param */
/* unused harmony export __metadata */
/* unused harmony export __awaiter */
/* unused harmony export __generator */
/* unused harmony export __exportStar */
/* unused harmony export __values */
/* unused harmony export __read */
/* unused harmony export __spread */
/* unused harmony export __await */
/* unused harmony export __asyncGenerator */
/* unused harmony export __asyncDelegator */
/* unused harmony export __asyncValues */
/* unused harmony export __makeTemplateObject */
/* unused harmony export __importStar */
/* unused harmony export __importDefault */
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function (d, b) {
extendStatics =
Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array &&
function (d, b) {
d.__proto__ = b;
}) ||
function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
};
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype =
b === null
? Object.create(b)
: ((__.prototype = b.prototype), new __());
}
var __assign = function () {
__assign =
Object.assign ||
function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (
var i = 0, p = Object.getOwnPropertySymbols(s);
i < p.length;
i++
)
if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length,
r =
c < 3
? target
: desc === null
? (desc = Object.getOwnPropertyDescriptor(target, key))
: desc,
d;
if (
typeof Reflect === "object" &&
typeof Reflect.decorate === "function"
)
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if ((d = decorators[i]))
r =
(c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) ||
r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) {
decorator(target, key, paramIndex);
};
}
function __metadata(metadataKey, metadataValue) {
if (
typeof Reflect === "object" &&
typeof Reflect.metadata === "function"
)
return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
function step(result) {
result.done
? resolve(result.value)
: new P(function (resolve) {
resolve(result.value);
}).then(fulfilled, rejected);
}
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = {
label: 0,
sent: function () {
if (t[0] & 1) throw t[1];
return t[1];
},
trys: [],
ops: [],
},
f,
y,
t,
g;
return (
(g = { next: verb(0), throw: verb(1), return: verb(2) }),
typeof Symbol === "function" &&
(g[Symbol.iterator] = function () {
return this;
}),
g
);
function verb(n) {
return function (v) {
return step([n, v]);
};
}
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_)
try {
if (
((f = 1),
y &&
(t =
op[0] & 2
? y["return"]
: op[0]
? y["throw"] || ((t = y["return"]) && t.call(y), 0)
: y.next) &&
!(t = t.call(y, op[1])).done)
)
return t;
if (((y = 0), t)) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return { value: op[1], done: false };
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (
!((t = _.trys), (t = t.length > 0 && t[t.length - 1])) &&
(op[0] === 6 || op[0] === 2)
) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2]) _.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
} catch (e) {
op = [6, e];
y = 0;
} finally {
f = t = 0;
}
if (op[0] & 5) throw op[1];
return { value: op[0] ? op[1] : void 0, done: true };
}
}
function __exportStar(m, exports) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
function __values(o) {
var m = typeof Symbol === "function" && o[Symbol.iterator],
i = 0;
if (m) return m.call(o);
return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
},
};
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o),
r,
ar = [],
e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
ar.push(r.value);
} catch (error) {
e = { error: error };
} finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
} finally {
if (e) throw e.error;
}
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __await(v) {
return this instanceof __await ? ((this.v = v), this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []),
i,
q = [];
return (
(i = {}),
verb("next"),
verb("throw"),
verb("return"),
(i[Symbol.asyncIterator] = function () {
return this;
}),
i
);
function verb(n) {
if (g[n])
i[n] = function (v) {
return new Promise(function (a, b) {
q.push([n, v, a, b]) > 1 || resume(n, v);
});
};
}
function resume(n, v) {
try {
step(g[n](v));
} catch (e) {
settle(q[0][3], e);
}
}
function step(r) {
r.value instanceof __await
? Promise.resolve(r.value.v).then(fulfill, reject)
: settle(q[0][2], r);
}
function fulfill(value) {
resume("next", value);
}
function reject(value) {
resume("throw", value);
}
function settle(f, v) {
if ((f(v), q.shift(), q.length)) resume(q[0][0], q[0][1]);
}
}
function __asyncDelegator(o) {
var i, p;
return (
(i = {}),
verb("next"),
verb("throw", function (e) {
throw e;
}),
verb("return"),
(i[Symbol.iterator] = function () {
return this;
}),
i
);
function verb(n, f) {
i[n] = o[n]
? function (v) {
return (p = !p)
? { value: __await(o[n](v)), done: n === "return" }
: f
? f(v)
: v;
}
: f;
}
}
function __asyncValues(o) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator],
i;
return m
? m.call(o)
: ((o =
typeof __values === "function"
? __values(o)
: o[Symbol.iterator]()),
(i = {}),
verb("next"),
verb("throw"),
verb("return"),
(i[Symbol.asyncIterator] = function () {
return this;
}),
i);
function verb(n) {
i[n] =
o[n] &&
function (v) {
return new Promise(function (resolve, reject) {
(v = o[n](v)), settle(resolve, reject, v.done, v.value);
});
};
}
function settle(resolve, reject, d, v) {
Promise.resolve(v).then(function (v) {
resolve({ value: v, done: d });
}, reject);
}
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) {
Object.defineProperty(cooked, "raw", { value: raw });
} else {
cooked.raw = raw;
}
return cooked;
}
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null)
for (var k in mod)
if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result.default = mod;
return result;
}
function __importDefault(mod) {
return mod && mod.__esModule ? mod : { default: mod };
}
/***/
},
/* 2 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
var _promise = __webpack_require__(224);
var _promise2 = _interopRequireDefault(_promise);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
exports.default = function (fn) {
return function () {
var gen = fn.apply(this, arguments);
return new _promise2.default(function (resolve, reject) {
function step(key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
return _promise2.default.resolve(value).then(
function (value) {
step("next", value);
},
function (err) {
step("throw", err);
},
);
}
}
return step("next");
});
};
};
/***/
},
/* 3 */
/***/ function (module, exports) {
module.exports = require("util");
/***/
},
/* 4 */
/***/ function (module, exports) {
module.exports = require("fs");
/***/
},
/* 5 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.getFirstSuitableFolder =
exports.readFirstAvailableStream =
exports.makeTempDir =
exports.hardlinksWork =
exports.writeFilePreservingEol =
exports.getFileSizeOnDisk =
exports.walk =
exports.symlink =
exports.find =
exports.readJsonAndFile =
exports.readJson =
exports.readFileAny =
exports.hardlinkBulk =
exports.copyBulk =
exports.unlink =
exports.glob =
exports.link =
exports.chmod =
exports.lstat =
exports.exists =
exports.mkdirp =
exports.stat =
exports.access =
exports.rename =
exports.readdir =
exports.realpath =
exports.readlink =
exports.writeFile =
exports.open =
exports.readFileBuffer =
exports.lockQueue =
exports.constants =
undefined;
var _asyncToGenerator2;
function _load_asyncToGenerator() {
return (_asyncToGenerator2 = _interopRequireDefault(
__webpack_require__(2),
));
}
let buildActionsForCopy = (() => {
var _ref = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (queue, events, possibleExtraneous, reporter) {
//
let build = (() => {
var _ref5 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (data) {
const src = data.src,
dest = data.dest,
type = data.type;
const onFresh = data.onFresh || noop;
const onDone = data.onDone || noop;
// TODO https://github.com/yarnpkg/yarn/issues/3751
// related to bundled dependencies handling
if (files.has(dest.toLowerCase())) {
reporter.verbose(
`The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy`,
);
} else {
files.add(dest.toLowerCase());
}
if (type === "symlink") {
yield mkdirp((_path || _load_path()).default.dirname(dest));
onFresh();
actions.symlink.push({
dest,
linkname: src,
});
onDone();
return;
}
if (
events.ignoreBasenames.indexOf(
(_path || _load_path()).default.basename(src),
) >= 0
) {
// ignored file
return;
}
const srcStat = yield lstat(src);
let srcFiles;
if (srcStat.isDirectory()) {
srcFiles = yield readdir(src);
}
let destStat;
try {
// try accessing the destination
destStat = yield lstat(dest);
} catch (e) {
// proceed if destination doesn't exist, otherwise error
if (e.code !== "ENOENT") {
throw e;
}
}
// if destination exists
if (destStat) {
const bothSymlinks =
srcStat.isSymbolicLink() && destStat.isSymbolicLink();
const bothFolders =
srcStat.isDirectory() && destStat.isDirectory();
const bothFiles = srcStat.isFile() && destStat.isFile();
// EINVAL access errors sometimes happen which shouldn't because node shouldn't be giving
// us modes that aren't valid. investigate this, it's generally safe to proceed.
/* if (srcStat.mode !== destStat.mode) {
try {
await access(dest, srcStat.mode);
} catch (err) {}
} */
if (bothFiles && artifactFiles.has(dest)) {
// this file gets changed during build, likely by a custom install script. Don't bother checking it.
onDone();
reporter.verbose(
reporter.lang("verboseFileSkipArtifact", src),
);
return;
}
if (
bothFiles &&
srcStat.size === destStat.size &&
(0,
(_fsNormalized || _load_fsNormalized()).fileDatesEqual)(
srcStat.mtime,
destStat.mtime,
)
) {
// we can safely assume this is the same file
onDone();
reporter.verbose(
reporter.lang(
"verboseFileSkip",
src,
dest,
srcStat.size,
+srcStat.mtime,
),
);
return;
}
if (bothSymlinks) {
const srcReallink = yield readlink(src);
if (srcReallink === (yield readlink(dest))) {
// if both symlinks are the same then we can continue on
onDone();
reporter.verbose(
reporter.lang(
"verboseFileSkipSymlink",
src,
dest,
srcReallink,
),
);
return;
}
}
if (bothFolders) {
// mark files that aren't in this folder as possibly extraneous
const destFiles = yield readdir(dest);
invariant(srcFiles, "src files not initialised");
for (
var _iterator4 = destFiles,
_isArray4 = Array.isArray(_iterator4),
_i4 = 0,
_iterator4 = _isArray4
? _iterator4
: _iterator4[Symbol.iterator]();
;
) {
var _ref6;
if (_isArray4) {
if (_i4 >= _iterator4.length) break;
_ref6 = _iterator4[_i4++];
} else {
_i4 = _iterator4.next();
if (_i4.done) break;
_ref6 = _i4.value;
}
const file = _ref6;
if (srcFiles.indexOf(file) < 0) {
const loc = (_path || _load_path()).default.join(
dest,
file,
);
possibleExtraneous.add(loc);
if ((yield lstat(loc)).isDirectory()) {
for (
var _iterator5 = yield readdir(loc),
_isArray5 = Array.isArray(_iterator5),
_i5 = 0,
_iterator5 = _isArray5
? _iterator5
: _iterator5[Symbol.iterator]();
;
) {
var _ref7;
if (_isArray5) {
if (_i5 >= _iterator5.length) break;
_ref7 = _iterator5[_i5++];
} else {
_i5 = _iterator5.next();
if (_i5.done) break;
_ref7 = _i5.value;
}
const file = _ref7;
possibleExtraneous.add(
(_path || _load_path()).default.join(loc, file),
);
}
}
}
}
}
}
if (destStat && destStat.isSymbolicLink()) {
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(
dest,
);
destStat = null;
}
if (srcStat.isSymbolicLink()) {
onFresh();
const linkname = yield readlink(src);
actions.symlink.push({
dest,
linkname,
});
onDone();
} else if (srcStat.isDirectory()) {
if (!destStat) {
reporter.verbose(
reporter.lang("verboseFileFolder", dest),
);
yield mkdirp(dest);
}
const destParts = dest.split(
(_path || _load_path()).default.sep,
);
while (destParts.length) {
files.add(
destParts
.join((_path || _load_path()).default.sep)
.toLowerCase(),
);
destParts.pop();
}
// push all files to queue
invariant(srcFiles, "src files not initialised");
let remaining = srcFiles.length;
if (!remaining) {
onDone();
}
for (
var _iterator6 = srcFiles,
_isArray6 = Array.isArray(_iterator6),
_i6 = 0,
_iterator6 = _isArray6
? _iterator6
: _iterator6[Symbol.iterator]();
;
) {
var _ref8;
if (_isArray6) {
if (_i6 >= _iterator6.length) break;
_ref8 = _iterator6[_i6++];
} else {
_i6 = _iterator6.next();
if (_i6.done) break;
_ref8 = _i6.value;
}
const file = _ref8;
queue.push({
dest: (_path || _load_path()).default.join(dest, file),
onFresh,
onDone: (function (_onDone) {
function onDone() {
return _onDone.apply(this, arguments);
}
onDone.toString = function () {
return _onDone.toString();
};
return onDone;
})(function () {
if (--remaining === 0) {
onDone();
}
}),
src: (_path || _load_path()).default.join(src, file),
});
}
} else if (srcStat.isFile()) {
onFresh();
actions.file.push({
src,
dest,
atime: srcStat.atime,
mtime: srcStat.mtime,
mode: srcStat.mode,
});
onDone();
} else {
throw new Error(`unsure how to copy this: ${src}`);
}
},
);
return function build(_x5) {
return _ref5.apply(this, arguments);
};
})();
const artifactFiles = new Set(events.artifactFiles || []);
const files = new Set();
// initialise events
for (
var _iterator = queue,
_isArray = Array.isArray(_iterator),
_i = 0,
_iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();
;
) {
var _ref2;
if (_isArray) {
if (_i >= _iterator.length) break;
_ref2 = _iterator[_i++];
} else {
_i = _iterator.next();
if (_i.done) break;
_ref2 = _i.value;
}
const item = _ref2;
const onDone = item.onDone;
item.onDone = function () {
events.onProgress(item.dest);
if (onDone) {
onDone();
}
};
}
events.onStart(queue.length);
// start building actions
const actions = {
file: [],
symlink: [],
link: [],
};
// custom concurrency logic as we're always executing stacks of CONCURRENT_QUEUE_ITEMS queue items
// at a time due to the requirement to push items onto the queue
while (queue.length) {
const items = queue.splice(0, CONCURRENT_QUEUE_ITEMS);
yield Promise.all(items.map(build));
}
// simulate the existence of some files to prevent considering them extraneous
for (
var _iterator2 = artifactFiles,
_isArray2 = Array.isArray(_iterator2),
_i2 = 0,
_iterator2 = _isArray2
? _iterator2
: _iterator2[Symbol.iterator]();
;
) {
var _ref3;
if (_isArray2) {
if (_i2 >= _iterator2.length) break;
_ref3 = _iterator2[_i2++];
} else {
_i2 = _iterator2.next();
if (_i2.done) break;
_ref3 = _i2.value;
}
const file = _ref3;
if (possibleExtraneous.has(file)) {
reporter.verbose(
reporter.lang("verboseFilePhantomExtraneous", file),
);
possibleExtraneous.delete(file);
}
}
for (
var _iterator3 = possibleExtraneous,
_isArray3 = Array.isArray(_iterator3),
_i3 = 0,
_iterator3 = _isArray3
? _iterator3
: _iterator3[Symbol.iterator]();
;
) {
var _ref4;
if (_isArray3) {
if (_i3 >= _iterator3.length) break;
_ref4 = _iterator3[_i3++];
} else {
_i3 = _iterator3.next();
if (_i3.done) break;
_ref4 = _i3.value;
}
const loc = _ref4;
if (files.has(loc.toLowerCase())) {
possibleExtraneous.delete(loc);
}
}
return actions;
},
);
return function buildActionsForCopy(_x, _x2, _x3, _x4) {
return _ref.apply(this, arguments);
};
})();
let buildActionsForHardlink = (() => {
var _ref9 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (queue, events, possibleExtraneous, reporter) {
//
let build = (() => {
var _ref13 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (data) {
const src = data.src,
dest = data.dest;
const onFresh = data.onFresh || noop;
const onDone = data.onDone || noop;
if (files.has(dest.toLowerCase())) {
// Fixes issue https://github.com/yarnpkg/yarn/issues/2734
// When bulk hardlinking we have A -> B structure that we want to hardlink to A1 -> B1,
// package-linker passes that modules A1 and B1 need to be hardlinked,
// the recursive linking algorithm of A1 ends up scheduling files in B1 to be linked twice which will case
// an exception.
onDone();
return;
}
files.add(dest.toLowerCase());
if (
events.ignoreBasenames.indexOf(
(_path || _load_path()).default.basename(src),
) >= 0
) {
// ignored file
return;
}
const srcStat = yield lstat(src);
let srcFiles;
if (srcStat.isDirectory()) {
srcFiles = yield readdir(src);
}
const destExists = yield exists(dest);
if (destExists) {
const destStat = yield lstat(dest);
const bothSymlinks =
srcStat.isSymbolicLink() && destStat.isSymbolicLink();
const bothFolders =
srcStat.isDirectory() && destStat.isDirectory();
const bothFiles = srcStat.isFile() && destStat.isFile();
if (srcStat.mode !== destStat.mode) {
try {
yield access(dest, srcStat.mode);
} catch (err) {
// EINVAL access errors sometimes happen which shouldn't because node shouldn't be giving
// us modes that aren't valid. investigate this, it's generally safe to proceed.
reporter.verbose(err);
}
}
if (bothFiles && artifactFiles.has(dest)) {
// this file gets changed during build, likely by a custom install script. Don't bother checking it.
onDone();
reporter.verbose(
reporter.lang("verboseFileSkipArtifact", src),
);
return;
}
// correct hardlink
if (
bothFiles &&
srcStat.ino !== null &&
srcStat.ino === destStat.ino
) {
onDone();
reporter.verbose(
reporter.lang(
"verboseFileSkip",
src,
dest,
srcStat.ino,
),
);
return;
}
if (bothSymlinks) {
const srcReallink = yield readlink(src);
if (srcReallink === (yield readlink(dest))) {
// if both symlinks are the same then we can continue on
onDone();
reporter.verbose(
reporter.lang(
"verboseFileSkipSymlink",
src,
dest,
srcReallink,
),
);
return;
}
}
if (bothFolders) {
// mark files that aren't in this folder as possibly extraneous
const destFiles = yield readdir(dest);
invariant(srcFiles, "src files not initialised");
for (
var _iterator10 = destFiles,
_isArray10 = Array.isArray(_iterator10),
_i10 = 0,
_iterator10 = _isArray10
? _iterator10
: _iterator10[Symbol.iterator]();
;
) {
var _ref14;
if (_isArray10) {
if (_i10 >= _iterator10.length) break;
_ref14 = _iterator10[_i10++];
} else {
_i10 = _iterator10.next();
if (_i10.done) break;
_ref14 = _i10.value;
}
const file = _ref14;
if (srcFiles.indexOf(file) < 0) {
const loc = (_path || _load_path()).default.join(
dest,
file,
);
possibleExtraneous.add(loc);
if ((yield lstat(loc)).isDirectory()) {
for (
var _iterator11 = yield readdir(loc),
_isArray11 = Array.isArray(_iterator11),
_i11 = 0,
_iterator11 = _isArray11
? _iterator11
: _iterator11[Symbol.iterator]();
;
) {
var _ref15;
if (_isArray11) {
if (_i11 >= _iterator11.length) break;
_ref15 = _iterator11[_i11++];
} else {
_i11 = _iterator11.next();
if (_i11.done) break;
_ref15 = _i11.value;
}
const file = _ref15;
possibleExtraneous.add(
(_path || _load_path()).default.join(loc, file),
);
}
}
}
}
}
}
if (srcStat.isSymbolicLink()) {
onFresh();
const linkname = yield readlink(src);
actions.symlink.push({
dest,
linkname,
});
onDone();
} else if (srcStat.isDirectory()) {
reporter.verbose(reporter.lang("verboseFileFolder", dest));
yield mkdirp(dest);
const destParts = dest.split(
(_path || _load_path()).default.sep,
);
while (destParts.length) {
files.add(
destParts
.join((_path || _load_path()).default.sep)
.toLowerCase(),
);
destParts.pop();
}
// push all files to queue
invariant(srcFiles, "src files not initialised");
let remaining = srcFiles.length;
if (!remaining) {
onDone();
}
for (
var _iterator12 = srcFiles,
_isArray12 = Array.isArray(_iterator12),
_i12 = 0,
_iterator12 = _isArray12
? _iterator12
: _iterator12[Symbol.iterator]();
;
) {
var _ref16;
if (_isArray12) {
if (_i12 >= _iterator12.length) break;
_ref16 = _iterator12[_i12++];
} else {
_i12 = _iterator12.next();
if (_i12.done) break;
_ref16 = _i12.value;
}
const file = _ref16;
queue.push({
onFresh,
src: (_path || _load_path()).default.join(src, file),
dest: (_path || _load_path()).default.join(dest, file),
onDone: (function (_onDone2) {
function onDone() {
return _onDone2.apply(this, arguments);
}
onDone.toString = function () {
return _onDone2.toString();
};
return onDone;
})(function () {
if (--remaining === 0) {
onDone();
}
}),
});
}
} else if (srcStat.isFile()) {
onFresh();
actions.link.push({
src,
dest,
removeDest: destExists,
});
onDone();
} else {
throw new Error(`unsure how to copy this: ${src}`);
}
},
);
return function build(_x10) {
return _ref13.apply(this, arguments);
};
})();
const artifactFiles = new Set(events.artifactFiles || []);
const files = new Set();
// initialise events
for (
var _iterator7 = queue,
_isArray7 = Array.isArray(_iterator7),
_i7 = 0,
_iterator7 = _isArray7
? _iterator7
: _iterator7[Symbol.iterator]();
;
) {
var _ref10;
if (_isArray7) {
if (_i7 >= _iterator7.length) break;
_ref10 = _iterator7[_i7++];
} else {
_i7 = _iterator7.next();
if (_i7.done) break;
_ref10 = _i7.value;
}
const item = _ref10;
const onDone = item.onDone || noop;
item.onDone = function () {
events.onProgress(item.dest);
onDone();
};
}
events.onStart(queue.length);
// start building actions
const actions = {
file: [],
symlink: [],
link: [],
};
// custom concurrency logic as we're always executing stacks of CONCURRENT_QUEUE_ITEMS queue items
// at a time due to the requirement to push items onto the queue
while (queue.length) {
const items = queue.splice(0, CONCURRENT_QUEUE_ITEMS);
yield Promise.all(items.map(build));
}
// simulate the existence of some files to prevent considering them extraneous
for (
var _iterator8 = artifactFiles,
_isArray8 = Array.isArray(_iterator8),
_i8 = 0,
_iterator8 = _isArray8
? _iterator8
: _iterator8[Symbol.iterator]();
;
) {
var _ref11;
if (_isArray8) {
if (_i8 >= _iterator8.length) break;
_ref11 = _iterator8[_i8++];
} else {
_i8 = _iterator8.next();
if (_i8.done) break;
_ref11 = _i8.value;
}
const file = _ref11;
if (possibleExtraneous.has(file)) {
reporter.verbose(
reporter.lang("verboseFilePhantomExtraneous", file),
);
possibleExtraneous.delete(file);
}
}
for (
var _iterator9 = possibleExtraneous,
_isArray9 = Array.isArray(_iterator9),
_i9 = 0,
_iterator9 = _isArray9
? _iterator9
: _iterator9[Symbol.iterator]();
;
) {
var _ref12;
if (_isArray9) {
if (_i9 >= _iterator9.length) break;
_ref12 = _iterator9[_i9++];
} else {
_i9 = _iterator9.next();
if (_i9.done) break;
_ref12 = _i9.value;
}
const loc = _ref12;
if (files.has(loc.toLowerCase())) {
possibleExtraneous.delete(loc);
}
}
return actions;
},
);
return function buildActionsForHardlink(_x6, _x7, _x8, _x9) {
return _ref9.apply(this, arguments);
};
})();
let copyBulk = (exports.copyBulk = (() => {
var _ref17 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (queue, reporter, _events) {
const events = {
onStart: (_events && _events.onStart) || noop,
onProgress: (_events && _events.onProgress) || noop,
possibleExtraneous: _events
? _events.possibleExtraneous
: new Set(),
ignoreBasenames: (_events && _events.ignoreBasenames) || [],
artifactFiles: (_events && _events.artifactFiles) || [],
};
const actions = yield buildActionsForCopy(
queue,
events,
events.possibleExtraneous,
reporter,
);
events.onStart(
actions.file.length +
actions.symlink.length +
actions.link.length,
);
const fileActions = actions.file;
const currentlyWriting = new Map();
yield (_promise || _load_promise()).queue(
fileActions,
(() => {
var _ref18 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (data) {
let writePromise;
while ((writePromise = currentlyWriting.get(data.dest))) {
yield writePromise;
}
reporter.verbose(
reporter.lang("verboseFileCopy", data.src, data.dest),
);
const copier = (0,
(_fsNormalized || _load_fsNormalized()).copyFile)(
data,
function () {
return currentlyWriting.delete(data.dest);
},
);
currentlyWriting.set(data.dest, copier);
events.onProgress(data.dest);
return copier;
},
);
return function (_x14) {
return _ref18.apply(this, arguments);
};
})(),
CONCURRENT_QUEUE_ITEMS,
);
// we need to copy symlinks last as they could reference files we were copying
const symlinkActions = actions.symlink;
yield (_promise || _load_promise()).queue(
symlinkActions,
function (data) {
const linkname = (_path || _load_path()).default.resolve(
(_path || _load_path()).default.dirname(data.dest),
data.linkname,
);
reporter.verbose(
reporter.lang("verboseFileSymlink", data.dest, linkname),
);
return symlink(linkname, data.dest);
},
);
},
);
return function copyBulk(_x11, _x12, _x13) {
return _ref17.apply(this, arguments);
};
})());
let hardlinkBulk = (exports.hardlinkBulk = (() => {
var _ref19 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (queue, reporter, _events) {
const events = {
onStart: (_events && _events.onStart) || noop,
onProgress: (_events && _events.onProgress) || noop,
possibleExtraneous: _events
? _events.possibleExtraneous
: new Set(),
artifactFiles: (_events && _events.artifactFiles) || [],
ignoreBasenames: [],
};
const actions = yield buildActionsForHardlink(
queue,
events,
events.possibleExtraneous,
reporter,
);
events.onStart(
actions.file.length +
actions.symlink.length +
actions.link.length,
);
const fileActions = actions.link;
yield (_promise || _load_promise()).queue(
fileActions,
(() => {
var _ref20 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (data) {
reporter.verbose(
reporter.lang("verboseFileLink", data.src, data.dest),
);
if (data.removeDest) {
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(
data.dest,
);
}
yield link(data.src, data.dest);
},
);
return function (_x18) {
return _ref20.apply(this, arguments);
};
})(),
CONCURRENT_QUEUE_ITEMS,
);
// we need to copy symlinks last as they could reference files we were copying
const symlinkActions = actions.symlink;
yield (_promise || _load_promise()).queue(
symlinkActions,
function (data) {
const linkname = (_path || _load_path()).default.resolve(
(_path || _load_path()).default.dirname(data.dest),
data.linkname,
);
reporter.verbose(
reporter.lang("verboseFileSymlink", data.dest, linkname),
);
return symlink(linkname, data.dest);
},
);
},
);
return function hardlinkBulk(_x15, _x16, _x17) {
return _ref19.apply(this, arguments);
};
})());
let readFileAny = (exports.readFileAny = (() => {
var _ref21 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (files) {
for (
var _iterator13 = files,
_isArray13 = Array.isArray(_iterator13),
_i13 = 0,
_iterator13 = _isArray13
? _iterator13
: _iterator13[Symbol.iterator]();
;
) {
var _ref22;
if (_isArray13) {
if (_i13 >= _iterator13.length) break;
_ref22 = _iterator13[_i13++];
} else {
_i13 = _iterator13.next();
if (_i13.done) break;
_ref22 = _i13.value;
}
const file = _ref22;
if (yield exists(file)) {
return readFile(file);
}
}
return null;
},
);
return function readFileAny(_x19) {
return _ref21.apply(this, arguments);
};
})());
let readJson = (exports.readJson = (() => {
var _ref23 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (loc) {
return (yield readJsonAndFile(loc)).object;
},
);
return function readJson(_x20) {
return _ref23.apply(this, arguments);
};
})());
let readJsonAndFile = (exports.readJsonAndFile = (() => {
var _ref24 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (loc) {
const file = yield readFile(loc);
try {
return {
object: (0, (_map || _load_map()).default)(
JSON.parse(stripBOM(file)),
),
content: file,
};
} catch (err) {
err.message = `${loc}: ${err.message}`;
throw err;
}
},
);
return function readJsonAndFile(_x21) {
return _ref24.apply(this, arguments);
};
})());
let find = (exports.find = (() => {
var _ref25 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (filename, dir) {
const parts = dir.split((_path || _load_path()).default.sep);
while (parts.length) {
const loc = parts
.concat(filename)
.join((_path || _load_path()).default.sep);
if (yield exists(loc)) {
return loc;
} else {
parts.pop();
}
}
return false;
},
);
return function find(_x22, _x23) {
return _ref25.apply(this, arguments);
};
})());
let symlink = (exports.symlink = (() => {
var _ref26 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (src, dest) {
if (process.platform !== "win32") {
// use relative paths otherwise which will be retained if the directory is moved
src = (_path || _load_path()).default.relative(
(_path || _load_path()).default.dirname(dest),
src,
);
// When path.relative returns an empty string for the current directory, we should instead use
// '.', which is a valid fs.symlink target.
src = src || ".";
}
try {
const stats = yield lstat(dest);
if (stats.isSymbolicLink()) {
const resolved = dest;
if (resolved === src) {
return;
}
}
} catch (err) {
if (err.code !== "ENOENT") {
throw err;
}
}
// We use rimraf for unlink which never throws an ENOENT on missing target
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(dest);
if (process.platform === "win32") {
// use directory junctions if possible on win32, this requires absolute paths
yield fsSymlink(src, dest, "junction");
} else {
yield fsSymlink(src, dest);
}
},
);
return function symlink(_x24, _x25) {
return _ref26.apply(this, arguments);
};
})());
let walk = (exports.walk = (() => {
var _ref27 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (
dir,
relativeDir,
ignoreBasenames = new Set(),
) {
let files = [];
let filenames = yield readdir(dir);
if (ignoreBasenames.size) {
filenames = filenames.filter(function (name) {
return !ignoreBasenames.has(name);
});
}
for (
var _iterator14 = filenames,
_isArray14 = Array.isArray(_iterator14),
_i14 = 0,
_iterator14 = _isArray14
? _iterator14
: _iterator14[Symbol.iterator]();
;
) {
var _ref28;
if (_isArray14) {
if (_i14 >= _iterator14.length) break;
_ref28 = _iterator14[_i14++];
} else {
_i14 = _iterator14.next();
if (_i14.done) break;
_ref28 = _i14.value;
}
const name = _ref28;
const relative = relativeDir
? (_path || _load_path()).default.join(relativeDir, name)
: name;
const loc = (_path || _load_path()).default.join(dir, name);
const stat = yield lstat(loc);
files.push({
relative,
basename: name,
absolute: loc,
mtime: +stat.mtime,
});
if (stat.isDirectory()) {
files = files.concat(yield walk(loc, relative, ignoreBasenames));
}
}
return files;
});
return function walk(_x26, _x27) {
return _ref27.apply(this, arguments);
};
})());
let getFileSizeOnDisk = (exports.getFileSizeOnDisk = (() => {
var _ref29 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (loc) {
const stat = yield lstat(loc);
const size = stat.size,
blockSize = stat.blksize;
return Math.ceil(size / blockSize) * blockSize;
},
);
return function getFileSizeOnDisk(_x28) {
return _ref29.apply(this, arguments);
};
})());
let getEolFromFile = (() => {
var _ref30 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (path) {
if (!(yield exists(path))) {
return undefined;
}
const buffer = yield readFileBuffer(path);
for (let i = 0; i < buffer.length; ++i) {
if (buffer[i] === cr) {
return "\r\n";
}
if (buffer[i] === lf) {
return "\n";
}
}
return undefined;
},
);
return function getEolFromFile(_x29) {
return _ref30.apply(this, arguments);
};
})();
let writeFilePreservingEol = (exports.writeFilePreservingEol = (() => {
var _ref31 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (path, data) {
const eol =
(yield getEolFromFile(path)) || (_os || _load_os()).default.EOL;
if (eol !== "\n") {
data = data.replace(/\n/g, eol);
}
yield writeFile(path, data);
},
);
return function writeFilePreservingEol(_x30, _x31) {
return _ref31.apply(this, arguments);
};
})());
let hardlinksWork = (exports.hardlinksWork = (() => {
var _ref32 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (dir) {
const filename = "test-file" + Math.random();
const file = (_path || _load_path()).default.join(dir, filename);
const fileLink = (_path || _load_path()).default.join(
dir,
filename + "-link",
);
try {
yield writeFile(file, "test");
yield link(file, fileLink);
} catch (err) {
return false;
} finally {
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(file);
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(
fileLink,
);
}
return true;
},
);
return function hardlinksWork(_x32) {
return _ref32.apply(this, arguments);
};
})());
// not a strict polyfill for Node's fs.mkdtemp
let makeTempDir = (exports.makeTempDir = (() => {
var _ref33 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (prefix) {
const dir = (_path || _load_path()).default.join(
(_os || _load_os()).default.tmpdir(),
`yarn-${prefix || ""}-${Date.now()}-${Math.random()}`,
);
yield (0, (_fsNormalized || _load_fsNormalized()).unlink)(dir);
yield mkdirp(dir);
return dir;
},
);
return function makeTempDir(_x33) {
return _ref33.apply(this, arguments);
};
})());
let readFirstAvailableStream = (exports.readFirstAvailableStream =
(() => {
var _ref34 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* (paths) {
for (
var _iterator15 = paths,
_isArray15 = Array.isArray(_iterator15),
_i15 = 0,
_iterator15 = _isArray15
? _iterator15
: _iterator15[Symbol.iterator]();
;
) {
var _ref35;
if (_isArray15) {
if (_i15 >= _iterator15.length) break;
_ref35 = _iterator15[_i15++];
} else {
_i15 = _iterator15.next();
if (_i15.done) break;
_ref35 = _i15.value;
}
const path = _ref35;
try {
const fd = yield open(path, "r");
return (_fs || _load_fs()).default.createReadStream(path, {
fd,
});
} catch (err) {
// Try the next one
}
}
return null;
},
);
return function readFirstAvailableStream(_x34) {
return _ref34.apply(this, arguments);
};
})());
let getFirstSuitableFolder = (exports.getFirstSuitableFolder = (() => {
var _ref36 = (0,
(_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (
paths,
mode = constants.W_OK | constants.X_OK,
) {
const result = {
skipped: [],
folder: null,
};
for (
var _iterator16 = paths,
_isArray16 = Array.isArray(_iterator16),
_i16 = 0,
_iterator16 = _isArray16
? _iterator16
: _iterator16[Symbol.iterator]();
;
) {
var _ref37;
if (_isArray16) {
if (_i16 >= _iterator16.length) break;
_ref37 = _iterator16[_i16++];
} else {
_i16 = _iterator16.next();
if (_i16.done) break;
_ref37 = _i16.value;
}
const folder = _ref37;
try {
yield mkdirp(folder);
yield access(folder, mode);
result.folder = folder;
return result;
} catch (error) {
result.skipped.push({
error,
folder,
});
}
}
return result;
});
return function getFirstSuitableFolder(_x35) {
return _ref36.apply(this, arguments);
};
})());
exports.copy = copy;
exports.readFile = readFile;
exports.readFileRaw = readFileRaw;
exports.normalizeOS = normalizeOS;
var _fs;
function _load_fs() {
return (_fs = _interopRequireDefault(__webpack_require__(4)));
}
var _glob;
function _load_glob() {
return (_glob = _interopRequireDefault(__webpack_require__(99)));
}
var _os;
function _load_os() {
return (_os = _interopRequireDefault(__webpack_require__(42)));
}
var _path;
function _load_path() {
return (_path = _interopRequireDefault(__webpack_require__(0)));
}
var _blockingQueue;
function _load_blockingQueue() {
return (_blockingQueue = _interopRequireDefault(
__webpack_require__(110),
));
}
var _promise;
function _load_promise() {
return (_promise = _interopRequireWildcard(__webpack_require__(51)));
}
var _promise2;
function _load_promise2() {
return (_promise2 = __webpack_require__(51));
}
var _map;
function _load_map() {
return (_map = _interopRequireDefault(__webpack_require__(30)));
}
var _fsNormalized;
function _load_fsNormalized() {
return (_fsNormalized = __webpack_require__(216));
}
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key))
newObj[key] = obj[key];
}
}
newObj.default = obj;
return newObj;
}
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
const constants = (exports.constants =
typeof (_fs || _load_fs()).default.constants !== "undefined"
? (_fs || _load_fs()).default.constants
: {
R_OK: (_fs || _load_fs()).default.R_OK,
W_OK: (_fs || _load_fs()).default.W_OK,
X_OK: (_fs || _load_fs()).default.X_OK,
});
const lockQueue = (exports.lockQueue = new (
_blockingQueue || _load_blockingQueue()
).default("fs lock"));
const readFileBuffer = (exports.readFileBuffer = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.readFile,
));
const open = (exports.open = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.open,
));
const writeFile = (exports.writeFile = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.writeFile,
));
const readlink = (exports.readlink = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.readlink,
));
const realpath = (exports.realpath = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.realpath,
));
const readdir = (exports.readdir = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.readdir,
));
const rename = (exports.rename = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.rename,
));
const access = (exports.access = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.access,
));
const stat = (exports.stat = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.stat,
));
const mkdirp = (exports.mkdirp = (0,
(_promise2 || _load_promise2()).promisify)(__webpack_require__(145)));
const exists = (exports.exists = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.exists,
true,
));
const lstat = (exports.lstat = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.lstat,
));
const chmod = (exports.chmod = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.chmod,
));
const link = (exports.link = (0,
(_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.link,
));
const glob = (exports.glob = (0,
(_promise2 || _load_promise2()).promisify)(
(_glob || _load_glob()).default,
));
exports.unlink = (_fsNormalized || _load_fsNormalized()).unlink;
// fs.copyFile uses the native file copying instructions on the system, performing much better
// than any JS-based solution and consumes fewer resources. Repeated testing to fine tune the
// concurrency level revealed 128 as the sweet spot on a quad-core, 16 CPU Intel system with SSD.
const CONCURRENT_QUEUE_ITEMS = (_fs || _load_fs()).default.copyFile
? 128
: 4;
const fsSymlink = (0, (_promise2 || _load_promise2()).promisify)(
(_fs || _load_fs()).default.symlink,
);
const invariant = __webpack_require__(9);
const stripBOM = __webpack_require__(160);
const noop = () => {};
function copy(src, dest, reporter) {
return copyBulk([{ src, dest }], reporter);
}
function _readFile(loc, encoding) {
return new Promise((resolve, reject) => {
(_fs || _load_fs()).default.readFile(
loc,
encoding,
function (err, content) {
if (err) {
reject(err);
} else {
resolve(content);
}
},
);
});
}
function readFile(loc) {
return _readFile(loc, "utf8").then(normalizeOS);
}
function readFileRaw(loc) {
return _readFile(loc, "binary");
}
function normalizeOS(body) {
return body.replace(/\r\n/g, "\n");
}
const cr = "\r".charCodeAt(0);
const lf = "\n".charCodeAt(0);
/***/
},
/* 6 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
class MessageError extends Error {
constructor(msg, code) {
super(msg);
this.code = code;
}
}
exports.MessageError = MessageError;
class ProcessSpawnError extends MessageError {
constructor(msg, code, process) {
super(msg, code);
this.process = process;
}
}
exports.ProcessSpawnError = ProcessSpawnError;
class SecurityError extends MessageError {}
exports.SecurityError = SecurityError;
class ProcessTermError extends MessageError {}
exports.ProcessTermError = ProcessTermError;
class ResponseError extends Error {
constructor(msg, responseCode) {
super(msg);
this.responseCode = responseCode;
}
}
exports.ResponseError = ResponseError;
class OneTimePasswordError extends Error {
constructor(notice) {
super();
this.notice = notice;
}
}
exports.OneTimePasswordError = OneTimePasswordError;
/***/
},
/* 7 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(
__webpack_exports__,
"a",
function () {
return Subscriber;
},
);
/* unused harmony export SafeSubscriber */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ =
__webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_isFunction__ =
__webpack_require__(154);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Observer__ =
__webpack_require__(420);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Subscription__ =
__webpack_require__(25);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__internal_symbol_rxSubscriber__ =
__webpack_require__(321);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ =
__webpack_require__(186);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__util_hostReportError__ =
__webpack_require__(323);
/** PURE_IMPORTS_START tslib,_util_isFunction,_Observer,_Subscription,_internal_symbol_rxSubscriber,_config,_util_hostReportError PURE_IMPORTS_END */
var Subscriber = /*@__PURE__*/ (function (_super) {
__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __extends */](
Subscriber,
_super,
);
function Subscriber(destinationOrNext, error, complete) {
var _this = _super.call(this) || this;
_this.syncErrorValue = null;
_this.syncErrorThrown = false;
_this.syncErrorThrowable = false;
_this.isStopped = false;
_this._parentSubscription = null;
switch (arguments.length) {
case 0:
_this.destination =
__WEBPACK_IMPORTED_MODULE_2__Observer__["a" /* empty */];
break;
case 1:
if (!destinationOrNext) {
_this.destination =
__WEBPACK_IMPORTED_MODULE_2__Observer__["a" /* empty */];
break;
}
if (typeof destinationOrNext === "object") {
if (destinationOrNext instanceof Subscriber) {
_this.syncErrorThrowable =
destinationOrNext.syncErrorThrowable;
_this.destination = destinationOrNext;
destinationOrNext.add(_this);
} else {
_this.syncErrorThrowable = true;
_this.destination = new SafeSubscriber(
_this,
destinationOrNext,
);
}
break;
}
default:
_this.syncErrorThrowable = true;
_this.destination = new SafeSubscriber(
_this,
destinationOrNext,
error,
complete,
);
break;
}
return _this;
}
Subscriber.prototype[
__WEBPACK_IMPORTED_MODULE_4__internal_symbol_rxSubscriber__[
"a" /* rxSubscriber */
]
] = function () {
return this;
};
Subscriber.create = function (next, error, complete) {
var subscriber = new Subscriber(next, error, complete);
subscriber.syncErrorThrowable = false;
return subscriber;
};
Subscriber.prototype.next = function (value) {
if (!this.isStopped) {
this._next(value);
}
};
Subscriber.prototype.error = function (err) {
if (!this.isStopped) {
this.isStopped = true;
this._error(err);
}
};
Subscriber.prototype.complete = function () {
if (!this.isStopped) {
this.isStopped = true;
this._complete();
}
};
Subscriber.prototype.unsubscribe = function () {
if (this.closed) {
return;
}
this.isStopped = true;
_super.prototype.unsubscribe.call(this);
};
Subscriber.prototype._next = function (value) {
this.destination.next(value);
};
Subscriber.prototype._error = function (err) {
this.destination.error(err);
this.unsubscribe();
};
Subscriber.prototype._complete = function () {
this.destination.complete();
this.unsubscribe();
};
Subscriber.prototype._unsubscribeAndRecycle = function () {
var _a = this,
_parent = _a._parent,
_parents = _a._parents;
this._parent = null;
this._parents = null;
this.unsubscribe();
this.closed = false;
this.isStopped = false;
this._parent = _parent;
this._parents = _parents;
this._parentSubscription = null;
return this;
};
return Subscriber;
})(__WEBPACK_IMPORTED_MODULE_3__Subscription__["a" /* Subscription */]);
var SafeSubscriber = /*@__PURE__*/ (function (_super) {
__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __extends */](
SafeSubscriber,
_super,
);
function SafeSubscriber(
_parentSubscriber,
observerOrNext,
error,
complete,
) {
var _this = _super.call(this) || this;
_this._parentSubscriber = _parentSubscriber;
var next;
var context = _this;
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_1__util_isFunction__[
"a" /* isFunction */
],
)(observerOrNext)
) {
next = observerOrNext;
} else if (observerOrNext) {
next = observerOrNext.next;
error = observerOrNext.error;
complete = observerOrNext.complete;
if (
observerOrNext !==
__WEBPACK_IMPORTED_MODULE_2__Observer__["a" /* empty */]
) {
context = Object.create(observerOrNext);
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_1__util_isFunction__[
"a" /* isFunction */
],
)(context.unsubscribe)
) {
_this.add(context.unsubscribe.bind(context));
}
context.unsubscribe = _this.unsubscribe.bind(_this);
}
}
_this._context = context;
_this._next = next;
_this._error = error;
_this._complete = complete;
return _this;
}
SafeSubscriber.prototype.next = function (value) {
if (!this.isStopped && this._next) {
var _parentSubscriber = this._parentSubscriber;
if (
!__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling ||
!_parentSubscriber.syncErrorThrowable
) {
this.__tryOrUnsub(this._next, value);
} else if (
this.__tryOrSetError(_parentSubscriber, this._next, value)
) {
this.unsubscribe();
}
}
};
SafeSubscriber.prototype.error = function (err) {
if (!this.isStopped) {
var _parentSubscriber = this._parentSubscriber;
var useDeprecatedSynchronousErrorHandling =
__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling;
if (this._error) {
if (
!useDeprecatedSynchronousErrorHandling ||
!_parentSubscriber.syncErrorThrowable
) {
this.__tryOrUnsub(this._error, err);
this.unsubscribe();
} else {
this.__tryOrSetError(_parentSubscriber, this._error, err);
this.unsubscribe();
}
} else if (!_parentSubscriber.syncErrorThrowable) {
this.unsubscribe();
if (useDeprecatedSynchronousErrorHandling) {
throw err;
}
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_6__util_hostReportError__[
"a" /* hostReportError */
],
)(err);
} else {
if (useDeprecatedSynchronousErrorHandling) {
_parentSubscriber.syncErrorValue = err;
_parentSubscriber.syncErrorThrown = true;
} else {
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_6__util_hostReportError__[
"a" /* hostReportError */
],
)(err);
}
this.unsubscribe();
}
}
};
SafeSubscriber.prototype.complete = function () {
var _this = this;
if (!this.isStopped) {
var _parentSubscriber = this._parentSubscriber;
if (this._complete) {
var wrappedComplete = function () {
return _this._complete.call(_this._context);
};
if (
!__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling ||
!_parentSubscriber.syncErrorThrowable
) {
this.__tryOrUnsub(wrappedComplete);
this.unsubscribe();
} else {
this.__tryOrSetError(_parentSubscriber, wrappedComplete);
this.unsubscribe();
}
} else {
this.unsubscribe();
}
}
};
SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {
try {
fn.call(this._context, value);
} catch (err) {
this.unsubscribe();
if (
__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling
) {
throw err;
} else {
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_6__util_hostReportError__[
"a" /* hostReportError */
],
)(err);
}
}
};
SafeSubscriber.prototype.__tryOrSetError = function (
parent,
fn,
value,
) {
if (
!__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling
) {
throw new Error("bad call");
}
try {
fn.call(this._context, value);
} catch (err) {
if (
__WEBPACK_IMPORTED_MODULE_5__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling
) {
parent.syncErrorValue = err;
parent.syncErrorThrown = true;
return true;
} else {
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_6__util_hostReportError__[
"a" /* hostReportError */
],
)(err);
return true;
}
}
return false;
};
SafeSubscriber.prototype._unsubscribe = function () {
var _parentSubscriber = this._parentSubscriber;
this._context = null;
this._parentSubscriber = null;
_parentSubscriber.unsubscribe();
};
return SafeSubscriber;
})(Subscriber);
//# sourceMappingURL=Subscriber.js.map
/***/
},
/* 8 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.getPathKey = getPathKey;
const os = __webpack_require__(42);
const path = __webpack_require__(0);
const userHome = __webpack_require__(67).default;
var _require = __webpack_require__(222);
const getCacheDir = _require.getCacheDir,
getConfigDir = _require.getConfigDir,
getDataDir = _require.getDataDir;
const isWebpackBundle = __webpack_require__(278);
const DEPENDENCY_TYPES = (exports.DEPENDENCY_TYPES = [
"devDependencies",
"dependencies",
"optionalDependencies",
"peerDependencies",
]);
const OWNED_DEPENDENCY_TYPES = (exports.OWNED_DEPENDENCY_TYPES = [
"devDependencies",
"dependencies",
"optionalDependencies",
]);
const RESOLUTIONS = (exports.RESOLUTIONS = "resolutions");
const MANIFEST_FIELDS = (exports.MANIFEST_FIELDS = [
RESOLUTIONS,
...DEPENDENCY_TYPES,
]);
const SUPPORTED_NODE_VERSIONS = (exports.SUPPORTED_NODE_VERSIONS =
"^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0");
const YARN_REGISTRY = (exports.YARN_REGISTRY =
"https://registry.yarnpkg.com");
const NPM_REGISTRY_RE = (exports.NPM_REGISTRY_RE =
/https?:\/\/registry\.npmjs\.org/g);
const YARN_DOCS = (exports.YARN_DOCS =
"https://yarnpkg.com/en/docs/cli/");
const YARN_INSTALLER_SH = (exports.YARN_INSTALLER_SH =
"https://yarnpkg.com/install.sh");
const YARN_INSTALLER_MSI = (exports.YARN_INSTALLER_MSI =
"https://yarnpkg.com/latest.msi");
const SELF_UPDATE_VERSION_URL = (exports.SELF_UPDATE_VERSION_URL =
"https://yarnpkg.com/latest-version");
// cache version, bump whenever we make backwards incompatible changes
const CACHE_VERSION = (exports.CACHE_VERSION = 6);
// lockfile version, bump whenever we make backwards incompatible changes
const LOCKFILE_VERSION = (exports.LOCKFILE_VERSION = 1);
// max amount of network requests to perform concurrently
const NETWORK_CONCURRENCY = (exports.NETWORK_CONCURRENCY = 8);
// HTTP timeout used when downloading packages
const NETWORK_TIMEOUT = (exports.NETWORK_TIMEOUT = 30 * 1000); // in milliseconds
// max amount of child processes to execute concurrently
const CHILD_CONCURRENCY = (exports.CHILD_CONCURRENCY = 5);
const REQUIRED_PACKAGE_KEYS = (exports.REQUIRED_PACKAGE_KEYS = [
"name",
"version",
"_uid",
]);
function getPreferredCacheDirectories() {
const preferredCacheDirectories = [getCacheDir()];
if (process.getuid) {
// $FlowFixMe: process.getuid exists, dammit
preferredCacheDirectories.push(
path.join(os.tmpdir(), `.yarn-cache-${process.getuid()}`),
);
}
preferredCacheDirectories.push(path.join(os.tmpdir(), `.yarn-cache`));
return preferredCacheDirectories;
}
const PREFERRED_MODULE_CACHE_DIRECTORIES =
(exports.PREFERRED_MODULE_CACHE_DIRECTORIES =
getPreferredCacheDirectories());
const CONFIG_DIRECTORY = (exports.CONFIG_DIRECTORY = getConfigDir());
const DATA_DIRECTORY = (exports.DATA_DIRECTORY = getDataDir());
const LINK_REGISTRY_DIRECTORY = (exports.LINK_REGISTRY_DIRECTORY =
path.join(DATA_DIRECTORY, "link"));
const GLOBAL_MODULE_DIRECTORY = (exports.GLOBAL_MODULE_DIRECTORY =
path.join(DATA_DIRECTORY, "global"));
const NODE_BIN_PATH = (exports.NODE_BIN_PATH = process.execPath);
const YARN_BIN_PATH = (exports.YARN_BIN_PATH = getYarnBinPath());
// Webpack needs to be configured with node.__dirname/__filename = false
function getYarnBinPath() {
if (isWebpackBundle) {
return __filename;
} else {
return path.join(__dirname, "..", "bin", "yarn.js");
}
}
const NODE_MODULES_FOLDER = (exports.NODE_MODULES_FOLDER =
"node_modules");
const NODE_PACKAGE_JSON = (exports.NODE_PACKAGE_JSON = "package.json");
const PNP_FILENAME = (exports.PNP_FILENAME = ".pnp.js");
const POSIX_GLOBAL_PREFIX =
(exports.POSIX_GLOBAL_PREFIX = `${process.env.DESTDIR || ""}/usr/local`);
const FALLBACK_GLOBAL_PREFIX = (exports.FALLBACK_GLOBAL_PREFIX =
path.join(userHome, ".yarn"));
const META_FOLDER = (exports.META_FOLDER = ".yarn-meta");
const INTEGRITY_FILENAME = (exports.INTEGRITY_FILENAME =
".yarn-integrity");
const LOCKFILE_FILENAME = (exports.LOCKFILE_FILENAME = "yarn.lock");
const METADATA_FILENAME = (exports.METADATA_FILENAME =
".yarn-metadata.json");
const TARBALL_FILENAME = (exports.TARBALL_FILENAME = ".yarn-tarball.tgz");
const CLEAN_FILENAME = (exports.CLEAN_FILENAME = ".yarnclean");
const NPM_LOCK_FILENAME = (exports.NPM_LOCK_FILENAME =
"package-lock.json");
const NPM_SHRINKWRAP_FILENAME = (exports.NPM_SHRINKWRAP_FILENAME =
"npm-shrinkwrap.json");
const DEFAULT_INDENT = (exports.DEFAULT_INDENT = " ");
const SINGLE_INSTANCE_PORT = (exports.SINGLE_INSTANCE_PORT = 31997);
const SINGLE_INSTANCE_FILENAME = (exports.SINGLE_INSTANCE_FILENAME =
".yarn-single-instance");
const ENV_PATH_KEY = (exports.ENV_PATH_KEY = getPathKey(
process.platform,
process.env,
));
function getPathKey(platform, env) {
let pathKey = "PATH";
// windows calls its path "Path" usually, but this is not guaranteed.
if (platform === "win32") {
pathKey = "Path";
for (const key in env) {
if (key.toLowerCase() === "path") {
pathKey = key;
}
}
}
return pathKey;
}
const VERSION_COLOR_SCHEME = (exports.VERSION_COLOR_SCHEME = {
major: "red",
premajor: "red",
minor: "yellow",
preminor: "yellow",
patch: "green",
prepatch: "green",
prerelease: "red",
unchanged: "white",
unknown: "red",
});
/***/
},
/* 9 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Use invariant() to assert state which your program assumes to be true.
*
* Provide sprintf-style format (only %s is supported) and arguments
* to provide information about what broke and what you were
* expecting.
*
* The invariant message will be stripped in production, but the invariant
* will remain to ensure logic does not differ in production.
*/
var NODE_ENV = process.env.NODE_ENV;
var invariant = function (condition, format, a, b, c, d, e, f) {
if (NODE_ENV !== "production") {
if (format === undefined) {
throw new Error("invariant requires an error message argument");
}
}
if (!condition) {
var error;
if (format === undefined) {
error = new Error(
"Minified exception occurred; use the non-minified dev environment " +
"for the full error message and additional helpful warnings.",
);
} else {
var args = [a, b, c, d, e, f];
var argIndex = 0;
error = new Error(
format.replace(/%s/g, function () {
return args[argIndex++];
}),
);
error.name = "Invariant Violation";
}
error.framesToPop = 1; // we don't care about invariant's own frame
throw error;
}
};
module.exports = invariant;
/***/
},
/* 10 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
var YAMLException = __webpack_require__(55);
var TYPE_CONSTRUCTOR_OPTIONS = [
"kind",
"resolve",
"construct",
"instanceOf",
"predicate",
"represent",
"defaultStyle",
"styleAliases",
];
var YAML_NODE_KINDS = ["scalar", "sequence", "mapping"];
function compileStyleAliases(map) {
var result = {};
if (map !== null) {
Object.keys(map).forEach(function (style) {
map[style].forEach(function (alias) {
result[String(alias)] = style;
});
});
}
return result;
}
function Type(tag, options) {
options = options || {};
Object.keys(options).forEach(function (name) {
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
throw new YAMLException(
'Unknown option "' +
name +
'" is met in definition of "' +
tag +
'" YAML type.',
);
}
});
// TODO: Add tag format check.
this.tag = tag;
this.kind = options["kind"] || null;
this.resolve =
options["resolve"] ||
function () {
return true;
};
this.construct =
options["construct"] ||
function (data) {
return data;
};
this.instanceOf = options["instanceOf"] || null;
this.predicate = options["predicate"] || null;
this.represent = options["represent"] || null;
this.defaultStyle = options["defaultStyle"] || null;
this.styleAliases = compileStyleAliases(
options["styleAliases"] || null,
);
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
throw new YAMLException(
'Unknown kind "' +
this.kind +
'" is specified for "' +
tag +
'" YAML type.',
);
}
}
module.exports = Type;
/***/
},
/* 11 */
/***/ function (module, exports) {
module.exports = require("crypto");
/***/
},
/* 12 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(
__webpack_exports__,
"a",
function () {
return Observable;
},
);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util_canReportError__ =
__webpack_require__(322);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_toSubscriber__ =
__webpack_require__(932);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__internal_symbol_observable__ =
__webpack_require__(118);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util_pipe__ =
__webpack_require__(324);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__config__ =
__webpack_require__(186);
/** PURE_IMPORTS_START _util_canReportError,_util_toSubscriber,_internal_symbol_observable,_util_pipe,_config PURE_IMPORTS_END */
var Observable = /*@__PURE__*/ (function () {
function Observable(subscribe) {
this._isScalar = false;
if (subscribe) {
this._subscribe = subscribe;
}
}
Observable.prototype.lift = function (operator) {
var observable = new Observable();
observable.source = this;
observable.operator = operator;
return observable;
};
Observable.prototype.subscribe = function (
observerOrNext,
error,
complete,
) {
var operator = this.operator;
var sink = __webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_1__util_toSubscriber__[
"a" /* toSubscriber */
],
)(observerOrNext, error, complete);
if (operator) {
operator.call(sink, this.source);
} else {
sink.add(
this.source ||
(__WEBPACK_IMPORTED_MODULE_4__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling &&
!sink.syncErrorThrowable)
? this._subscribe(sink)
: this._trySubscribe(sink),
);
}
if (
__WEBPACK_IMPORTED_MODULE_4__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling
) {
if (sink.syncErrorThrowable) {
sink.syncErrorThrowable = false;
if (sink.syncErrorThrown) {
throw sink.syncErrorValue;
}
}
}
return sink;
};
Observable.prototype._trySubscribe = function (sink) {
try {
return this._subscribe(sink);
} catch (err) {
if (
__WEBPACK_IMPORTED_MODULE_4__config__["a" /* config */]
.useDeprecatedSynchronousErrorHandling
) {
sink.syncErrorThrown = true;
sink.syncErrorValue = err;
}
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_0__util_canReportError__[
"a" /* canReportError */
],
)(sink)
) {
sink.error(err);
} else {
console.warn(err);
}
}
};
Observable.prototype.forEach = function (next, promiseCtor) {
var _this = this;
promiseCtor = getPromiseCtor(promiseCtor);
return new promiseCtor(function (resolve, reject) {
var subscription;
subscription = _this.subscribe(
function (value) {
try {
next(value);
} catch (err) {
reject(err);
if (subscription) {
subscription.unsubscribe();
}
}
},
reject,
resolve,
);
});
};
Observable.prototype._subscribe = function (subscriber) {
var source = this.source;
return source && source.subscribe(subscriber);
};
Observable.prototype[
__WEBPACK_IMPORTED_MODULE_2__internal_symbol_observable__[
"a" /* observable */
]
] = function () {
return this;
};
Observable.prototype.pipe = function () {
var operations = [];
for (var _i = 0; _i < arguments.length; _i++) {
operations[_i] = arguments[_i];
}
if (operations.length === 0) {
return this;
}
return __webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_3__util_pipe__["b" /* pipeFromArray */],
)(operations)(this);
};
Observable.prototype.toPromise = function (promiseCtor) {
var _this = this;
promiseCtor = getPromiseCtor(promiseCtor);
return new promiseCtor(function (resolve, reject) {
var value;
_this.subscribe(
function (x) {
return (value = x);
},
function (err) {
return reject(err);
},
function () {
return resolve(value);
},
);
});
};
Observable.create = function (subscribe) {
return new Observable(subscribe);
};
return Observable;
})();
function getPromiseCtor(promiseCtor) {
if (!promiseCtor) {
promiseCtor =
__WEBPACK_IMPORTED_MODULE_4__config__["a" /* config */].Promise ||
Promise;
}
if (!promiseCtor) {
throw new Error("no Promise impl found");
}
return promiseCtor;
}
//# sourceMappingURL=Observable.js.map
/***/
},
/* 13 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(
__webpack_exports__,
"a",
function () {
return OuterSubscriber;
},
);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ =
__webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Subscriber__ =
__webpack_require__(7);
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
var OuterSubscriber = /*@__PURE__*/ (function (_super) {
__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __extends */](
OuterSubscriber,
_super,
);
function OuterSubscriber() {
return (_super !== null && _super.apply(this, arguments)) || this;
}
OuterSubscriber.prototype.notifyNext = function (
outerValue,
innerValue,
outerIndex,
innerIndex,
innerSub,
) {
this.destination.next(innerValue);
};
OuterSubscriber.prototype.notifyError = function (error, innerSub) {
this.destination.error(error);
};
OuterSubscriber.prototype.notifyComplete = function (innerSub) {
this.destination.complete();
};
return OuterSubscriber;
})(__WEBPACK_IMPORTED_MODULE_1__Subscriber__["a" /* Subscriber */]);
//# sourceMappingURL=OuterSubscriber.js.map
/***/
},
/* 14 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (immutable) */ __webpack_exports__["a"] =
subscribeToResult;
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InnerSubscriber__ =
__webpack_require__(84);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__subscribeTo__ =
__webpack_require__(446);
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo PURE_IMPORTS_END */
function subscribeToResult(
outerSubscriber,
result,
outerValue,
outerIndex,
destination,
) {
if (destination === void 0) {
destination = new __WEBPACK_IMPORTED_MODULE_0__InnerSubscriber__[
"a" /* InnerSubscriber */
](outerSubscriber, outerValue, outerIndex);
}
if (destination.closed) {
return;
}
return __webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_1__subscribeTo__["a" /* subscribeTo */],
)(result)(destination);
}
//# sourceMappingURL=subscribeToResult.js.map
/***/
},
/* 15 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
/* eslint-disable node/no-deprecated-api */
var buffer = __webpack_require__(64);
var Buffer = buffer.Buffer;
var safer = {};
var key;
for (key in buffer) {
if (!buffer.hasOwnProperty(key)) continue;
if (key === "SlowBuffer" || key === "Buffer") continue;
safer[key] = buffer[key];
}
var Safer = (safer.Buffer = {});
for (key in Buffer) {
if (!Buffer.hasOwnProperty(key)) continue;
if (key === "allocUnsafe" || key === "allocUnsafeSlow") continue;
Safer[key] = Buffer[key];
}
safer.Buffer.prototype = Buffer.prototype;
if (!Safer.from || Safer.from === Uint8Array.from) {
Safer.from = function (value, encodingOrOffset, length) {
if (typeof value === "number") {
throw new TypeError(
'The "value" argument must not be of type number. Received type ' +
typeof value,
);
}
if (value && typeof value.length === "undefined") {
throw new TypeError(
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
typeof value,
);
}
return Buffer(value, encodingOrOffset, length);
};
}
if (!Safer.alloc) {
Safer.alloc = function (size, fill, encoding) {
if (typeof size !== "number") {
throw new TypeError(
'The "size" argument must be of type number. Received type ' +
typeof size,
);
}
if (size < 0 || size >= 2 * (1 << 30)) {
throw new RangeError(
'The value "' + size + '" is invalid for option "size"',
);
}
var buf = Buffer(size);
if (!fill || fill.length === 0) {
buf.fill(0);
} else if (typeof encoding === "string") {
buf.fill(fill, encoding);
} else {
buf.fill(fill);
}
return buf;
};
}
if (!safer.kStringMaxLength) {
try {
safer.kStringMaxLength = process.binding("buffer").kStringMaxLength;
} catch (e) {
// we can't determine kStringMaxLength in environments where process.binding
// is unsupported, so let's not set it
}
}
if (!safer.constants) {
safer.constants = {
MAX_LENGTH: safer.kMaxLength,
};
if (safer.kStringMaxLength) {
safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength;
}
}
module.exports = safer;
/***/
},
/* 16 */
/***/ function (module, exports, __webpack_require__) {
// Copyright (c) 2012, Mark Cavage. All rights reserved.
// Copyright 2015 Joyent, Inc.
var assert = __webpack_require__(29);
var Stream = __webpack_require__(23).Stream;
var util = __webpack_require__(3);
///--- Globals
/* JSSTYLED */
var UUID_REGEXP =
/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
///--- Internal
function _capitalize(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
function _toss(name, expected, oper, arg, actual) {
throw new assert.AssertionError({
message: util.format("%s (%s) is required", name, expected),
actual: actual === undefined ? typeof arg : actual(arg),
expected: expected,
operator: oper || "===",
stackStartFunction: _toss.caller,
});
}
function _getClass(arg) {
return Object.prototype.toString.call(arg).slice(8, -1);
}
function noop() {
// Why even bother with asserts?
}
///--- Exports
var types = {
bool: {
check: function (arg) {
return typeof arg === "boolean";
},
},
func: {
check: function (arg) {
return typeof arg === "function";
},
},
string: {
check: function (arg) {
return typeof arg === "string";
},
},
object: {
check: function (arg) {
return typeof arg === "object" && arg !== null;
},
},
number: {
check: function (arg) {
return typeof arg === "number" && !isNaN(arg);
},
},
finite: {
check: function (arg) {
return typeof arg === "number" && !isNaN(arg) && isFinite(arg);
},
},
buffer: {
check: function (arg) {
return Buffer.isBuffer(arg);
},
operator: "Buffer.isBuffer",
},
array: {
check: function (arg) {
return Array.isArray(arg);
},
operator: "Array.isArray",
},
stream: {
check: function (arg) {
return arg instanceof Stream;
},
operator: "instanceof",
actual: _getClass,
},
date: {
check: function (arg) {
return arg instanceof Date;
},
operator: "instanceof",
actual: _getClass,
},
regexp: {
check: function (arg) {
return arg instanceof RegExp;
},
operator: "instanceof",
actual: _getClass,
},
uuid: {
check: function (arg) {
return typeof arg === "string" && UUID_REGEXP.test(arg);
},
operator: "isUUID",
},
};
function _setExports(ndebug) {
var keys = Object.keys(types);
var out;
/* re-export standard assert */
if (process.env.NODE_NDEBUG) {
out = noop;
} else {
out = function (arg, msg) {
if (!arg) {
_toss(msg, "true", arg);
}
};
}
/* standard checks */
keys.forEach(function (k) {
if (ndebug) {
out[k] = noop;
return;
}
var type = types[k];
out[k] = function (arg, msg) {
if (!type.check(arg)) {
_toss(msg, k, type.operator, arg, type.actual);
}
};
});
/* optional checks */
keys.forEach(function (k) {
var name = "optional" + _capitalize(k);
if (ndebug) {
out[name] = noop;
return;
}
var type = types[k];
out[name] = function (arg, msg) {
if (arg === undefined || arg === null) {
return;
}
if (!type.check(arg)) {
_toss(msg, k, type.operator, arg, type.actual);
}
};
});
/* arrayOf checks */
keys.forEach(function (k) {
var name = "arrayOf" + _capitalize(k);
if (ndebug) {
out[name] = noop;
return;
}
var type = types[k];
var expected = "[" + k + "]";
out[name] = function (arg, msg) {
if (!Array.isArray(arg)) {
_toss(msg, expected, type.operator, arg, type.actual);
}
var i;
for (i = 0; i < arg.length; i++) {
if (!type.check(arg[i])) {
_toss(msg, expected, type.operator, arg, type.actual);
}
}
};
});
/* optionalArrayOf checks */
keys.forEach(function (k) {
var name = "optionalArrayOf" + _capitalize(k);
if (ndebug) {
out[name] = noop;
return;
}
var type = types[k];
var expected = "[" + k + "]";
out[name] = function (arg, msg) {
if (arg === undefined || arg === null) {
return;
}
if (!Array.isArray(arg)) {
_toss(msg, expected, type.operator, arg, type.actual);
}
var i;
for (i = 0; i < arg.length; i++) {
if (!type.check(arg[i])) {
_toss(msg, expected, type.operator, arg, type.actual);
}
}
};
});
/* re-export built-in assertions */
Object.keys(assert).forEach(function (k) {
if (k === "AssertionError") {
out[k] = assert[k];
return;
}
if (ndebug) {
out[k] = noop;
return;
}
out[k] = assert[k];
});
/* export ourselves (for unit tests _only_) */
out._setExports = _setExports;
return out;
}
module.exports = _setExports(process.env.NODE_NDEBUG);
/***/
},
/* 17 */
/***/ function (module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = (module.exports =
typeof window != "undefined" && window.Math == Math
? window
: typeof self != "undefined" && self.Math == Math
? self
: // eslint-disable-next-line no-new-func
Function("return this")());
if (typeof __g == "number") __g = global; // eslint-disable-line no-undef
/***/
},
/* 18 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.sortAlpha = sortAlpha;
exports.sortOptionsByFlags = sortOptionsByFlags;
exports.entries = entries;
exports.removePrefix = removePrefix;
exports.removeSuffix = removeSuffix;
exports.addSuffix = addSuffix;
exports.hyphenate = hyphenate;
exports.camelCase = camelCase;
exports.compareSortedArrays = compareSortedArrays;
exports.sleep = sleep;
const _camelCase = __webpack_require__(227);
function sortAlpha(a, b) {
// sort alphabetically in a deterministic way
const shortLen = Math.min(a.length, b.length);
for (let i = 0; i < shortLen; i++) {
const aChar = a.charCodeAt(i);
const bChar = b.charCodeAt(i);
if (aChar !== bChar) {
return aChar - bChar;
}
}
return a.length - b.length;
}
function sortOptionsByFlags(a, b) {
const aOpt = a.flags.replace(/-/g, "");
const bOpt = b.flags.replace(/-/g, "");
return sortAlpha(aOpt, bOpt);
}
function entries(obj) {
const entries = [];
if (obj) {
for (const key in obj) {
entries.push([key, obj[key]]);
}
}
return entries;
}
function removePrefix(pattern, prefix) {
if (pattern.startsWith(prefix)) {
pattern = pattern.slice(prefix.length);
}
return pattern;
}
function removeSuffix(pattern, suffix) {
if (pattern.endsWith(suffix)) {
return pattern.slice(0, -suffix.length);
}
return pattern;
}
function addSuffix(pattern, suffix) {
if (!pattern.endsWith(suffix)) {
return pattern + suffix;
}
return pattern;
}
function hyphenate(str) {
return str.replace(/[A-Z]/g, (match) => {
return "-" + match.charAt(0).toLowerCase();
});
}
function camelCase(str) {
if (/[A-Z]/.test(str)) {
return null;
} else {
return _camelCase(str);
}
}
function compareSortedArrays(array1, array2) {
if (array1.length !== array2.length) {
return false;
}
for (let i = 0, len = array1.length; i < len; i++) {
if (array1[i] !== array2[i]) {
return false;
}
}
return true;
}
function sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}
/***/
},
/* 19 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.stringify = exports.parse = undefined;
var _asyncToGenerator2;
function _load_asyncToGenerator() {
return (_asyncToGenerator2 = _interopRequireDefault(
__webpack_require__(2),
));
}
var _parse;
function _load_parse() {
return (_parse = __webpack_require__(106));
}
Object.defineProperty(exports, "parse", {
enumerable: true,
get: function get() {
return _interopRequireDefault(_parse || _load_parse()).default;
},
});
var _stringify;
function _load_stringify() {
return (_stringify = __webpack_require__(200));
}
Object.defineProperty(exports, "stringify", {
enumerable: true,
get: function get() {
return _interopRequireDefault(_stringify || _load_stringify())
.default;
},
});
exports.implodeEntry = implodeEntry;
exports.explodeEntry = explodeEntry;
var _misc;
function _load_misc() {
return (_misc = __webpack_require__(18));
}
var _normalizePattern;
function _load_normalizePattern() {
return (_normalizePattern = __webpack_require__(37));
}
var _parse2;
function _load_parse2() {
return (_parse2 = _interopRequireDefault(__webpack_require__(106)));
}
var _constants;
function _load_constants() {
return (_constants = __webpack_require__(8));
}
var _fs;
function _load_fs() {
return (_fs = _interopRequireWildcard(__webpack_require__(5)));
}
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key))
newObj[key] = obj[key];
}
}
newObj.default = obj;
return newObj;
}
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
const invariant = __webpack_require__(9);
const path = __webpack_require__(0);
const ssri = __webpack_require__(65);
function getName(pattern) {
return (0,
(_normalizePattern || _load_normalizePattern()).normalizePattern)(
pattern,
).name;
}
function blankObjectUndefined(obj) {
return obj && Object.keys(obj).length ? obj : undefined;
}
function keyForRemote(remote) {
return (
remote.resolved ||
(remote.reference && remote.hash
? `${remote.reference}#${remote.hash}`
: null)
);
}
function serializeIntegrity(integrity) {
// We need this because `Integrity.toString()` does not use sorting to ensure a stable string output
// See https://git.io/vx2Hy
return integrity.toString().split(" ").sort().join(" ");
}
function implodeEntry(pattern, obj) {
const inferredName = getName(pattern);
const integrity = obj.integrity
? serializeIntegrity(obj.integrity)
: "";
const imploded = {
name: inferredName === obj.name ? undefined : obj.name,
version: obj.version,
uid: obj.uid === obj.version ? undefined : obj.uid,
resolved: obj.resolved,
registry: obj.registry === "npm" ? undefined : obj.registry,
dependencies: blankObjectUndefined(obj.dependencies),
optionalDependencies: blankObjectUndefined(obj.optionalDependencies),
permissions: blankObjectUndefined(obj.permissions),
prebuiltVariants: blankObjectUndefined(obj.prebuiltVariants),
};
if (integrity) {
imploded.integrity = integrity;
}
return imploded;
}
function explodeEntry(pattern, obj) {
obj.optionalDependencies = obj.optionalDependencies || {};
obj.dependencies = obj.dependencies || {};
obj.uid = obj.uid || obj.version;
obj.permissions = obj.permissions || {};
obj.registry = obj.registry || "npm";
obj.name = obj.name || getName(pattern);
const integrity = obj.integrity;
if (integrity && integrity.isIntegrity) {
obj.integrity = ssri.parse(integrity);
}
return obj;
}
class Lockfile {
constructor({ cache, source, parseResultType } = {}) {
this.source = source || "";
this.cache = cache;
this.parseResultType = parseResultType;
}
// source string if the `cache` was parsed
// if true, we're parsing an old yarn file and need to update integrity fields
hasEntriesExistWithoutIntegrity() {
if (!this.cache) {
return false;
}
for (const key in this.cache) {
// $FlowFixMe - `this.cache` is clearly defined at this point
if (
!/^.*@(file:|http)/.test(key) &&
this.cache[key] &&
!this.cache[key].integrity
) {
return true;
}
}
return false;
}
static fromDirectory(dir, reporter) {
return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(
function* () {
// read the manifest in this directory
const lockfileLoc = path.join(
dir,
(_constants || _load_constants()).LOCKFILE_FILENAME,
);
let lockfile;
let rawLockfile = "";
let parseResult;
if (yield (_fs || _load_fs()).exists(lockfileLoc)) {
rawLockfile = yield (_fs || _load_fs()).readFile(lockfileLoc);
parseResult = (0, (_parse2 || _load_parse2()).default)(
rawLockfile,
lockfileLoc,
);
if (reporter) {
if (parseResult.type === "merge") {
reporter.info(reporter.lang("lockfileMerged"));
} else if (parseResult.type === "conflict") {
reporter.warn(reporter.lang("lockfileConflict"));
}
}
lockfile = parseResult.object;
} else if (reporter) {
reporter.info(reporter.lang("noLockfileFound"));
}
if (lockfile && lockfile.__metadata) {
const lockfilev2 = lockfile;
lockfile = {};
}
return new Lockfile({
cache: lockfile,
source: rawLockfile,
parseResultType: parseResult && parseResult.type,
});
},
)();
}
getLocked(pattern) {
const cache = this.cache;
if (!cache) {
return undefined;
}
const shrunk = pattern in cache && cache[pattern];
if (typeof shrunk === "string") {
return this.getLocked(shrunk);
} else if (shrunk) {
explodeEntry(pattern, shrunk);
return shrunk;
}
return undefined;
}
removePattern(pattern) {
const cache = this.cache;
if (!cache) {
return;
}
delete cache[pattern];
}
getLockfile(patterns) {
const lockfile = {};
const seen = new Map();
// order by name so that lockfile manifest is assigned to the first dependency with this manifest
// the others that have the same remoteKey will just refer to the first
// ordering allows for consistency in lockfile when it is serialized
const sortedPatternsKeys = Object.keys(patterns).sort(
(_misc || _load_misc()).sortAlpha,
);
for (
var _iterator = sortedPatternsKeys,
_isArray = Array.isArray(_iterator),
_i = 0,
_iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();
;
) {
var _ref;
if (_isArray) {
if (_i >= _iterator.length) break;
_ref = _iterator[_i++];
} else {
_i = _iterator.next();
if (_i.done) break;
_ref = _i.value;
}
const pattern = _ref;
const pkg = patterns[pattern];
const remote = pkg._remote,
ref = pkg._reference;
invariant(ref, "Package is missing a reference");
invariant(remote, "Package is missing a remote");
const remoteKey = keyForRemote(remote);
const seenPattern = remoteKey && seen.get(remoteKey);
if (seenPattern) {
// no point in duplicating it
lockfile[pattern] = seenPattern;
// if we're relying on our name being inferred and two of the patterns have
// different inferred names then we need to set it
if (!seenPattern.name && getName(pattern) !== pkg.name) {
seenPattern.name = pkg.name;
}
continue;
}
const obj = implodeEntry(pattern, {
name: pkg.name,
version: pkg.version,
uid: pkg._uid,
resolved: remote.resolved,
integrity: remote.integrity,
registry: remote.registry,
dependencies: pkg.dependencies,
peerDependencies: pkg.peerDependencies,
optionalDependencies: pkg.optionalDependencies,
permissions: ref.permissions,
prebuiltVariants: pkg.prebuiltVariants,
});
lockfile[pattern] = obj;
if (remoteKey) {
seen.set(remoteKey, obj);
}
}
return lockfile;
}
}
exports.default = Lockfile;
/***/
},
/* 20 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
var _assign = __webpack_require__(559);
var _assign2 = _interopRequireDefault(_assign);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
exports.default =
_assign2.default ||
function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
/***/
},
/* 21 */
/***/ function (module, exports, __webpack_require__) {
var store = __webpack_require__(133)("wks");
var uid = __webpack_require__(137);
var Symbol = __webpack_require__(17).Symbol;
var USE_SYMBOL = typeof Symbol == "function";
var $exports = (module.exports = function (name) {
return (
store[name] ||
(store[name] =
(USE_SYMBOL && Symbol[name]) ||
(USE_SYMBOL ? Symbol : uid)("Symbol." + name))
);
});
$exports.store = store;
/***/
},
/* 22 */
/***/ function (module, exports) {
exports = module.exports = SemVer;
// The debug function is excluded entirely from the minified version.
/* nomin */ var debug;
/* nomin */ if (
typeof process === "object" &&
/* nomin */ process.env &&
/* nomin */ process.env.NODE_DEBUG &&
/* nomin */ /\bsemver\b/i.test(process.env.NODE_DEBUG)
)
/* nomin */ debug = function () {
/* nomin */ var args = Array.prototype.slice.call(arguments, 0);
/* nomin */ args.unshift("SEMVER");
/* nomin */ console.log.apply(console, args);
/* nomin */
};
/* nomin */
/* nomin */ else debug = function () {};
// Note: this is the semver.org version of the spec that it implements
// Not necessarily the package version of this code.
exports.SEMVER_SPEC_VERSION = "2.0.0";
var MAX_LENGTH = 256;
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
// Max safe segment length for coercion.
var MAX_SAFE_COMPONENT_LENGTH = 16;
// The actual regexps go on exports.re
var re = (exports.re = []);
var src = (exports.src = []);
var R = 0;
// The following Regular Expressions can be used for tokenizing,
// validating, and parsing SemVer version strings.
// ## Numeric Identifier
// A single `0`, or a non-zero digit followed by zero or more digits.
var NUMERICIDENTIFIER = R++;
src[NUMERICIDENTIFIER] = "0|[1-9]\\d*";
var NUMERICIDENTIFIERLOOSE = R++;
src[NUMERICIDENTIFIERLOOSE] = "[0-9]+";
// ## Non-numeric Identifier
// Zero or more digits, followed by a letter or hyphen, and then zero or
// more letters, digits, or hyphens.
var NONNUMERICIDENTIFIER = R++;
src[NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*";
// ## Main Version
// Three dot-separated numeric identifiers.
var MAINVERSION = R++;
src[MAINVERSION] =
"(" +
src[NUMERICIDENTIFIER] +
")\\." +
"(" +
src[NUMERICIDENTIFIER] +
")\\." +
"(" +
src[NUMERICIDENTIFIER] +
")";
var MAINVERSIONLOOSE = R++;
src[MAINVERSIONLOOSE] =
"(" +
src[NUMERICIDENTIFIERLOOSE] +
")\\." +
"(" +
src[NUMERICIDENTIFIERLOOSE] +
")\\." +
"(" +
src[NUMERICIDENTIFIERLOOSE] +
")";
// ## Pre-release Version Identifier
// A numeric identifier, or a non-numeric identifier.
var PRERELEASEIDENTIFIER = R++;
src[PRERELEASEIDENTIFIER] =
"(?:" + src[NUMERICIDENTIFIER] + "|" + src[NONNUMERICIDENTIFIER] + ")";
var PRERELEASEIDENTIFIERLOOSE = R++;
src[PRERELEASEIDENTIFIERLOOSE] =
"(?:" +
src[NUMERICIDENTIFIERLOOSE] +
"|" +
src[NONNUMERICIDENTIFIER] +
")";
// ## Pre-release Version
// Hyphen, followed by one or more dot-separated pre-release version
// identifiers.
var PRERELEASE = R++;
src[PRERELEASE] =
"(?:-(" +
src[PRERELEASEIDENTIFIER] +
"(?:\\." +
src[PRERELEASEIDENTIFIER] +
")*))";
var PRERELEASELOOSE = R++;
src[PRERELEASELOOSE] =
"(?:-?(" +
src[PRERELEASEIDENTIFIERLOOSE] +
"(?:\\." +
src[PRERELEASEIDENTIFIERLOOSE] +
")*))";
// ## Build Metadata Identifier
// Any combination of digits, letters, or hyphens.
var BUILDIDENTIFIER = R++;
src[BUILDIDENTIFIER] = "[0-9A-Za-z-]+";
// ## Build Metadata
// Plus sign, followed by one or more period-separated build metadata
// identifiers.
var BUILD = R++;
src[BUILD] =
"(?:\\+(" +
src[BUILDIDENTIFIER] +
"(?:\\." +
src[BUILDIDENTIFIER] +
")*))";
// ## Full Version String
// A main version, followed optionally by a pre-release version and
// build metadata.
// Note that the only major, minor, patch, and pre-release sections of
// the version string are capturing groups. The build metadata is not a
// capturing group, because it should not ever be used in version
// comparison.
var FULL = R++;
var FULLPLAIN =
"v?" + src[MAINVERSION] + src[PRERELEASE] + "?" + src[BUILD] + "?";
src[FULL] = "^" + FULLPLAIN + "$";
// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
// common in the npm registry.
var LOOSEPLAIN =
"[v=\\s]*" +
src[MAINVERSIONLOOSE] +
src[PRERELEASELOOSE] +
"?" +
src[BUILD] +
"?";
var LOOSE = R++;
src[LOOSE] = "^" + LOOSEPLAIN + "$";
var GTLT = R++;
src[GTLT] = "((?:<|>)?=?)";
// Something like "2.*" or "1.2.x".
// Note that "x.x" is a valid xRange identifer, meaning "any version"
// Only the first item is strictly required.
var XRANGEIDENTIFIERLOOSE = R++;
src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + "|x|X|\\*";
var XRANGEIDENTIFIER = R++;
src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + "|x|X|\\*";
var XRANGEPLAIN = R++;
src[XRANGEPLAIN] =
"[v=\\s]*(" +
src[XRANGEIDENTIFIER] +
")" +
"(?:\\.(" +
src[XRANGEIDENTIFIER] +
")" +
"(?:\\.(" +
src[XRANGEIDENTIFIER] +
")" +
"(?:" +
src[PRERELEASE] +
")?" +
src[BUILD] +
"?" +
")?)?";
var XRANGEPLAINLOOSE = R++;
src[XRANGEPLAINLOOSE] =
"[v=\\s]*(" +
src[XRANGEIDENTIFIERLOOSE] +
")" +
"(?:\\.(" +
src[XRANGEIDENTIFIERLOOSE] +
")" +
"(?:\\.(" +
src[XRANGEIDENTIFIERLOOSE] +
")" +
"(?:" +
src[PRERELEASELOOSE] +
")?" +
src[BUILD] +
"?" +
")?)?";
var XRANGE = R++;
src[XRANGE] = "^" + src[GTLT] + "\\s*" + src[XRANGEPLAIN] + "$";
var XRANGELOOSE = R++;
src[XRANGELOOSE] = "^" + src[GTLT] + "\\s*" + src[XRANGEPLAINLOOSE] + "$";
// Coercion.
// Extract anything that could conceivably be a part of a valid semver
var COERCE = R++;
src[COERCE] =
"(?:^|[^\\d])" +
"(\\d{1," +
MAX_SAFE_COMPONENT_LENGTH +
"})" +
"(?:\\.(\\d{1," +
MAX_SAFE_COMPONENT_LENGTH +
"}))?" +
"(?:\\.(\\d{1," +
MAX_SAFE_COMPONENT_LENGTH +
"}))?" +
"(?:$|[^\\d])";
// Tilde ranges.
// Meaning is "reasonably at or greater than"
var LONETILDE = R++;
src[LONETILDE] = "(?:~>?)";
var TILDETRIM = R++;
src[TILDETRIM] = "(\\s*)" + src[LONETILDE] + "\\s+";
re[TILDETRIM] = new RegExp(src[TILDETRIM], "g");
var tildeTrimReplace = "$1~";
var TILDE = R++;
src[TILDE] = "^" + src[LONETILDE] + src[XRANGEPLAIN] + "$";
var TILDELOOSE = R++;
src[TILDELOOSE] = "^" + src[LONETILDE] + src[XRANGEPLAINLOOSE] + "$";
// Caret ranges.
// Meaning is "at least and backwards compatible with"
var LONECARET = R++;
src[LONECARET] = "(?:\\^)";
var CARETTRIM = R++;
src[CARETTRIM] = "(\\s*)" + src[LONECARET] + "\\s+";
re[CARETTRIM] = new RegExp(src[CARETTRIM], "g");
var caretTrimReplace = "$1^";
var CARET = R++;
src[CARET] = "^" + src[LONECARET] + src[XRANGEPLAIN] + "$";
var CARETLOOSE = R++;
src[CARETLOOSE] = "^" + src[LONECARET] + src[XRANGEPLAINLOOSE] + "$";
// A simple gt/lt/eq thing, or just "" to indicate "any version"
var COMPARATORLOOSE = R++;
src[COMPARATORLOOSE] = "^" + src[GTLT] + "\\s*(" + LOOSEPLAIN + ")$|^$";
var COMPARATOR = R++;
src[COMPARATOR] = "^" + src[GTLT] + "\\s*(" + FULLPLAIN + ")$|^$";
// An expression to strip any whitespace between the gtlt and the thing
// it modifies, so that `> 1.2.3` ==> `>1.2.3`
var COMPARATORTRIM = R++;
src[COMPARATORTRIM] =
"(\\s*)" +
src[GTLT] +
"\\s*(" +
LOOSEPLAIN +
"|" +
src[XRANGEPLAIN] +
")";
// this one has to use the /g flag
re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], "g");
var comparatorTrimReplace = "$1$2$3";
// Something like `1.2.3 - 1.2.4`
// Note that these all use the loose form, because they'll be
// checked against either the strict or loose comparator form
// later.
var HYPHENRANGE = R++;
src[HYPHENRANGE] =
"^\\s*(" +
src[XRANGEPLAIN] +
")" +
"\\s+-\\s+" +
"(" +
src[XRANGEPLAIN] +
")" +
"\\s*$";
var HYPHENRANGELOOSE = R++;
src[HYPHENRANGELOOSE] =
"^\\s*(" +
src[XRANGEPLAINLOOSE] +
")" +
"\\s+-\\s+" +
"(" +
src[XRANGEPLAINLOOSE] +
")" +
"\\s*$";
// Star ranges basically just allow anything at all.
var STAR = R++;
src[STAR] = "(<|>)?=?\\s*\\*";
// Compile to actual regexp objects.
// All are flag-free, unless they were created above with a flag.
for (var i = 0; i < R; i++) {
debug(i, src[i]);
if (!re[i]) re[i] = new RegExp(src[i]);
}
exports.parse = parse;
function parse(version, loose) {
if (version instanceof SemVer) return version;
if (typeof version !== "string") return null;
if (version.length > MAX_LENGTH) return null;
var r = loose ? re[LOOSE] : re[FULL];
if (!r.test(version)) return null;
try {
return new SemVer(version, loose);
} catch (er) {
return null;
}
}
exports.valid = valid;
function valid(version, loose) {
var v = parse(version, loose);
return v ? v.version : null;
}
exports.clean = clean;
function clean(version, loose) {
var s = parse(version.trim().replace(/^[=v]+/, ""), loose);
return s ? s.version : null;
}
exports.SemVer = SemVer;
function SemVer(version, loose) {
if (version instanceof SemVer) {
if (version.loose === loose) return version;
else version = version.version;
} else if (typeof version !== "string") {
throw new TypeError("Invalid Version: " + version);
}
if (version.length > MAX_LENGTH)
throw new TypeError(
"version is longer than " + MAX_LENGTH + " characters",
);
if (!(this instanceof SemVer)) return new SemVer(version, loose);
debug("SemVer", version, loose);
this.loose = loose;
var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);
if (!m) throw new TypeError("Invalid Version: " + version);
this.raw = version;
// these are actually numbers
this.major = +m[1];
this.minor = +m[2];
this.patch = +m[3];
if (this.major > MAX_SAFE_INTEGER || this.major < 0)
throw new TypeError("Invalid major version");
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)
throw new TypeError("Invalid minor version");
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)
throw new TypeError("Invalid patch version");
// numberify any prerelease numeric ids
if (!m[4]) this.prerelease = [];
else
this.prerelease = m[4].split(".").map(function (id) {
if (/^[0-9]+$/.test(id)) {
var num = +id;
if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
}
return id;
});
this.build = m[5] ? m[5].split(".") : [];
this.format();
}
SemVer.prototype.format = function () {
this.version = this.major + "." + this.minor + "." + this.patch;
if (this.prerelease.length)
this.version += "-" + this.prerelease.join(".");
return this.version;
};
SemVer.prototype.toString = function () {
return this.version;
};
SemVer.prototype.compare = function (other) {
debug("SemVer.compare", this.version, this.loose, other);
if (!(other instanceof SemVer)) other = new SemVer(other, this.loose);
return this.compareMain(other) || this.comparePre(other);
};
SemVer.prototype.compareMain = function (other) {
if (!(other instanceof SemVer)) other = new SemVer(other, this.loose);
return (
compareIdentifiers(this.major, other.major) ||
compareIdentifiers(this.minor, other.minor) ||
compareIdentifiers(this.patch, other.patch)
);
};
SemVer.prototype.comparePre = function (other) {
if (!(other instanceof SemVer)) other = new SemVer(other, this.loose);
// NOT having a prerelease is > having one
if (this.prerelease.length && !other.prerelease.length) return -1;
else if (!this.prerelease.length && other.prerelease.length) return 1;
else if (!this.prerelease.length && !other.prerelease.length) return 0;
var i = 0;
do {
var a = this.prerelease[i];
var b = other.prerelease[i];
debug("prerelease compare", i, a, b);
if (a === undefined && b === undefined) return 0;
else if (b === undefined) return 1;
else if (a === undefined) return -1;
else if (a === b) continue;
else return compareIdentifiers(a, b);
} while (++i);
};
// preminor will bump the version up to the next minor release, and immediately
// down to pre-release. premajor and prepatch work the same way.
SemVer.prototype.inc = function (release, identifier) {
switch (release) {
case "premajor":
this.prerelease.length = 0;
this.patch = 0;
this.minor = 0;
this.major++;
this.inc("pre", identifier);
break;
case "preminor":
this.prerelease.length = 0;
this.patch = 0;
this.minor++;
this.inc("pre", identifier);
break;
case "prepatch":
// If this is already a prerelease, it will bump to the next version
// drop any prereleases that might already exist, since they are not
// relevant at this point.
this.prerelease.length = 0;
this.inc("patch", identifier);
this.inc("pre", identifier);
break;
// If the input is a non-prerelease version, this acts the same as
// prepatch.
case "prerelease":
if (this.prerelease.length === 0) this.inc("patch", identifier);
this.inc("pre", identifier);
break;
case "major":
// If this is a pre-major version, bump up to the same major version.
// Otherwise increment major.
// 1.0.0-5 bumps to 1.0.0
// 1.1.0 bumps to 2.0.0
if (
this.minor !== 0 ||
this.patch !== 0 ||
this.prerelease.length === 0
)
this.major++;
this.minor = 0;
this.patch = 0;
this.prerelease = [];
break;
case "minor":
// If this is a pre-minor version, bump up to the same minor version.
// Otherwise increment minor.
// 1.2.0-5 bumps to 1.2.0
// 1.2.1 bumps to 1.3.0
if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;
this.patch = 0;
this.prerelease = [];
break;
case "patch":
// If this is not a pre-release version, it will increment the patch.
// If it is a pre-release it will bump up to the same patch version.
// 1.2.0-5 patches to 1.2.0
// 1.2.0 patches to 1.2.1
if (this.prerelease.length === 0) this.patch++;
this.prerelease = [];
break;
// This probably shouldn't be used publicly.
// 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction.
case "pre":
if (this.prerelease.length === 0) this.prerelease = [0];
else {
var i = this.prerelease.length;
while (--i >= 0) {
if (typeof this.prerelease[i] === "number") {
this.prerelease[i]++;
i = -2;
}
}
if (i === -1)
// didn't increment anything
this.prerelease.push(0);
}
if (identifier) {
// 1.2.0-beta.1 bumps to 1.2.0-beta.2,
// 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
if (this.prerelease[0] === identifier) {
if (isNaN(this.prerelease[1]))
this.prerelease = [identifier, 0];
} else this.prerelease = [identifier, 0];
}
break;
default:
throw new Error("invalid increment argument: " + release);
}
this.format();
this.raw = this.version;
return this;
};
exports.inc = inc;
function inc(version, release, loose, identifier) {
if (typeof loose === "string") {
identifier = loose;
loose = undefined;
}
try {
return new SemVer(version, loose).inc(release, identifier).version;
} catch (er) {
return null;
}
}
exports.diff = diff;
function diff(version1, version2) {
if (eq(version1, version2)) {
return null;
} else {
var v1 = parse(version1);
var v2 = parse(version2);
if (v1.prerelease.length || v2.prerelease.length) {
for (var key in v1) {
if (key === "major" || key === "minor" || key === "patch") {
if (v1[key] !== v2[key]) {
return "pre" + key;
}
}
}
return "prerelease";
}
for (var key in v1) {
if (key === "major" || key === "minor" || key === "patch") {
if (v1[key] !== v2[key]) {
return key;
}
}
}
}
}
exports.compareIdentifiers = compareIdentifiers;
var numeric = /^[0-9]+$/;
function compareIdentifiers(a, b) {
var anum = numeric.test(a);
var bnum = numeric.test(b);
if (anum && bnum) {
a = +a;
b = +b;
}
return anum && !bnum
? -1
: bnum && !anum
? 1
: a < b
? -1
: a > b
? 1
: 0;
}
exports.rcompareIdentifiers = rcompareIdentifiers;
function rcompareIdentifiers(a, b) {
return compareIdentifiers(b, a);
}
exports.major = major;
function major(a, loose) {
return new SemVer(a, loose).major;
}
exports.minor = minor;
function minor(a, loose) {
return new SemVer(a, loose).minor;
}
exports.patch = patch;
function patch(a, loose) {
return new SemVer(a, loose).patch;
}
exports.compare = compare;
function compare(a, b, loose) {
return new SemVer(a, loose).compare(new SemVer(b, loose));
}
exports.compareLoose = compareLoose;
function compareLoose(a, b) {
return compare(a, b, true);
}
exports.rcompare = rcompare;
function rcompare(a, b, loose) {
return compare(b, a, loose);
}
exports.sort = sort;
function sort(list, loose) {
return list.sort(function (a, b) {
return exports.compare(a, b, loose);
});
}
exports.rsort = rsort;
function rsort(list, loose) {
return list.sort(function (a, b) {
return exports.rcompare(a, b, loose);
});
}
exports.gt = gt;
function gt(a, b, loose) {
return compare(a, b, loose) > 0;
}
exports.lt = lt;
function lt(a, b, loose) {
return compare(a, b, loose) < 0;
}
exports.eq = eq;
function eq(a, b, loose) {
return compare(a, b, loose) === 0;
}
exports.neq = neq;
function neq(a, b, loose) {
return compare(a, b, loose) !== 0;
}
exports.gte = gte;
function gte(a, b, loose) {
return compare(a, b, loose) >= 0;
}
exports.lte = lte;
function lte(a, b, loose) {
return compare(a, b, loose) <= 0;
}
exports.cmp = cmp;
function cmp(a, op, b, loose) {
var ret;
switch (op) {
case "===":
if (typeof a === "object") a = a.version;
if (typeof b === "object") b = b.version;
ret = a === b;
break;
case "!==":
if (typeof a === "object") a = a.version;
if (typeof b === "object") b = b.version;
ret = a !== b;
break;
case "":
case "=":
case "==":
ret = eq(a, b, loose);
break;
case "!=":
ret = neq(a, b, loose);
break;
case ">":
ret = gt(a, b, loose);
break;
case ">=":
ret = gte(a, b, loose);
break;
case "<":
ret = lt(a, b, loose);
break;
case "<=":
ret = lte(a, b, loose);
break;
default:
throw new TypeError("Invalid operator: " + op);
}
return ret;
}
exports.Comparator = Comparator;
function Comparator(comp, loose) {
if (comp instanceof Comparator) {
if (comp.loose === loose) return comp;
else comp = comp.value;
}
if (!(this instanceof Comparator)) return new Comparator(comp, loose);
debug("comparator", comp, loose);
this.loose = loose;
this.parse(comp);
if (this.semver === ANY) this.value = "";
else this.value = this.operator + this.semver.version;
debug("comp", this);
}
var ANY = {};
Comparator.prototype.parse = function (comp) {
var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
var m = comp.match(r);
if (!m) throw new TypeError("Invalid comparator: " + comp);
this.operator = m[1];
if (this.operator === "=") this.operator = "";
// if it literally is just '>' or '' then allow anything.
if (!m[2]) this.semver = ANY;
else this.semver = new SemVer(m[2], this.loose);
};
Comparator.prototype.toString = function () {
return this.value;
};
Comparator.prototype.test = function (version) {
debug("Comparator.test", version, this.loose);
if (this.semver === ANY) return true;
if (typeof version === "string")
version = new SemVer(version, this.loose);
return cmp(version, this.operator, this.semver, this.loose);
};
Comparator.prototype.intersects = function (comp, loose) {
if (!(comp instanceof Comparator)) {
throw new TypeError("a Comparator is required");
}
var rangeTmp;
if (this.operator === "") {
rangeTmp = new Range(comp.value, loose);
return satisfies(this.value, rangeTmp, loose);
} else if (comp.operator === "") {
rangeTmp = new Range(this.value, loose);
return satisfies(comp.semver, rangeTmp, loose);
}
var sameDirectionIncreasing =
(this.operator === ">=" || this.operator === ">") &&
(comp.operator === ">=" || comp.operator === ">");
var sameDirectionDecreasing =
(this.operator === "<=" || this.operator === "<") &&
(comp.operator === "<=" || comp.operator === "<");
var sameSemVer = this.semver.version === comp.semver.version;
var differentDirectionsInclusive =
(this.operator === ">=" || this.operator === "<=") &&
(comp.operator === ">=" || comp.operator === "<=");
var oppositeDirectionsLessThan =
cmp(this.semver, "<", comp.semver, loose) &&
(this.operator === ">=" || this.operator === ">") &&
(comp.operator === "<=" || comp.operator === "<");
var oppositeDirectionsGreaterThan =
cmp(this.semver, ">", comp.semver, loose) &&
(this.operator === "<=" || this.operator === "<") &&
(comp.operator === ">=" || comp.operator === ">");
return (
sameDirectionIncreasing ||
sameDirectionDecreasing ||
(sameSemVer && differentDirectionsInclusive) ||
oppositeDirectionsLessThan ||
oppositeDirectionsGreaterThan
);
};
exports.Range = Range;
function Range(range, loose) {
if (range instanceof Range) {
if (range.loose === loose) {
return range;
} else {
return new Range(range.raw, loose);
}
}
if (range instanceof Comparator) {
return new Range(range.value, loose);
}
if (!(this instanceof Range)) return new Range(range, loose);
this.loose = loose;
// First, split based on boolean or ||
this.raw = range;
this.set = range
.split(/\s*\|\|\s*/)
.map(function (range) {
return this.parseRange(range.trim());
}, this)
.filter(function (c) {
// throw out any that are not relevant for whatever reason
return c.length;
});
if (!this.set.length) {
throw new TypeError("Invalid SemVer Range: " + range);
}
this.format();
}
Range.prototype.format = function () {
this.range = this.set
.map(function (comps) {
return comps.join(" ").trim();
})
.join("||")
.trim();
return this.range;
};
Range.prototype.toString = function () {
return this.range;
};
Range.prototype.parseRange = function (range) {
var loose = this.loose;
range = range.trim();
debug("range", range, loose);
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];
range = range.replace(hr, hyphenReplace);
debug("hyphen replace", range);
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);
debug("comparator trim", range, re[COMPARATORTRIM]);
// `~ 1.2.3` => `~1.2.3`
range = range.replace(re[TILDETRIM], tildeTrimReplace);
// `^ 1.2.3` => `^1.2.3`
range = range.replace(re[CARETTRIM], caretTrimReplace);
// normalize spaces
range = range.split(/\s+/).join(" ");
// At this point, the range is completely trimmed and
// ready to be split into comparators.
var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];
var set = range
.split(" ")
.map(function (comp) {
return parseComparator(comp, loose);
})
.join(" ")
.split(/\s+/);
if (this.loose) {
// in loose mode, throw out any that are not valid comparators
set = set.filter(function (comp) {
return !!comp.match(compRe);
});
}
set = set.map(function (comp) {
return new Comparator(comp, loose);
});
return set;
};
Range.prototype.intersects = function (range, loose) {
if (!(range instanceof Range)) {
throw new TypeError("a Range is required");
}
return this.set.some(function (thisComparators) {
return thisComparators.every(function (thisComparator) {
return range.set.some(function (rangeComparators) {
return rangeComparators.every(function (rangeComparator) {
return thisComparator.intersects(rangeComparator, loose);
});
});
});
});
};
// Mostly just for testing and legacy API reasons
exports.toComparators = toComparators;
function toComparators(range, loose) {
return new Range(range, loose).set.map(function (comp) {
return comp
.map(function (c) {
return c.value;
})
.join(" ")
.trim()
.split(" ");
});
}
// comprised of xranges, tildes, stars, and gtlt's at this point.
// already replaced the hyphen ranges
// turn into a set of JUST comparators.
function parseComparator(comp, loose) {
debug("comp", comp);
comp = replaceCarets(comp, loose);
debug("caret", comp);
comp = replaceTildes(comp, loose);
debug("tildes", comp);
comp = replaceXRanges(comp, loose);
debug("xrange", comp);
comp = replaceStars(comp, loose);
debug("stars", comp);
return comp;
}
function isX(id) {
return !id || id.toLowerCase() === "x" || id === "*";
}
// ~, ~> --> * (any, kinda silly)
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
function replaceTildes(comp, loose) {
return comp
.trim()
.split(/\s+/)
.map(function (comp) {
return replaceTilde(comp, loose);
})
.join(" ");
}
function replaceTilde(comp, loose) {
var r = loose ? re[TILDELOOSE] : re[TILDE];
return comp.replace(r, function (_, M, m, p, pr) {
debug("tilde", comp, _, M, m, p, pr);
var ret;
if (isX(M)) ret = "";
else if (isX(m)) ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
else if (isX(p))
// ~1.2 == >=1.2.0 <1.3.0
ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
else if (pr) {
debug("replaceTilde pr", pr);
if (pr.charAt(0) !== "-") pr = "-" + pr;
ret =
">=" +
M +
"." +
m +
"." +
p +
pr +
" <" +
M +
"." +
(+m + 1) +
".0";
}
// ~1.2.3 == >=1.2.3 <1.3.0
else
ret =
">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0";
debug("tilde return", ret);
return ret;
});
}
// ^ --> * (any, kinda silly)
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
// ^1.2.3 --> >=1.2.3 <2.0.0
// ^1.2.0 --> >=1.2.0 <2.0.0
function replaceCarets(comp, loose) {
return comp
.trim()
.split(/\s+/)
.map(function (comp) {
return replaceCaret(comp, loose);
})
.join(" ");
}
function replaceCaret(comp, loose) {
debug("caret", comp, loose);
var r = loose ? re[CARETLOOSE] : re[CARET];
return comp.replace(r, function (_, M, m, p, pr) {
debug("caret", comp, _, M, m, p, pr);
var ret;
if (isX(M)) ret = "";
else if (isX(m)) ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
else if (isX(p)) {
if (M === "0")
ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
else ret = ">=" + M + "." + m + ".0 <" + (+M + 1) + ".0.0";
} else if (pr) {
debug("replaceCaret pr", pr);
if (pr.charAt(0) !== "-") pr = "-" + pr;
if (M === "0") {
if (m === "0")
ret =
">=" +
M +
"." +
m +
"." +
p +
pr +
" <" +
M +
"." +
m +
"." +
(+p + 1);
else
ret =
">=" +
M +
"." +
m +
"." +
p +
pr +
" <" +
M +
"." +
(+m + 1) +
".0";
} else
ret =
">=" + M + "." + m + "." + p + pr + " <" + (+M + 1) + ".0.0";
} else {
debug("no pr");
if (M === "0") {
if (m === "0")
ret =
">=" +
M +
"." +
m +
"." +
p +
" <" +
M +
"." +
m +
"." +
(+p + 1);
else
ret =
">=" +
M +
"." +
m +
"." +
p +
" <" +
M +
"." +
(+m + 1) +
".0";
} else
ret = ">=" + M + "." + m + "." + p + " <" + (+M + 1) + ".0.0";
}
debug("caret return", ret);
return ret;
});
}
function replaceXRanges(comp, loose) {
debug("replaceXRanges", comp, loose);
return comp
.split(/\s+/)
.map(function (comp) {
return replaceXRange(comp, loose);
})
.join(" ");
}
function replaceXRange(comp, loose) {
comp = comp.trim();
var r = loose ? re[XRANGELOOSE] : re[XRANGE];
return comp.replace(r, function (ret, gtlt, M, m, p, pr) {
debug("xRange", comp, ret, gtlt, M, m, p, pr);
var xM = isX(M);
var xm = xM || isX(m);
var xp = xm || isX(p);
var anyX = xp;
if (gtlt === "=" && anyX) gtlt = "";
if (xM) {
if (gtlt === ">" || gtlt === "<") {
// nothing is allowed
ret = "<0.0.0";
} else {
// nothing is forbidden
ret = "*";
}
} else if (gtlt && anyX) {
// replace X with 0
if (xm) m = 0;
if (xp) p = 0;
if (gtlt === ">") {
// >1 => >=2.0.0
// >1.2 => >=1.3.0
// >1.2.3 => >= 1.2.4
gtlt = ">=";
if (xm) {
M = +M + 1;
m = 0;
p = 0;
} else if (xp) {
m = +m + 1;
p = 0;
}
} else if (gtlt === "<=") {
// <=0.7.x is actually <0.8.0, since any 0.7.x should
// pass. Similarly, <=7.x is actually <8.0.0, etc.
gtlt = "<";
if (xm) M = +M + 1;
else m = +m + 1;
}
ret = gtlt + M + "." + m + "." + p;
} else if (xm) {
ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
} else if (xp) {
ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
}
debug("xRange return", ret);
return ret;
});
}
// Because * is AND-ed with everything else in the comparator,
// and '' means "any version", just remove the *s entirely.
function replaceStars(comp, loose) {
debug("replaceStars", comp, loose);
// Looseness is ignored here. star is always as loose as it gets!
return comp.trim().replace(re[STAR], "");
}
// This function is passed to string.replace(re[HYPHENRANGE])
// M, m, patch, prerelease, build
// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
// 1.2 - 3.4 => >=1.2.0 <3.5.0
function hyphenReplace(
$0,
from,
fM,
fm,
fp,
fpr,
fb,
to,
tM,
tm,
tp,
tpr,
tb,
) {
if (isX(fM)) from = "";
else if (isX(fm)) from = ">=" + fM + ".0.0";
else if (isX(fp)) from = ">=" + fM + "." + fm + ".0";
else from = ">=" + from;
if (isX(tM)) to = "";
else if (isX(tm)) to = "<" + (+tM + 1) + ".0.0";
else if (isX(tp)) to = "<" + tM + "." + (+tm + 1) + ".0";
else if (tpr) to = "<=" + tM + "." + tm + "." + tp + "-" + tpr;
else to = "<=" + to;
return (from + " " + to).trim();
}
// if ANY of the sets match ALL of its comparators, then pass
Range.prototype.test = function (version) {
if (!version) return false;
if (typeof version === "string")
version = new SemVer(version, this.loose);
for (var i = 0; i < this.set.length; i++) {
if (testSet(this.set[i], version)) return true;
}
return false;
};
function testSet(set, version) {
for (var i = 0; i < set.length; i++) {
if (!set[i].test(version)) return false;
}
if (version.prerelease.length) {
// Find the set of versions that are allowed to have prereleases
// For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
// That should allow `1.2.3-pr.2` to pass.
// However, `1.2.4-alpha.notready` should NOT be allowed,
// even though it's within the range set by the comparators.
for (var i = 0; i < set.length; i++) {
debug(set[i].semver);
if (set[i].semver === ANY) continue;
if (set[i].semver.prerelease.length > 0) {
var allowed = set[i].semver;
if (
allowed.major === version.major &&
allowed.minor === version.minor &&
allowed.patch === version.patch
)
return true;
}
}
// Version has a -pre, but it's not one of the ones we like.
return false;
}
return true;
}
exports.satisfies = satisfies;
function satisfies(version, range, loose) {
try {
range = new Range(range, loose);
} catch (er) {
return false;
}
return range.test(version);
}
exports.maxSatisfying = maxSatisfying;
function maxSatisfying(versions, range, loose) {
var max = null;
var maxSV = null;
try {
var rangeObj = new Range(range, loose);
} catch (er) {
return null;
}
versions.forEach(function (v) {
if (rangeObj.test(v)) {
// satisfies(v, range, loose)
if (!max || maxSV.compare(v) === -1) {
// compare(max, v, true)
max = v;
maxSV = new SemVer(max, loose);
}
}
});
return max;
}
exports.minSatisfying = minSatisfying;
function minSatisfying(versions, range, loose) {
var min = null;
var minSV = null;
try {
var rangeObj = new Range(range, loose);
} catch (er) {
return null;
}
versions.forEach(function (v) {
if (rangeObj.test(v)) {
// satisfies(v, range, loose)
if (!min || minSV.compare(v) === 1) {
// compare(min, v, true)
min = v;
minSV = new SemVer(min, loose);
}
}
});
return min;
}
exports.validRange = validRange;
function validRange(range, loose) {
try {
// Return '*' instead of '' so that truthiness works.
// This will throw if it's invalid anyway
return new Range(range, loose).range || "*";
} catch (er) {
return null;
}
}
// Determine if version is less than all the versions possible in the range
exports.ltr = ltr;
function ltr(version, range, loose) {
return outside(version, range, "<", loose);
}
// Determine if version is greater than all the versions possible in the range.
exports.gtr = gtr;
function gtr(version, range, loose) {
return outside(version, range, ">", loose);
}
exports.outside = outside;
function outside(version, range, hilo, loose) {
version = new SemVer(version, loose);
range = new Range(range, loose);
var gtfn, ltefn, ltfn, comp, ecomp;
switch (hilo) {
case ">":
gtfn = gt;
ltefn = lte;
ltfn = lt;
comp = ">";
ecomp = ">=";
break;
case "<":
gtfn = lt;
ltefn = gte;
ltfn = gt;
comp = "<";
ecomp = "<=";
break;
default:
throw new TypeError('Must provide a hilo val of "<" or ">"');
}
// If it satisifes the range it is not outside
if (satisfies(version, range, loose)) {
return false;
}
// From now on, variable terms are as if we're in "gtr" mode.
// but note that everything is flipped for the "ltr" function.
for (var i = 0; i < range.set.length; ++i) {
var comparators = range.set[i];
var high = null;
var low = null;
comparators.forEach(function (comparator) {
if (comparator.semver === ANY) {
comparator = new Comparator(">=0.0.0");
}
high = high || comparator;
low = low || comparator;
if (gtfn(comparator.semver, high.semver, loose)) {
high = comparator;
} else if (ltfn(comparator.semver, low.semver, loose)) {
low = comparator;
}
});
// If the edge version comparator has a operator then our version
// isn't outside it
if (high.operator === comp || high.operator === ecomp) {
return false;
}
// If the lowest version comparator has an operator and our version
// is less than it then it isn't higher than the range
if (
(!low.operator || low.operator === comp) &&
ltefn(version, low.semver)
) {
return false;
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
return false;
}
}
return true;
}
exports.prerelease = prerelease;
function prerelease(version, loose) {
var parsed = parse(version, loose);
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
}
exports.intersects = intersects;
function intersects(r1, r2, loose) {
r1 = new Range(r1, loose);
r2 = new Range(r2, loose);
return r1.intersects(r2);
}
exports.coerce = coerce;
function coerce(version) {
if (version instanceof SemVer) return version;
if (typeof version !== "string") return null;
var match = version.match(re[COERCE]);
if (match == null) return null;
return parse(
(match[1] || "0") + "." + (match[2] || "0") + "." + (match[3] || "0"),
);
}
/***/
},
/* 23 */
/***/ function (module, exports) {
module.exports = require("stream");
/***/
},
/* 24 */
/***/ function (module, exports) {
module.exports = require("url");
/***/
},
/* 25 */
/***/ function (module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(
__webpack_exports__,
"a",
function () {
return Subscription;
},
);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util_isArray__ =
__webpack_require__(41);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_isObject__ =
__webpack_require__(444);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_isFunction__ =
__webpack_require__(154);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util_tryCatch__ =
__webpack_require__(57);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__util_errorObject__ =
__webpack_require__(48);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__util_UnsubscriptionError__ =
__webpack_require__(441);
/** PURE_IMPORTS_START _util_isArray,_util_isObject,_util_isFunction,_util_tryCatch,_util_errorObject,_util_UnsubscriptionError PURE_IMPORTS_END */
var Subscription = /*@__PURE__*/ (function () {
function Subscription(unsubscribe) {
this.closed = false;
this._parent = null;
this._parents = null;
this._subscriptions = null;
if (unsubscribe) {
this._unsubscribe = unsubscribe;
}
}
Subscription.prototype.unsubscribe = function () {
var hasErrors = false;
var errors;
if (this.closed) {
return;
}
var _a = this,
_parent = _a._parent,
_parents = _a._parents,
_unsubscribe = _a._unsubscribe,
_subscriptions = _a._subscriptions;
this.closed = true;
this._parent = null;
this._parents = null;
this._subscriptions = null;
var index = -1;
var len = _parents ? _parents.length : 0;
while (_parent) {
_parent.remove(this);
_parent = (++index < len && _parents[index]) || null;
}
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_2__util_isFunction__[
"a" /* isFunction */
],
)(_unsubscribe)
) {
var trial = __webpack_require__
.i(
__WEBPACK_IMPORTED_MODULE_3__util_tryCatch__[
"a" /* tryCatch */
],
)(_unsubscribe)
.call(this);
if (
trial ===
__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
]
) {
hasErrors = true;
errors =
errors ||
(__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
].e instanceof
__WEBPACK_IMPORTED_MODULE_5__util_UnsubscriptionError__[
"a" /* UnsubscriptionError */
]
? flattenUnsubscriptionErrors(
__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
].e.errors,
)
: [
__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
].e,
]);
}
}
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_0__util_isArray__["a" /* isArray */],
)(_subscriptions)
) {
index = -1;
len = _subscriptions.length;
while (++index < len) {
var sub = _subscriptions[index];
if (
__webpack_require__.i(
__WEBPACK_IMPORTED_MODULE_1__util_isObject__[
"a" /* isObject */
],
)(sub)
) {
var trial = __webpack_require__
.i(
__WEBPACK_IMPORTED_MODULE_3__util_tryCatch__[
"a" /* tryCatch */
],
)(sub.unsubscribe)
.call(sub);
if (
trial ===
__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
]
) {
hasErrors = true;
errors = errors || [];
var err =
__WEBPACK_IMPORTED_MODULE_4__util_errorObject__[
"a" /* errorObject */
].e;
if (
err instanceof
__WEBPACK_IMPORTED_MODULE_5__util_UnsubscriptionError__[
"a" /* UnsubscriptionError */
]
) {
errors = errors.concat(
flattenUnsubscriptionErrors(err.errors),
);
} else {
errors.push(err);
}
}
}
}
}
if (hasErrors) {
throw new __WEBPACK_IMPORTED_MODULE_5__util_UnsubscriptionError__[
"a" /* UnsubscriptionError */
](errors);
}
};
Subscription.prototype.add = function (teardown) {
if (!teardown || teardown === Subscription.EMPTY) {
return Subscription.EMPTY;
}
if (teardown === this) {
return this;
}
var subscription = teardown;
switch (typeof teardown) {
case "function":
subscription = new Subscription(teardown);
case "object":
if (
subscription.closed ||
typeof subscription.unsubscribe !== "function"
) {
return subscription;
} else if (this.closed) {
subscription.unsubscribe();
return subscription;
} else if (typeof subscription._addParent !== "function") {
var tmp = subscription;
subscription = new Subscription();
subscription._subscriptions = [tmp];
}
break;
default:
throw new Error(
"unrecognized teardown " + teardown + " added to Subscription.",
);
}
var subscriptions = this._subscriptions || (this._subscriptions = []);
subscriptions.push(subscription);
subscription._addParent(this);
return subscription;
};
Subscription.prototype.remove = function (subscription) {
var subscriptions = this._subscriptions;
if (subscriptions) {
var subscriptionIndex = subscriptions.indexOf(subscription);
if (subscriptionIndex !== -1) {
subscriptions.splice(subscriptionIndex, 1);
}
}
};
Subscription.prototype._addParent = function (parent) {
var _a = this,
_parent = _a._parent,
_parents = _a._parents;
if (!_parent || _parent === parent) {
this._parent = parent;
} else if (!_parents) {
this._parents = [parent];
} else if (_parents.indexOf(parent) === -1) {
_parents.push(parent);
}
};
Subscription.EMPTY = (function (empty) {
empty.closed = true;
return empty;
})(new Subscription());
return Subscription;
})();
function flattenUnsubscriptionErrors(errors) {
return errors.reduce(function (errs, err) {
return errs.concat(
err instanceof
__WEBPACK_IMPORTED_MODULE_5__util_UnsubscriptionError__[
"a" /* UnsubscriptionError */
]
? err.errors
: err,
);
}, []);
}
//# sourceMappingURL=Subscription.js.map
/***/
},
/* 26 */
/***/ function (module, exports, __webpack_require__) {
// Copyright 2015 Joyent, Inc.
module.exports = {
bufferSplit: bufferSplit,
addRSAMissing: addRSAMissing,
calculateDSAPublic: calculateDSAPublic,
calculateED25519Public: calculateED25519Public,
calculateX25519Public: calculateX25519Public,
mpNormalize: mpNormalize,
mpDenormalize: mpDenormalize,
ecNormalize: ecNormalize,
countZeros: countZeros,
assertCompatible: assertCompatible,
isCompatible: isCompatible,
opensslKeyDeriv: opensslKeyDeriv,
opensshCipherInfo: opensshCipherInfo,
publicFromPrivateECDSA: publicFromPrivateECDSA,
zeroPadToLength: zeroPadToLength,
writeBitString: writeBitString,
readBitString: readBitString,
};
var assert = __webpack_require__(16);
var Buffer = __webpack_require__(15).Buffer;
var PrivateKey = __webpack_require__(33);
var Key = __webpack_require__(28);
var crypto = __webpack_require__(11);
var algs = __webpack_require__(32);
var asn1 = __webpack_require__(66);
var ec, jsbn;
var nacl;
var MAX_CLASS_DEPTH = 3;
function isCompatible(obj, klass, needVer) {
if (obj === null || typeof obj !== "object") return false;
if (needVer === undefined) needVer = klass.prototype._sshpkApiVersion;
if (
obj instanceof klass &&
klass.prototype._sshpkApiVersion[0] == needVer[0]
)
return true;
var proto = Object.getPrototypeOf(obj);
var depth = 0;
while (proto.constructor.name !== klass.name) {
proto = Object.getPrototypeOf(proto);
if (!proto || ++depth > MAX_CLASS_DEPTH) return false;
}
if (proto.constructor.name !== klass.name) return false;
var ver = proto._sshpkApiVersion;
if (ver === undefined) ver = klass._oldVersionDetect(obj);
if (ver[0] != needVer[0] || ver[1] < needVer[1]) return false;
return true;
}
function assertCompatible(obj, klass, needVer, name) {
if (name === undefined) name = "object";
assert.ok(obj, name + " must not be null");
assert.object(obj, name + " must be an object");
if (needVer === undefined) needVer = klass.prototype._sshpkApiVersion;
if (
obj instanceof klass &&
klass.prototype._sshpkApiVersion[0] == needVer[0]
)
return;
var proto = Object.getPrototypeOf(obj);
var depth = 0;
while (proto.constructor.name !== klass.name) {
proto = Object.getPrototypeOf(proto);
assert.ok(
proto && ++depth <= MAX_CLASS_DEPTH,
name + " must be a " + klass.name + " instance",
);
}
assert.strictEqual(
proto.constructor.name,
klass.name,
name + " must be a " + klass.name + " instance",
);
var ver = proto._sshpkApiVersion;
if (ver === undefined) ver = klass._oldVersionDetect(obj);
assert.ok(
ver[0] == needVer[0] && ver[1] >= needVer[1],
name +
" must be compatible with " +
klass.name +
" klass " +
"version " +
needVer[0] +
"." +
needVer[1],
);
}
var CIPHER_LEN = {
"des-ede3-cbc": { key: 7, iv: 8 },
"aes-128-cbc": { key: 16, iv: 16 },
};
var PKCS5_SALT_LEN = 8;
function opensslKeyDeriv(cipher, salt, passphrase, count) {
assert.buffer(salt, "salt");
assert.buffer(passphrase, "passphrase");
assert.number(count, "iteration count");
var clen = CIPHER_LEN[cipher];
assert.object(clen, "supported cipher");
salt = salt.slice(0, PKCS5_SALT_LEN);
var D, D_prev, bufs;
var material = Buffer.alloc(0);
while (material.length < clen.key + clen.iv) {
bufs = [];
if (D_prev) bufs.push(D_prev);
bufs.push(passphrase);
bufs.push(salt);
D = Buffer.concat(bufs);
for (var j = 0; j < count; ++j)
D = crypto.createHash("md5").update(D).digest();
material = Buffer.concat([material, D]);
D_prev = D;
}
return {
key: material.slice(0, clen.key),
iv: material.slice(clen.key, clen.key + clen.iv),
};
}
/* Count leading zero bits on a buffer */
function countZeros(buf) {
var o = 0,
obit = 8;
while (o < buf.length) {
var mask = 1 << obit;
if ((buf[o] & mask) === mask) break;
obit--;
if (obit < 0) {
o++;
obit = 8;
}
}
return o * 8 + (8 - obit) - 1;
}
function bufferSplit(buf, chr) {
assert.buffer(buf);
assert.string(chr);
var parts = [];
var lastPart = 0;
var matches = 0;
for (var i = 0; i < buf.length; ++i) {
if (buf[i] === chr.charCodeAt(matches)) ++matches;
else if (buf[i] === chr.charCodeAt(0)) matches = 1;
else matches = 0;
if (matches >= chr.length) {
var newPart = i + 1;
parts.push(buf.slice(lastPart, newPart - matches));
lastPart = newPart;
matches = 0;
}
}
if (lastPart <= buf.length) parts.push(buf.slice(lastPart, buf.length));
return parts;
}
function ecNormalize(buf, addZero) {
assert.buffer(buf);
if (buf[0] === 0x00 && buf[1] === 0x04) {
if (addZero) return buf;
return buf.slice(1);
} else if (buf[0] === 0x04) {
if (!addZero) return buf;
} else {
while (buf[0] === 0x00) buf = buf.slice(1);
if (buf[0] === 0x02 || buf[0] === 0x03)
throw new Error(
"Compressed elliptic curve points " + "are not supported",
);
if (buf[0] !== 0x04)
throw new Error("Not a valid elliptic curve point");
if (!addZero) return buf;
}
var b = Buffer.alloc(buf.length + 1);
b[0] = 0x0;
buf.copy(b, 1);
return b;
}
function readBitString(der, tag) {
if (tag === undefined) tag = asn1.Ber.BitString;
var buf = der.readString(tag, true);
assert.strictEqual(
buf[0],
0x00,
"bit strings with unused bits are " +
"not supported (0x" +
buf[0].toString(16) +
")",
);
return buf.slice(1);
}
function writeBitString(der, buf, tag) {
if (tag === undefined) tag = asn1.Ber.BitString;
var b = Buffer.alloc(buf.length + 1);
b[0] = 0x00;
buf.copy(b, 1);
der.writeBuffer(b, tag);
}
function mpNormalize(buf) {
assert.buffer(buf);
while (buf.length > 1 && buf[0] === 0x00 && (buf[1] & 0x80) === 0x00)
buf = buf.slice(1);
if ((buf[0] & 0x80) === 0x80) {
var b = Buffer.alloc(buf.length + 1);
b[0] = 0x00;
buf.copy(b, 1);
buf = b;
}
return buf;
}
function mpDenormalize(buf) {
assert.buffer(buf);
while (buf.length > 1 && buf[0] === 0x00) buf = buf.slice(1);
return buf;
}
function zeroPadToLength(buf, len) {
assert.buffer(buf);
assert.number(len);
while (buf.length > len) {
assert.equal(buf[0], 0x00);
buf = buf.slice(1);
}
while (buf.length < len) {
var b = Buffer.alloc(buf.length + 1);
b[0] = 0x00;
buf.copy(b, 1);
buf = b;
}
return buf;
}
function bigintToMpBuf(bigint) {
var buf = Buffer.from(bigint.toByteArray());
buf = mpNormalize(buf);
return buf;
}
function calculateDSAPublic(g, p, x) {
assert.buffer(g);
assert.buffer(p);
assert.buffer(x);
try {
var bigInt = __webpack_require__(81).BigInteger;
} catch (e) {
throw new Error(
"To load a PKCS#8 format DSA private key, " +
"the node jsbn library is required.",
);
}
g = new bigInt(g);
p = new bigInt(p);
x = new bigInt(x);
var y = g.modPow(x, p);
var ybuf = bigintToMpBuf(y);
return ybuf;
}
function calculateED25519Public(k) {
assert.buffer(k);
if (nacl === undefined) nacl = __webpack_require__(76);
var kp = nacl.sign.keyPair.fromSeed(new Uint8Array(k));
return Buffer.from(kp.publicKey);
}
function calculateX25519Public(k) {
assert.buffer(k);
if (nacl === undefined) nacl = __webpack_require__(76);
var kp = nacl.box.keyPair.fromSeed(new Uint8Array(k));
return Buffer.from(kp.publicKey);
}
function addRSAMissing(key) {
assert.object(key);
assertCompatible(key, PrivateKey, [1, 1]);
try {
var bigInt = __webpack_require__(81).BigInteger;
} catch (e) {
throw new Error(
"To write a PEM private key from " +
"this source, the node jsbn lib is required.",
);
}
var d = new bigInt(key.part.d.data);
var buf;
if (!key.part.dmodp) {
var p = new bigInt(key.part.p.data);
var dmodp = d.mod(p.subtract(1));
buf = bigintToMpBuf(dmodp);
key.part.dmodp = { name: "dmodp", data: buf };
key.parts.push(key.part.dmodp);
}
if (!key.part.dmodq) {
var q = new bigInt(key.part.q.data);
var dmodq = d.mod(q.subtract(1));
buf = bigintToMpBuf(dmodq);
key.part.dmodq = { name: "dmodq", data: buf };
key.parts.push(key.part.dmodq);
}
}
function publicFromPrivateECDSA(curveName, priv) {
assert.string(curveName, "curveName");
assert.buffer(priv);
if (ec === undefined) ec = __webpack_require__(139);
if (jsbn === undefined) jsbn = __webpack_require__(81).BigInteger;
var params = algs.curves[curveName];
var p = new jsbn(params.p);
var a = new jsbn(params.a);
var b = new jsbn(params.b);
var curve = new ec.ECCurveFp(p, a, b);
var G = curve.decodePointHex(params.G.toString("hex"));
var d = new jsbn(mpNormalize(priv));
var pub = G.multiply(d);
pub = Buffer.from(curve.encodePointHex(pub), "hex");
var parts = [];
parts.push({ name: "curve", data: Buffer.from(curveName) });
parts.push({ name: "Q", data: pub });
var key = new Key({ type: "ecdsa", curve: curve, parts: parts });
return key;
}
function opensshCipherInfo(cipher) {
var inf = {};
switch (cipher) {
case "3des-cbc":
inf.keySize = 24;
inf.blockSize = 8;
inf.opensslName = "des-ede3-cbc";
break;
case "blowfish-cbc":
inf.keySize = 16;
inf.blockSize = 8;
inf.opensslName = "bf-cbc";
break;
case "aes128-cbc":
case "aes128-ctr":
case "aes128-gcm@openssh.com":
inf.keySize = 16;
inf.blockSize = 16;
inf.opensslName = "aes-128-" + cipher.slice(7, 10);
break;
case "aes192-cbc":
case "aes192-ctr":
case "aes192-gcm@openssh.com":
inf.keySize = 24;
inf.blockSize = 16;
inf.opensslName = "aes-192-" + cipher.slice(7, 10);
break;
case "aes256-cbc":
case "aes256-ctr":
case "aes256-gcm@openssh.com":
inf.keySize = 32;
inf.blockSize = 16;
inf.opensslName = "aes-256-" + cipher.slice(7, 10);
break;
default:
throw new Error('Unsupported openssl cipher "' + cipher + '"');
}
return inf;
}
/***/
},
/* 27 */
/***/ function (module, exports, __webpack_require__) {
"use strict";
const escapeStringRegexp = __webpack_require__(382);
const ansiStyles = __webpack_require__(474);
const stdoutColor = __webpack_require__(566).stdout;
const template = __webpack_require__(567);
const isSimpleWindowsTerm =
process.platform === "win32" &&
!(process.env.TERM || "").toLowerCase().startsWith("xterm");
// `supportsColor.level` → `ansiStyles.color[name]` mapping
const levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"];
// `color-convert` models to exclude from the Chalk API due to conflicts and such
const skipModels = new Set(["gray"]);
const styles = Object.create(null);
function applyOptions(obj, options) {
options = options || {};
// Detect level if not set manually
const scLevel = stdoutColor ? stdoutColor.level : 0;
obj.level = options.level === undefined ? scLevel : options.level;
obj.enabled = "enabled" in options ? options.enabled : obj.level > 0;
}
function Chalk(options) {
// We check for this.template here since calling `chalk.constructor()`
// by itself will have a `this` of a previously constructed chalk object
if (!this || !(this instanceof Chalk) || this.template) {
const chalk = {};
applyOptions(chalk, options);
chalk.template = function () {
const args = [].slice.call(arguments);
return chalkTag.apply(null, [chalk.template].concat(args));
};
Object.setPrototypeOf(chalk, Chalk.prototype);
Object.setPrototypeOf(chalk.template, chalk);
chalk.template.constructor = Chalk;
return chalk.template;
}
applyOptions(this, options);
}
// Use bright blue on Windows as the normal blue color is illegible
if (isSimpleWindowsTerm) {
ansiStyles.blue.open = "\u001B[94m";
}
for (const key of Object.keys(ansiStyles)) {
ansiStyles[key].closeRe = new RegExp(
escapeStringRegexp(ansiStyles[key].close),
"g",
);
styles[key] = {
get() {
const codes = ansiStyles[key];
return build.call(
this,
this._styles ? this._styles.concat(codes) : [codes],
this._empty,
key,
);
},
};
}
styles.visible = {
get() {
return build.call(this, this._styles || [], true, "visible");
},
};
ansiStyles.color.closeRe = new RegExp(
escapeStringRegexp(ansiStyles.color.close),
"g",
);
gitextract_o8l_mvnx/ ├── .eslintrc.json ├── .github/ │ ├── CODE_OF_CONDUCT.md │ ├── PULL_REQUEST_TEMPLATE.md │ └── SECURITY.md ├── .gitignore ├── .prettierignore ├── .vscode/ │ ├── extensions.json │ └── settings.json ├── .yarn/ │ └── releases/ │ └── yarn-1.22.21.cjs ├── .yarnrc ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── app/ │ ├── [locale]/ │ │ ├── calibrate/ │ │ │ └── page.tsx │ │ ├── globals.css │ │ ├── layout.tsx │ │ ├── loading.tsx │ │ └── page.tsx │ ├── _components/ │ │ ├── buttons/ │ │ │ ├── button.tsx │ │ │ ├── dropdown-checkbox-icon-button.tsx │ │ │ ├── dropdown-icon-button.tsx │ │ │ ├── icon-button.tsx │ │ │ └── install-button.tsx │ │ ├── canvases/ │ │ │ ├── calibration-canvas.tsx │ │ │ ├── measure-canvas.tsx │ │ │ └── overlay-canvas.tsx │ │ ├── draggable.tsx │ │ ├── filters.tsx │ │ ├── header.tsx │ │ ├── inline-input.tsx │ │ ├── inline-select.tsx │ │ ├── input.tsx │ │ ├── labelled-input.tsx │ │ ├── language-switcher.tsx │ │ ├── mail-modal.tsx │ │ ├── menus/ │ │ │ ├── layer-menu.tsx │ │ │ ├── line-menu.tsx │ │ │ ├── scale-menu.tsx │ │ │ ├── side-menu.tsx │ │ │ └── stitch-menu.tsx │ │ ├── modal/ │ │ │ ├── modal-actions.tsx │ │ │ ├── modal-content.tsx │ │ │ ├── modal-figure.tsx │ │ │ ├── modal-list.tsx │ │ │ ├── modal-subtitle.tsx │ │ │ ├── modal-text.tsx │ │ │ ├── modal-title.tsx │ │ │ └── modal.tsx │ │ ├── movement-pad.tsx │ │ ├── pdf-custom-renderer.tsx │ │ ├── pdf-error-modal.tsx │ │ ├── pdf-viewer.tsx │ │ ├── save-button.tsx │ │ ├── stepper-input.tsx │ │ ├── svg-viewer.tsx │ │ ├── theme/ │ │ │ ├── colors.ts │ │ │ ├── css-functions.ts │ │ │ └── styles.ts │ │ ├── tooltip/ │ │ │ └── tooltip.tsx │ │ └── troubleshooting-button.tsx │ ├── _hooks/ │ │ ├── use-key-down.ts │ │ ├── use-key-up.ts │ │ ├── use-layers.ts │ │ ├── use-on-click-outside.ts │ │ ├── use-prog-arrow-key-handler.ts │ │ ├── use-prog-arrow-key-points.ts │ │ ├── use-prog-arrow-key-to-matrix.ts │ │ ├── use-render-context.ts │ │ └── use-transform-context.tsx │ ├── _icons/ │ │ ├── add-box-icon.tsx │ │ ├── add-to-home-screen-icon.tsx │ │ ├── check-icon.tsx │ │ ├── close-icon.tsx │ │ ├── cycle-icon.tsx │ │ ├── delete-icon.tsx │ │ ├── download-icon.tsx │ │ ├── expand-less-icon.tsx │ │ ├── expand-more-icon.tsx │ │ ├── flex-wrap-icon.tsx │ │ ├── flip-center-off-icon.tsx │ │ ├── flip-center-on-icon.tsx │ │ ├── flip-horizontal-icon.tsx │ │ ├── flip-vertical-icon.tsx │ │ ├── flipped-pattern-icon.tsx │ │ ├── full-screen-exit-icon.tsx │ │ ├── full-screen-icon.tsx │ │ ├── github-icon.tsx │ │ ├── grid-off-icon.tsx │ │ ├── grid-on-icon.tsx │ │ ├── info-icon.tsx │ │ ├── install-desktop-icon.tsx │ │ ├── install-desktop.tsx │ │ ├── invert-color-icon.tsx │ │ ├── invert-color-off-icon.tsx │ │ ├── ios-share-icon.tsx │ │ ├── keyboard-arrow-down.tsx │ │ ├── keyboard-arrow-left.tsx │ │ ├── keyboard-arrow-right.tsx │ │ ├── keyboard-arrow-up.tsx │ │ ├── language-icon.tsx │ │ ├── layers-icon.tsx │ │ ├── layers-off-icon.tsx │ │ ├── line-weight-icon.tsx │ │ ├── loading-spinner.tsx │ │ ├── mail-icon.tsx │ │ ├── mark-and-measure-icon.tsx │ │ ├── more-vert-icon.tsx │ │ ├── move-icon.tsx │ │ ├── overlay-border-icon.tsx │ │ ├── overlay-paper-icon.tsx │ │ ├── pattern-projector-icon.tsx │ │ ├── pdf-icon.tsx │ │ ├── recenter-icon.tsx │ │ ├── rotate-90-degrees-cw-icon.tsx │ │ ├── rotate-to-horizontal.tsx │ │ ├── shift-icon.tsx │ │ ├── step-down-icon.tsx │ │ ├── step-up-icon.tsx │ │ ├── tune-icon.tsx │ │ ├── warning-icon.tsx │ │ ├── zoom-in-icon.tsx │ │ └── zoom-out-icon.tsx │ ├── _lib/ │ │ ├── calibration-context.ts │ │ ├── debounce.ts │ │ ├── direction.ts │ │ ├── display-settings.ts │ │ ├── drawing.ts │ │ ├── erode.ts │ │ ├── full-screen.ts │ │ ├── geometry.spec.ts │ │ ├── geometry.ts │ │ ├── get-page-numbers.ts │ │ ├── interfaces/ │ │ │ ├── edge-insets.ts │ │ │ ├── layer.ts │ │ │ ├── line.ts │ │ │ ├── select-option.ts │ │ │ └── stitch-settings.ts │ │ ├── is-valid-file.ts │ │ ├── key-code.ts │ │ ├── layers.ts │ │ ├── load-status-enum.ts │ │ ├── menu-states.ts │ │ ├── pdfstitcher.ts │ │ ├── pixels-per-inch.ts │ │ ├── point.ts │ │ ├── remove-non-digits.spec.ts │ │ ├── remove-non-digits.ts │ │ └── unit.ts │ ├── _reducers/ │ │ ├── layersReducer.ts │ │ ├── localTransformReducer.ts │ │ ├── patternScaleReducer.ts │ │ ├── pointsReducer.ts │ │ └── stitchSettingsReducer.ts │ ├── manifest.js │ └── sw.ts ├── cypress/ │ ├── fixtures/ │ │ └── example.json │ └── support/ │ ├── commands.ts │ ├── component-index.html │ └── component.ts ├── cypress.config.ts ├── global.d.ts ├── i18n.ts ├── jest.config.ts ├── messages/ │ ├── cs.json │ ├── da.json │ ├── de.json │ ├── en.json │ ├── es.json │ ├── fr.json │ ├── hu.json │ ├── it.json │ ├── nb-NO.json │ ├── nl.json │ ├── sl.json │ ├── sv.json │ ├── ta.json │ └── tr.json ├── middleware.ts ├── navigation.ts ├── next.config.mjs ├── package.json ├── patches/ │ └── react-pdf+7.7.0.patch ├── postcss.config.js ├── tailwind.config.ts └── tsconfig.json
Showing preview only (364K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (4908 symbols across 139 files)
FILE: .yarn/releases/yarn-1.22.21.cjs
function __webpack_require__ (line 8) | function __webpack_require__(moduleId) {
function __extends (line 151) | function __extends(d, b) {
function __rest (line 176) | function __rest(s, e) {
function __decorate (line 191) | function __decorate(decorators, target, key, desc) {
function __param (line 214) | function __param(paramIndex, decorator) {
function __metadata (line 220) | function __metadata(metadataKey, metadataValue) {
function __awaiter (line 228) | function __awaiter(thisArg, _arguments, P, generator) {
function __generator (line 255) | function __generator(thisArg, body) {
function __exportStar (line 354) | function __exportStar(m, exports) {
function __values (line 358) | function __values(o) {
function __read (line 370) | function __read(o, n) {
function __spread (line 392) | function __spread() {
function __await (line 398) | function __await(v) {
function __asyncGenerator (line 402) | function __asyncGenerator(thisArg, _arguments, generator) {
function __asyncDelegator (line 449) | function __asyncDelegator(o) {
function __asyncValues (line 476) | function __asyncValues(o) {
function __makeTemplateObject (line 511) | function __makeTemplateObject(cooked, raw) {
function __importStar (line 520) | function __importStar(mod) {
function __importDefault (line 530) | function __importDefault(mod) {
function _interopRequireDefault (line 546) | function _interopRequireDefault(obj) {
function step (line 554) | function step(key, arg) {
function _load_asyncToGenerator (line 639) | function _load_asyncToGenerator() {
function onDone (line 912) | function onDone() {
function onDone (line 1300) | function onDone() {
function _load_fs (line 2053) | function _load_fs() {
function _load_glob (line 2059) | function _load_glob() {
function _load_os (line 2065) | function _load_os() {
function _load_path (line 2071) | function _load_path() {
function _load_blockingQueue (line 2077) | function _load_blockingQueue() {
function _load_promise (line 2085) | function _load_promise() {
function _load_promise2 (line 2091) | function _load_promise2() {
function _load_map (line 2097) | function _load_map() {
function _load_fsNormalized (line 2103) | function _load_fsNormalized() {
function _interopRequireWildcard (line 2107) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 2123) | function _interopRequireDefault(obj) {
function copy (line 2217) | function copy(src, dest, reporter) {
function _readFile (line 2221) | function _readFile(loc, encoding) {
function readFile (line 2237) | function readFile(loc) {
function readFileRaw (line 2241) | function readFileRaw(loc) {
function normalizeOS (line 2245) | function normalizeOS(body) {
class MessageError (line 2261) | class MessageError extends Error {
method constructor (line 2262) | constructor(msg, code) {
class ProcessSpawnError (line 2269) | class ProcessSpawnError extends MessageError {
method constructor (line 2270) | constructor(msg, code, process) {
class SecurityError (line 2277) | class SecurityError extends MessageError {}
class ProcessTermError (line 2280) | class ProcessTermError extends MessageError {}
class ResponseError (line 2283) | class ResponseError extends Error {
method constructor (line 2284) | constructor(msg, responseCode) {
class OneTimePasswordError (line 2291) | class OneTimePasswordError extends Error {
method constructor (line 2292) | constructor(notice) {
function Subscriber (line 2333) | function Subscriber(destinationOrNext, error, complete) {
function SafeSubscriber (line 2447) | function SafeSubscriber(
function getPreferredCacheDirectories (line 2715) | function getPreferredCacheDirectories() {
function getYarnBinPath (line 2744) | function getYarnBinPath() {
function getPathKey (line 2787) | function getPathKey(platform, env) {
function compileStyleAliases (line 2894) | function compileStyleAliases(map) {
function Type (line 2908) | function Type(tag, options) {
function Observable (line 2988) | function Observable(subscribe) {
function getPromiseCtor (line 3128) | function getPromiseCtor(promiseCtor) {
function OuterSubscriber (line 3164) | function OuterSubscriber() {
function subscribeToResult (line 3200) | function subscribeToResult(
function _capitalize (line 3332) | function _capitalize(str) {
function _toss (line 3336) | function _toss(name, expected, oper, arg, actual) {
function _getClass (line 3346) | function _getClass(arg) {
function noop (line 3350) | function noop() {
function _setExports (line 3428) | function _setExports(ndebug) {
function sortAlpha (line 3578) | function sortAlpha(a, b) {
function sortOptionsByFlags (line 3591) | function sortOptionsByFlags(a, b) {
function entries (line 3597) | function entries(obj) {
function removePrefix (line 3607) | function removePrefix(pattern, prefix) {
function removeSuffix (line 3615) | function removeSuffix(pattern, suffix) {
function addSuffix (line 3623) | function addSuffix(pattern, suffix) {
function hyphenate (line 3631) | function hyphenate(str) {
function camelCase (line 3637) | function camelCase(str) {
function compareSortedArrays (line 3645) | function compareSortedArrays(array1, array2) {
function sleep (line 3657) | function sleep(ms) {
function _load_asyncToGenerator (line 3676) | function _load_asyncToGenerator() {
function _load_parse (line 3684) | function _load_parse() {
function _load_stringify (line 3697) | function _load_stringify() {
function _load_misc (line 3713) | function _load_misc() {
function _load_normalizePattern (line 3719) | function _load_normalizePattern() {
function _load_parse2 (line 3725) | function _load_parse2() {
function _load_constants (line 3731) | function _load_constants() {
function _load_fs (line 3737) | function _load_fs() {
function _interopRequireWildcard (line 3741) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 3757) | function _interopRequireDefault(obj) {
function getName (line 3766) | function getName(pattern) {
function blankObjectUndefined (line 3773) | function blankObjectUndefined(obj) {
function keyForRemote (line 3777) | function keyForRemote(remote) {
function serializeIntegrity (line 3786) | function serializeIntegrity(integrity) {
function implodeEntry (line 3792) | function implodeEntry(pattern, obj) {
function explodeEntry (line 3814) | function explodeEntry(pattern, obj) {
class Lockfile (line 3828) | class Lockfile {
method constructor (line 3829) | constructor({ cache, source, parseResultType } = {}) {
method hasEntriesExistWithoutIntegrity (line 3838) | hasEntriesExistWithoutIntegrity() {
method fromDirectory (line 3857) | static fromDirectory(dir, reporter) {
method getLocked (line 3904) | getLocked(pattern) {
method removePattern (line 3922) | removePattern(pattern) {
method getLockfile (line 3930) | getLockfile(patterns) {
function _interopRequireDefault (line 4020) | function _interopRequireDefault(obj) {
function parse (line 4383) | function parse(version, loose) {
function valid (line 4401) | function valid(version, loose) {
function clean (line 4407) | function clean(version, loose) {
function SemVer (line 4414) | function SemVer(version, loose) {
function inc (line 4614) | function inc(version, release, loose, identifier) {
function diff (line 4628) | function diff(version1, version2) {
function compareIdentifiers (line 4657) | function compareIdentifiers(a, b) {
function rcompareIdentifiers (line 4678) | function rcompareIdentifiers(a, b) {
function major (line 4683) | function major(a, loose) {
function minor (line 4688) | function minor(a, loose) {
function patch (line 4693) | function patch(a, loose) {
function compare (line 4698) | function compare(a, b, loose) {
function compareLoose (line 4703) | function compareLoose(a, b) {
function rcompare (line 4708) | function rcompare(a, b, loose) {
function sort (line 4713) | function sort(list, loose) {
function rsort (line 4720) | function rsort(list, loose) {
function gt (line 4727) | function gt(a, b, loose) {
function lt (line 4732) | function lt(a, b, loose) {
function eq (line 4737) | function eq(a, b, loose) {
function neq (line 4742) | function neq(a, b, loose) {
function gte (line 4747) | function gte(a, b, loose) {
function lte (line 4752) | function lte(a, b, loose) {
function cmp (line 4757) | function cmp(a, op, b, loose) {
function Comparator (line 4797) | function Comparator(comp, loose) {
function Range (line 4889) | function Range(range, loose) {
function toComparators (line 5002) | function toComparators(range, loose) {
function parseComparator (line 5017) | function parseComparator(comp, loose) {
function isX (line 5030) | function isX(id) {
function replaceTildes (line 5040) | function replaceTildes(comp, loose) {
function replaceTilde (line 5050) | function replaceTilde(comp, loose) {
function replaceCarets (line 5094) | function replaceCarets(comp, loose) {
function replaceCaret (line 5104) | function replaceCaret(comp, loose) {
function replaceXRanges (line 5192) | function replaceXRanges(comp, loose) {
function replaceXRange (line 5202) | function replaceXRange(comp, loose) {
function replaceStars (line 5263) | function replaceStars(comp, loose) {
function hyphenReplace (line 5274) | function hyphenReplace(
function testSet (line 5316) | function testSet(set, version) {
function satisfies (line 5350) | function satisfies(version, range, loose) {
function maxSatisfying (line 5360) | function maxSatisfying(versions, range, loose) {
function minSatisfying (line 5382) | function minSatisfying(versions, range, loose) {
function validRange (line 5404) | function validRange(range, loose) {
function ltr (line 5416) | function ltr(version, range, loose) {
function gtr (line 5422) | function gtr(version, range, loose) {
function outside (line 5427) | function outside(version, range, hilo, loose) {
function prerelease (line 5499) | function prerelease(version, loose) {
function intersects (line 5505) | function intersects(r1, r2, loose) {
function coerce (line 5512) | function coerce(version) {
function Subscription (line 5565) | function Subscription(unsubscribe) {
function flattenUnsubscriptionErrors (line 5757) | function flattenUnsubscriptionErrors(errors) {
function isCompatible (line 5810) | function isCompatible(obj, klass, needVer) {
function assertCompatible (line 5831) | function assertCompatible(obj, klass, needVer, name) {
function opensslKeyDeriv (line 5876) | function opensslKeyDeriv(cipher, salt, passphrase, count) {
function countZeros (line 5907) | function countZeros(buf) {
function bufferSplit (line 5922) | function bufferSplit(buf, chr) {
function ecNormalize (line 5946) | function ecNormalize(buf, addZero) {
function readBitString (line 5969) | function readBitString(der, tag) {
function writeBitString (line 5983) | function writeBitString(der, buf, tag) {
function mpNormalize (line 5991) | function mpNormalize(buf) {
function mpDenormalize (line 6004) | function mpDenormalize(buf) {
function zeroPadToLength (line 6010) | function zeroPadToLength(buf, len) {
function bigintToMpBuf (line 6026) | function bigintToMpBuf(bigint) {
function calculateDSAPublic (line 6032) | function calculateDSAPublic(g, p, x) {
function calculateED25519Public (line 6052) | function calculateED25519Public(k) {
function calculateX25519Public (line 6061) | function calculateX25519Public(k) {
function addRSAMissing (line 6070) | function addRSAMissing(key) {
function publicFromPrivateECDSA (line 6103) | function publicFromPrivateECDSA(curveName, priv) {
function opensshCipherInfo (line 6127) | function opensshCipherInfo(cipher) {
function applyOptions (line 6191) | function applyOptions(obj, options) {
function Chalk (line 6200) | function Chalk(options) {
method get (line 6235) | get() {
method get (line 6248) | get() {
method get (line 6263) | get() {
method get (line 6297) | get() {
function build (line 6322) | function build(_styles, _empty, key) {
function applyStyle (line 6362) | function applyStyle() {
function chalkTag (line 6409) | function chalkTag(chalk, strings) {
function Key (line 6472) | function Key(opts) {
function nullify (line 6716) | function nullify(obj = {}) {
function PrivateKey (line 7052) | function PrivateKey(opts) {
function _load_extends (line 7265) | function _load_extends() {
function _load_asyncToGenerator (line 7271) | function _load_asyncToGenerator() {
function _load_objectPath (line 7389) | function _load_objectPath() {
function _load_hooks (line 7395) | function _load_hooks() {
function _load_index (line 7401) | function _load_index() {
function _load_errors (line 7407) | function _load_errors() {
function _load_integrityChecker (line 7413) | function _load_integrityChecker() {
function _load_lockfile (line 7421) | function _load_lockfile() {
function _load_lockfile2 (line 7427) | function _load_lockfile2() {
function _load_packageFetcher (line 7433) | function _load_packageFetcher() {
function _load_packageInstallScripts (line 7441) | function _load_packageInstallScripts() {
function _load_packageCompatibility (line 7449) | function _load_packageCompatibility() {
function _load_packageResolver (line 7457) | function _load_packageResolver() {
function _load_packageLinker (line 7465) | function _load_packageLinker() {
function _load_index2 (line 7473) | function _load_index2() {
function _load_index3 (line 7479) | function _load_index3() {
function _load_autoclean (line 7485) | function _load_autoclean() {
function _load_constants (line 7491) | function _load_constants() {
function _load_normalizePattern (line 7497) | function _load_normalizePattern() {
function _load_fs (line 7503) | function _load_fs() {
function _load_map (line 7509) | function _load_map() {
function _load_yarnVersion (line 7515) | function _load_yarnVersion() {
function _load_generatePnpMap (line 7521) | function _load_generatePnpMap() {
function _load_workspaceLayout (line 7527) | function _load_workspaceLayout() {
function _load_resolutionMap (line 7535) | function _load_resolutionMap() {
function _load_guessName (line 7543) | function _load_guessName() {
function _load_audit (line 7549) | function _load_audit() {
function _interopRequireWildcard (line 7553) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 7569) | function _interopRequireDefault(obj) {
function getUpdateCommand (line 7588) | function getUpdateCommand(installationMethod) {
function getUpdateInstaller (line 7624) | function getUpdateInstaller(installationMethod) {
function normalizeFlags (line 7633) | function normalizeFlags(config, rawFlags) {
class Install (line 7690) | class Install {
method constructor (line 7691) | constructor(flags, config, reporter, lockfile) {
method fetchRequestFromCwd (line 7721) | fetchRequestFromCwd(
method prepareRequests (line 8232) | prepareRequests(requests) {
method preparePatterns (line 8236) | preparePatterns(patterns) {
method preparePatternsForLinking (line 8239) | preparePatternsForLinking(patterns, cwdManifest, cwdIsRoot) {
method prepareManifests (line 8243) | prepareManifests() {
method bailout (line 8254) | bailout(patterns, workspaceLayout) {
method createEmptyManifestFolders (line 8346) | createEmptyManifestFolders() {
method markIgnored (line 8392) | markIgnored(patterns) {
method getFlattenedDeps (line 8430) | getFlattenedDeps() {
method init (line 8456) | init() {
method checkCompatibility (line 8881) | checkCompatibility() {
method persistChanges (line 8897) | persistChanges() {
method applyChanges (line 8912) | applyChanges(manifests) {
method shouldClean (line 8948) | shouldClean() {
method flatten (line 8961) | flatten(patterns) {
method pruneOfflineMirror (line 9120) | pruneOfflineMirror(lockfile) {
method saveLockfileAndIntegrity (line 9188) | saveLockfileAndIntegrity(patterns, workspaceLayout) {
method _logSuccessSaveLockfile (line 9312) | _logSuccessSaveLockfile() {
method hydrate (line 9319) | hydrate(ignoreUnusedPatterns) {
method checkUpdate (line 9407) | checkUpdate() {
method _checkUpdate (line 9435) | _checkUpdate() {
method maybeOutputUpdate (line 9498) | maybeOutputUpdate() {}
function hasWrapper (line 9502) | function hasWrapper(commander, args) {
function setFlags (line 9506) | function setFlags(commander) {
function SubjectSubscriber (line 9587) | function SubjectSubscriber(destination) {
function Subject (line 9600) | function Subject() {
function AnonymousSubject (line 9722) | function AnonymousSubject(destination, source) {
function normalizePattern (line 9776) | function normalizePattern(pattern) {
function apply (line 10552) | function apply(func, thisArg, args) {
function arrayAggregator (line 10576) | function arrayAggregator(array, setter, iteratee, accumulator) {
function arrayEach (line 10596) | function arrayEach(array, iteratee) {
function arrayEachRight (line 10617) | function arrayEachRight(array, iteratee) {
function arrayEvery (line 10638) | function arrayEvery(array, predicate) {
function arrayFilter (line 10659) | function arrayFilter(array, predicate) {
function arrayIncludes (line 10683) | function arrayIncludes(array, value) {
function arrayIncludesWith (line 10697) | function arrayIncludesWith(array, value, comparator) {
function arrayMap (line 10718) | function arrayMap(array, iteratee) {
function arrayPush (line 10737) | function arrayPush(array, values) {
function arrayReduce (line 10760) | function arrayReduce(array, iteratee, accumulator, initAccum) {
function arrayReduceRight (line 10785) | function arrayReduceRight(array, iteratee, accumulator, initAccum) {
function arraySome (line 10806) | function arraySome(array, predicate) {
function asciiToArray (line 10834) | function asciiToArray(string) {
function asciiWords (line 10845) | function asciiWords(string) {
function baseFindKey (line 10860) | function baseFindKey(collection, predicate, eachFunc) {
function baseFindIndex (line 10882) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseIndexOf (line 10903) | function baseIndexOf(array, value, fromIndex) {
function baseIndexOfWith (line 10919) | function baseIndexOfWith(array, value, fromIndex, comparator) {
function baseIsNaN (line 10938) | function baseIsNaN(value) {
function baseMean (line 10951) | function baseMean(array, iteratee) {
function baseProperty (line 10963) | function baseProperty(key) {
function basePropertyOf (line 10976) | function basePropertyOf(object) {
function baseReduce (line 10995) | function baseReduce(
function baseSortBy (line 11020) | function baseSortBy(array, comparer) {
function baseSum (line 11039) | function baseSum(array, iteratee) {
function baseTimes (line 11062) | function baseTimes(n, iteratee) {
function baseToPairs (line 11081) | function baseToPairs(object, props) {
function baseUnary (line 11094) | function baseUnary(func) {
function baseValues (line 11110) | function baseValues(object, props) {
function cacheHas (line 11124) | function cacheHas(cache, key) {
function charsStartIndex (line 11137) | function charsStartIndex(strSymbols, chrSymbols) {
function charsEndIndex (line 11157) | function charsEndIndex(strSymbols, chrSymbols) {
function countHolders (line 11175) | function countHolders(array, placeholder) {
function escapeStringChar (line 11213) | function escapeStringChar(chr) {
function getValue (line 11225) | function getValue(object, key) {
function hasUnicode (line 11236) | function hasUnicode(string) {
function hasUnicodeWord (line 11247) | function hasUnicodeWord(string) {
function iteratorToArray (line 11258) | function iteratorToArray(iterator) {
function mapToArray (line 11275) | function mapToArray(map) {
function overArg (line 11293) | function overArg(func, transform) {
function replaceHolders (line 11308) | function replaceHolders(array, placeholder) {
function safeGet (line 11332) | function safeGet(object, key) {
function setToArray (line 11343) | function setToArray(set) {
function setToPairs (line 11360) | function setToPairs(set) {
function strictIndexOf (line 11380) | function strictIndexOf(array, value, fromIndex) {
function strictLastIndexOf (line 11402) | function strictLastIndexOf(array, value, fromIndex) {
function stringSize (line 11419) | function stringSize(string) {
function stringToArray (line 11430) | function stringToArray(string) {
function unicodeSize (line 11452) | function unicodeSize(string) {
function unicodeToArray (line 11467) | function unicodeToArray(string) {
function unicodeWords (line 11478) | function unicodeWords(string) {
function lodash (line 11775) | function lodash(value) {
function object (line 11800) | function object() {}
function baseLodash (line 11820) | function baseLodash() {
function LodashWrapper (line 11831) | function LodashWrapper(value, chainAll) {
function LazyWrapper (line 11914) | function LazyWrapper(value) {
function lazyClone (line 11932) | function lazyClone() {
function lazyReverse (line 11951) | function lazyReverse() {
function lazyValue (line 11971) | function lazyValue() {
function Hash (line 12035) | function Hash(entries) {
method isHash (line 30725) | get isHash() {
method constructor (line 30728) | constructor(hash, opts) {
method hexDigest (line 30748) | hexDigest() {
method toJSON (line 30753) | toJSON() {
method toString (line 30756) | toString(opts) {
function hashClear (line 12053) | function hashClear() {
function hashDelete (line 12068) | function hashDelete(key) {
function hashGet (line 12083) | function hashGet(key) {
function hashHas (line 12101) | function hashHas(key) {
function hashSet (line 12118) | function hashSet(key, value) {
function ListCache (line 12142) | function ListCache(entries) {
function listCacheClear (line 12160) | function listCacheClear() {
function listCacheDelete (line 12174) | function listCacheDelete(key) {
function listCacheGet (line 12200) | function listCacheGet(key) {
function listCacheHas (line 12216) | function listCacheHas(key) {
function listCacheSet (line 12230) | function listCacheSet(key, value) {
function MapCache (line 12259) | function MapCache(entries) {
function mapCacheClear (line 12277) | function mapCacheClear() {
function mapCacheDelete (line 12295) | function mapCacheDelete(key) {
function mapCacheGet (line 12310) | function mapCacheGet(key) {
function mapCacheHas (line 12323) | function mapCacheHas(key) {
function mapCacheSet (line 12337) | function mapCacheSet(key, value) {
function SetCache (line 12363) | function SetCache(values) {
function setCacheAdd (line 12383) | function setCacheAdd(value) {
function setCacheHas (line 12397) | function setCacheHas(value) {
function Stack (line 12414) | function Stack(entries) {
function stackClear (line 12426) | function stackClear() {
function stackDelete (line 12440) | function stackDelete(key) {
function stackGet (line 12457) | function stackGet(key) {
function stackHas (line 12470) | function stackHas(key) {
function stackSet (line 12484) | function stackSet(key, value) {
function arrayLikeKeys (line 12517) | function arrayLikeKeys(value, inherited) {
function arraySample (line 12557) | function arraySample(array) {
function arraySampleSize (line 12570) | function arraySampleSize(array, n) {
function arrayShuffle (line 12584) | function arrayShuffle(array) {
function assignMergeValue (line 12597) | function assignMergeValue(object, key, value) {
function assignValue (line 12616) | function assignValue(object, key, value) {
function assocIndexOf (line 12634) | function assocIndexOf(array, key) {
function baseAggregator (line 12655) | function baseAggregator(collection, setter, iteratee, accumulator) {
function baseAssign (line 12671) | function baseAssign(object, source) {
function baseAssignIn (line 12684) | function baseAssignIn(object, source) {
function baseAssignValue (line 12697) | function baseAssignValue(object, key, value) {
function baseAt (line 12718) | function baseAt(object, paths) {
function baseClamp (line 12739) | function baseClamp(number, lower, upper) {
function baseClone (line 12767) | function baseClone(value, bitmask, customizer, key, object, stack) {
function baseConforms (line 12878) | function baseConforms(source) {
function baseConformsTo (line 12893) | function baseConformsTo(object, source, props) {
function baseDelay (line 12924) | function baseDelay(func, wait, args) {
function baseDifference (line 12944) | function baseDifference(array, values, iteratee, comparator) {
function baseEvery (line 13015) | function baseEvery(collection, predicate) {
function baseExtremum (line 13034) | function baseExtremum(array, iteratee, comparator) {
function baseFill (line 13065) | function baseFill(array, value, start, end) {
function baseFilter (line 13091) | function baseFilter(collection, predicate) {
function baseFlatten (line 13112) | function baseFlatten(array, depth, predicate, isStrict, result) {
function baseForOwn (line 13168) | function baseForOwn(object, iteratee) {
function baseForOwnRight (line 13180) | function baseForOwnRight(object, iteratee) {
function baseFunctions (line 13193) | function baseFunctions(object, props) {
function baseGet (line 13207) | function baseGet(object, path) {
function baseGetAllKeys (line 13230) | function baseGetAllKeys(object, keysFunc, symbolsFunc) {
function baseGetTag (line 13244) | function baseGetTag(value) {
function baseGt (line 13262) | function baseGt(value, other) {
function baseHas (line 13274) | function baseHas(object, key) {
function baseHasIn (line 13286) | function baseHasIn(object, key) {
function baseInRange (line 13299) | function baseInRange(number, start, end) {
function baseIntersection (line 13316) | function baseIntersection(arrays, iteratee, comparator) {
function baseInverter (line 13383) | function baseInverter(object, setter, iteratee, accumulator) {
function baseInvoke (line 13400) | function baseInvoke(object, path, args) {
function baseIsArguments (line 13414) | function baseIsArguments(value) {
function baseIsArrayBuffer (line 13425) | function baseIsArrayBuffer(value) {
function baseIsDate (line 13436) | function baseIsDate(value) {
function baseIsEqual (line 13454) | function baseIsEqual(value, other, bitmask, customizer, stack) {
function baseIsEqualDeep (line 13489) | function baseIsEqualDeep(
function baseIsMap (line 13578) | function baseIsMap(value) {
function baseIsMatch (line 13592) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 13659) | function baseIsNative(value) {
function baseIsRegExp (line 13674) | function baseIsRegExp(value) {
function baseIsSet (line 13685) | function baseIsSet(value) {
function baseIsTypedArray (line 13696) | function baseIsTypedArray(value) {
function baseIteratee (line 13711) | function baseIteratee(value) {
function baseKeys (line 13735) | function baseKeys(object) {
function baseKeysIn (line 13755) | function baseKeysIn(object) {
function baseLt (line 13784) | function baseLt(value, other) {
function baseMap (line 13796) | function baseMap(collection, iteratee) {
function baseMatches (line 13815) | function baseMatches(source) {
function baseMatchesProperty (line 13838) | function baseMatchesProperty(path, srcValue) {
function baseMerge (line 13865) | function baseMerge(object, source, srcIndex, customizer, stack) {
function baseMergeDeep (line 13920) | function baseMergeDeep(
function baseNth (line 14001) | function baseNth(array, n) {
function baseOrderBy (line 14019) | function baseOrderBy(collection, iteratees, orders) {
function basePick (line 14050) | function basePick(object, paths) {
function basePickBy (line 14065) | function basePickBy(object, paths, predicate) {
function basePropertyDeep (line 14088) | function basePropertyDeep(path) {
function basePullAll (line 14105) | function basePullAll(array, values, iteratee, comparator) {
function basePullAt (line 14144) | function basePullAt(array, indexes) {
function baseRandom (line 14171) | function baseRandom(lower, upper) {
function baseRange (line 14186) | function baseRange(start, end, step, fromRight) {
function baseRepeat (line 14206) | function baseRepeat(string, n) {
function baseRest (line 14234) | function baseRest(func, start) {
function baseSample (line 14245) | function baseSample(collection) {
function baseSampleSize (line 14257) | function baseSampleSize(collection, n) {
function baseSet (line 14272) | function baseSet(object, path, value, customizer) {
function baseShuffle (line 14347) | function baseShuffle(collection) {
function baseSlice (line 14360) | function baseSlice(array, start, end) {
function baseSome (line 14390) | function baseSome(collection, predicate) {
function baseSortedIndex (line 14412) | function baseSortedIndex(array, value, retHighest) {
function baseSortedIndexBy (line 14453) | function baseSortedIndexBy(array, value, iteratee, retHighest) {
function baseSortedUniq (line 14509) | function baseSortedUniq(array, iteratee) {
function baseToNumber (line 14535) | function baseToNumber(value) {
function baseToString (line 14553) | function baseToString(value) {
function baseUniq (line 14578) | function baseUniq(array, iteratee, comparator) {
function baseUnset (line 14634) | function baseUnset(object, path) {
function baseUpdate (line 14650) | function baseUpdate(object, path, updater, customizer) {
function baseWhile (line 14670) | function baseWhile(array, predicate, isDrop, fromRight) {
function baseWrapperValue (line 14702) | function baseWrapperValue(value, actions) {
function baseXor (line 14729) | function baseXor(arrays, iteratee, comparator) {
function baseZipObject (line 14764) | function baseZipObject(props, values, assignFunc) {
function castArrayLikeObject (line 14784) | function castArrayLikeObject(value) {
function castFunction (line 14795) | function castFunction(value) {
function castPath (line 14807) | function castPath(value, object) {
function castSlice (line 14836) | function castSlice(array, start, end) {
function cloneBuffer (line 14864) | function cloneBuffer(buffer, isDeep) {
function cloneArrayBuffer (line 14884) | function cloneArrayBuffer(arrayBuffer) {
function cloneDataView (line 14898) | function cloneDataView(dataView, isDeep) {
function cloneRegExp (line 14916) | function cloneRegExp(regexp) {
function cloneSymbol (line 14932) | function cloneSymbol(symbol) {
function cloneTypedArray (line 14944) | function cloneTypedArray(typedArray, isDeep) {
function compareAscending (line 14963) | function compareAscending(value, other) {
function compareMultiple (line 15025) | function compareMultiple(object, other, orders) {
function composeArgs (line 15066) | function composeArgs(args, partials, holders, isCurried) {
function composeArgsRight (line 15101) | function composeArgsRight(args, partials, holders, isCurried) {
function copyArray (line 15135) | function copyArray(source, array) {
function copyObject (line 15156) | function copyObject(source, props, object, customizer) {
function copySymbols (line 15190) | function copySymbols(source, object) {
function copySymbolsIn (line 15202) | function copySymbolsIn(source, object) {
function createAggregator (line 15214) | function createAggregator(setter, initializer) {
function createAssigner (line 15237) | function createAssigner(assigner) {
function createBaseEach (line 15272) | function createBaseEach(eachFunc, fromRight) {
function createBaseFor (line 15300) | function createBaseFor(fromRight) {
function createBind (line 15327) | function createBind(func, bitmask, thisArg) {
function createCaseFirst (line 15348) | function createCaseFirst(methodName) {
function createCompounder (line 15373) | function createCompounder(callback) {
function createCtor (line 15391) | function createCtor(Ctor) {
function createCurry (line 15454) | function createCurry(func, bitmask, arity) {
function createFind (line 15504) | function createFind(findIndexFunc) {
function createFlow (line 15528) | function createFlow(fromRight) {
function createHybrid (line 15612) | function createHybrid(
function createInverter (line 15698) | function createInverter(setter, toIteratee) {
function createMathOperation (line 15712) | function createMathOperation(operator, defaultValue) {
function createOver (line 15745) | function createOver(arrayFunc) {
function createPadding (line 15766) | function createPadding(length, chars) {
function createPartial (line 15794) | function createPartial(func, bitmask, thisArg, partials) {
function createRange (line 15827) | function createRange(fromRight) {
function createRelationalOperation (line 15857) | function createRelationalOperation(operator) {
function createRecurry (line 15884) | function createRecurry(
function createRound (line 15938) | function createRound(methodName) {
function createToPairs (line 15979) | function createToPairs(keysFunc) {
function createWrap (line 16017) | function createWrap(
function customDefaultsAssignIn (line 16114) | function customDefaultsAssignIn(objValue, srcValue, key, object) {
function customDefaultsMerge (line 16139) | function customDefaultsMerge(
function customOmitClone (line 16171) | function customOmitClone(value) {
function equalArrays (line 16188) | function equalArrays(
function equalByTag (line 16297) | function equalByTag(
function equalObjects (line 16398) | function equalObjects(
function flatRest (line 16487) | function flatRest(func) {
function getAllKeys (line 16498) | function getAllKeys(object) {
function getAllKeysIn (line 16510) | function getAllKeysIn(object) {
function getFuncName (line 16534) | function getFuncName(func) {
function getHolder (line 16558) | function getHolder(func) {
function getIteratee (line 16576) | function getIteratee() {
function getMapData (line 16592) | function getMapData(map, key) {
function getMatchData (line 16606) | function getMatchData(object) {
function getNative (line 16627) | function getNative(object, key) {
function getRawTag (line 16639) | function getRawTag(value) {
function getView (line 16750) | function getView(start, end, transforms) {
function getWrapDetails (line 16783) | function getWrapDetails(source) {
function hasPath (line 16797) | function hasPath(object, path, hasFunc) {
function initCloneArray (line 16830) | function initCloneArray(array) {
function initCloneObject (line 16853) | function initCloneObject(object) {
function initCloneByTag (line 16872) | function initCloneByTag(object, tag, isDeep) {
function insertWrapDetails (line 16922) | function insertWrapDetails(source, details) {
function isFlattenable (line 16944) | function isFlattenable(value) {
function isIndex (line 16960) | function isIndex(value, length) {
function isIterateeCall (line 16984) | function isIterateeCall(value, index, object) {
function isKey (line 17007) | function isKey(value, object) {
function isKeyable (line 17035) | function isKeyable(value) {
function isLaziable (line 17053) | function isLaziable(func) {
function isMasked (line 17077) | function isMasked(func) {
function isPrototype (line 17097) | function isPrototype(value) {
function isStrictComparable (line 17113) | function isStrictComparable(value) {
function matchesStrictComparable (line 17126) | function matchesStrictComparable(key, srcValue) {
function memoizeCapped (line 17146) | function memoizeCapped(func) {
function mergeData (line 17174) | function mergeData(data, source) {
function nativeKeysIn (line 17254) | function nativeKeysIn(object) {
function objectToString (line 17271) | function objectToString(value) {
function overRest (line 17284) | function overRest(func, start, transform) {
function parent (line 17316) | function parent(object, path) {
function reorder (line 17332) | function reorder(array, indexes) {
function setWrapToString (line 17396) | function setWrapToString(wrapper, reference, bitmask) {
function shortOut (line 17416) | function shortOut(func) {
function shuffleSelf (line 17444) | function shuffleSelf(array, size) {
function toKey (line 17493) | function toKey(value) {
function toSource (line 17508) | function toSource(func) {
function updateWrapDetails (line 17528) | function updateWrapDetails(details, bitmask) {
function wrapperClone (line 17545) | function wrapperClone(wrapper) {
function chunk (line 17582) | function chunk(array, size, guard) {
function compact (line 17619) | function compact(array) {
function concat (line 17656) | function concat() {
function drop (line 17807) | function drop(array, n, guard) {
function dropRight (line 17841) | function dropRight(array, n, guard) {
function dropRightWhile (line 17886) | function dropRightWhile(array, predicate) {
function dropWhile (line 17927) | function dropWhile(array, predicate) {
function fill (line 17962) | function fill(array, value, start, end) {
function findIndex (line 18013) | function findIndex(array, predicate, fromIndex) {
function findLastIndex (line 18060) | function findLastIndex(array, predicate, fromIndex) {
function flatten (line 18095) | function flatten(array) {
function flattenDeep (line 18114) | function flattenDeep(array) {
function flattenDepth (line 18139) | function flattenDepth(array, depth) {
function fromPairs (line 18163) | function fromPairs(pairs) {
function head (line 18193) | function head(array) {
function indexOf (line 18220) | function indexOf(array, value, fromIndex) {
function initial (line 18246) | function initial(array) {
function join (line 18362) | function join(array, separator) {
function last (line 18380) | function last(array) {
function lastIndexOf (line 18406) | function lastIndexOf(array, value, fromIndex) {
function nth (line 18445) | function nth(array, n) {
function pullAll (line 18496) | function pullAll(array, values) {
function pullAllBy (line 18525) | function pullAllBy(array, values, iteratee) {
function pullAllWith (line 18554) | function pullAllWith(array, values, comparator) {
function remove (line 18626) | function remove(array, predicate) {
function reverse (line 18670) | function reverse(array) {
function slice (line 18690) | function slice(array, start, end) {
function sortedIndex (line 18726) | function sortedIndex(array, value) {
function sortedIndexBy (line 18755) | function sortedIndexBy(array, value, iteratee) {
function sortedIndexOf (line 18775) | function sortedIndexOf(array, value) {
function sortedLastIndex (line 18804) | function sortedLastIndex(array, value) {
function sortedLastIndexBy (line 18833) | function sortedLastIndexBy(array, value, iteratee) {
function sortedLastIndexOf (line 18858) | function sortedLastIndexOf(array, value) {
function sortedUniq (line 18884) | function sortedUniq(array) {
function sortedUniqBy (line 18904) | function sortedUniqBy(array, iteratee) {
function tail (line 18924) | function tail(array) {
function take (line 18954) | function take(array, n, guard) {
function takeRight (line 18987) | function takeRight(array, n, guard) {
function takeRightWhile (line 19032) | function takeRightWhile(array, predicate) {
function takeWhile (line 19073) | function takeWhile(array, predicate) {
function uniq (line 19183) | function uniq(array) {
function uniqBy (line 19210) | function uniqBy(array, iteratee) {
function uniqWith (line 19236) | function uniqWith(array, comparator) {
function unzip (line 19263) | function unzip(array) {
function unzipWith (line 19300) | function unzipWith(array, iteratee) {
function zipObject (line 19461) | function zipObject(props, values) {
function zipObjectDeep (line 19480) | function zipObjectDeep(props, values) {
function chain (line 19546) | function chain(value) {
function tap (line 19575) | function tap(value, interceptor) {
function thru (line 19603) | function thru(value, interceptor) {
function wrapperChain (line 19682) | function wrapperChain() {
function wrapperCommit (line 19712) | function wrapperCommit() {
function wrapperNext (line 19738) | function wrapperNext() {
function wrapperToIterator (line 19766) | function wrapperToIterator() {
function wrapperPlant (line 19794) | function wrapperPlant(value) {
function wrapperReverse (line 19834) | function wrapperReverse() {
function wrapperValue (line 19866) | function wrapperValue() {
function every (line 19943) | function every(collection, predicate, guard) {
function filter (line 19988) | function filter(collection, predicate) {
function flatMap (line 20073) | function flatMap(collection, iteratee) {
function flatMapDeep (line 20097) | function flatMapDeep(collection, iteratee) {
function flatMapDepth (line 20122) | function flatMapDepth(collection, iteratee, depth) {
function forEach (line 20157) | function forEach(collection, iteratee) {
function forEachRight (line 20182) | function forEachRight(collection, iteratee) {
function includes (line 20248) | function includes(collection, value, fromIndex, guard) {
function map (line 20376) | function map(collection, iteratee) {
function orderBy (line 20410) | function orderBy(collection, iteratees, orders, guard) {
function reduce (line 20506) | function reduce(collection, iteratee, accumulator) {
function reduceRight (line 20541) | function reduceRight(collection, iteratee, accumulator) {
function reject (line 20588) | function reject(collection, predicate) {
function sample (line 20607) | function sample(collection) {
function sampleSize (line 20632) | function sampleSize(collection, n, guard) {
function shuffle (line 20659) | function shuffle(collection) {
function size (line 20685) | function size(collection) {
function some (line 20737) | function some(collection, predicate, guard) {
function after (line 20843) | function after(n, func) {
function ary (line 20872) | function ary(func, n, guard) {
function before (line 20903) | function before(n, func) {
function curry (line 21059) | function curry(func, arity, guard) {
function curryRight (line 21113) | function curryRight(func, arity, guard) {
function debounce (line 21183) | function debounce(func, wait, options) {
function flip (line 21377) | function flip(func) {
function memoize (line 21425) | function memoize(func, resolver) {
function negate (line 21471) | function negate(predicate) {
function once (line 21509) | function once(func) {
function rest (line 21710) | function rest(func, start) {
function spread (line 21752) | function spread(func, start) {
function throttle (line 21812) | function throttle(func, wait, options) {
function unary (line 21846) | function unary(func) {
function wrap (line 21872) | function wrap(value, wrapper) {
function castArray (line 21911) | function castArray() {
function clone (line 21945) | function clone(value) {
function cloneWith (line 21980) | function cloneWith(value, customizer) {
function cloneDeep (line 22004) | function cloneDeep(value) {
function cloneDeepWith (line 22036) | function cloneDeepWith(value, customizer) {
function conformsTo (line 22070) | function conformsTo(object, source) {
function eq (line 22108) | function eq(value, other) {
function isArrayLike (line 22267) | function isArrayLike(value) {
function isArrayLikeObject (line 22298) | function isArrayLikeObject(value) {
function isBoolean (line 22319) | function isBoolean(value) {
function isElement (line 22382) | function isElement(value) {
function isEmpty (line 22423) | function isEmpty(value) {
function isEqual (line 22481) | function isEqual(value, other) {
function isEqualWith (line 22517) | function isEqualWith(value, other, customizer) {
function isError (line 22544) | function isError(value) {
function isFinite (line 22584) | function isFinite(value) {
function isFunction (line 22605) | function isFunction(value) {
function isInteger (line 22646) | function isInteger(value) {
function isLength (line 22676) | function isLength(value) {
function isObject (line 22710) | function isObject(value) {
function isObjectLike (line 22739) | function isObjectLike(value) {
function isMatch (line 22790) | function isMatch(object, source) {
function isMatchWith (line 22829) | function isMatchWith(object, source, customizer) {
function isNaN (line 22868) | function isNaN(value) {
function isNative (line 22901) | function isNative(value) {
function isNull (line 22925) | function isNull(value) {
function isNil (line 22949) | function isNil(value) {
function isNumber (line 22979) | function isNumber(value) {
function isPlainObject (line 23014) | function isPlainObject(value) {
function isSafeInteger (line 23079) | function isSafeInteger(value) {
function isString (line 23123) | function isString(value) {
function isSymbol (line 23149) | function isSymbol(value) {
function isUndefined (line 23194) | function isUndefined(value) {
function isWeakMap (line 23215) | function isWeakMap(value) {
function isWeakSet (line 23236) | function isWeakSet(value) {
function toArray (line 23315) | function toArray(value) {
function toFinite (line 23361) | function toFinite(value) {
function toInteger (line 23399) | function toInteger(value) {
function toLength (line 23437) | function toLength(value) {
function toNumber (line 23466) | function toNumber(value) {
function toPlainObject (line 23514) | function toPlainObject(value) {
function toSafeInteger (line 23542) | function toSafeInteger(value) {
function toString (line 23575) | function toString(value) {
function create (line 23782) | function create(prototype, properties) {
function findKey (line 23903) | function findKey(object, predicate) {
function findLastKey (line 23942) | function findLastKey(object, predicate) {
function forIn (line 23978) | function forIn(object, iteratee) {
function forInRight (line 24010) | function forInRight(object, iteratee) {
function forOwn (line 24044) | function forOwn(object, iteratee) {
function forOwnRight (line 24074) | function forOwnRight(object, iteratee) {
function functions (line 24103) | function functions(object) {
function functionsIn (line 24130) | function functionsIn(object) {
function get (line 24161) | function get(object, path, defaultValue) {
function has (line 24193) | function has(object, path) {
function hasIn (line 24223) | function hasIn(object, path) {
function keys (line 24339) | function keys(object) {
function keysIn (line 24368) | function keysIn(object) {
function mapKeys (line 24395) | function mapKeys(object, iteratee) {
function mapValues (line 24433) | function mapValues(object, iteratee) {
function omitBy (line 24581) | function omitBy(object, predicate) {
function pickBy (line 24624) | function pickBy(object, predicate) {
function result (line 24666) | function result(object, path, defaultValue) {
function set (line 24717) | function set(object, path, value) {
function setWith (line 24745) | function setWith(object, path, value, customizer) {
function transform (line 24835) | function transform(object, iteratee, accumulator) {
function unset (line 24888) | function unset(object, path) {
function update (line 24919) | function update(object, path, updater) {
function updateWith (line 24949) | function updateWith(object, path, updater, customizer) {
function values (line 24983) | function values(object) {
function valuesIn (line 25011) | function valuesIn(object) {
function clamp (line 25036) | function clamp(number, lower, upper) {
function inRange (line 25090) | function inRange(number, start, end) {
function random (line 25133) | function random(lower, upper, floating) {
function capitalize (line 25223) | function capitalize(string) {
function deburr (line 25245) | function deburr(string) {
function endsWith (line 25276) | function endsWith(string, target, position) {
function escape (line 25319) | function escape(string) {
function escapeRegExp (line 25341) | function escapeRegExp(string) {
function pad (line 25439) | function pad(string, length, chars) {
function padEnd (line 25478) | function padEnd(string, length, chars) {
function padStart (line 25511) | function padStart(string, length, chars) {
function parseInt (line 25545) | function parseInt(string, radix, guard) {
function repeat (line 25579) | function repeat(string, n, guard) {
function replace (line 25607) | function replace() {
function split (line 25660) | function split(string, separator, limit) {
function startsWith (line 25734) | function startsWith(string, target, position) {
function template (line 25849) | function template(string, options, guard) {
function toLower (line 26010) | function toLower(value) {
function toUpper (line 26035) | function toUpper(value) {
function trim (line 26061) | function trim(string, chars, guard) {
function trimEnd (line 26096) | function trimEnd(string, chars, guard) {
function trimStart (line 26129) | function trimStart(string, chars, guard) {
function truncate (line 26180) | function truncate(string, options) {
function unescape (line 26263) | function unescape(string) {
function words (line 26332) | function words(string, pattern, guard) {
function cond (line 26439) | function cond(pairs) {
function conforms (line 26487) | function conforms(source) {
function constant (line 26510) | function constant(value) {
function defaultTo (line 26536) | function defaultTo(value, defaultValue) {
function identity (line 26603) | function identity(value) {
function iteratee (line 26649) | function iteratee(func) {
function matches (line 26685) | function matches(source) {
function matchesProperty (line 26715) | function matchesProperty(path, srcValue) {
function mixin (line 26817) | function mixin(object, source, options) {
function noConflict (line 26878) | function noConflict() {
function noop (line 26897) | function noop() {
function nthArg (line 26921) | function nthArg(n) {
function property (line 27022) | function property(path) {
function propertyOf (line 27049) | function propertyOf(object) {
function stubArray (line 27154) | function stubArray() {
function stubFalse (line 27171) | function stubFalse() {
function stubObject (line 27193) | function stubObject() {
function stubString (line 27210) | function stubString() {
function stubTrue (line 27227) | function stubTrue() {
function times (line 27250) | function times(n, iteratee) {
function toPath (line 27285) | function toPath(value) {
function uniqueId (line 27311) | function uniqueId(prefix) {
function max (line 27420) | function max(array) {
function maxBy (line 27449) | function maxBy(array, iteratee) {
function mean (line 27469) | function mean(array) {
function meanBy (line 27496) | function meanBy(array, iteratee) {
function min (line 27518) | function min(array) {
function minBy (line 27547) | function minBy(array, iteratee) {
function sum (line 27631) | function sum(array) {
function sumBy (line 27658) | function sumBy(array, iteratee) {
function empty (line 28337) | function empty(scheduler) {
function emptyScheduled (line 28340) | function emptyScheduled(scheduler) {
function isNothing (line 28422) | function isNothing(subject) {
function isObject (line 28426) | function isObject(subject) {
function toArray (line 28430) | function toArray(sequence) {
function extend (line 28437) | function extend(target, source) {
function repeat (line 28456) | function repeat(string, count) {
function isNegativeZero (line 28467) | function isNegativeZero(number) {
function compileList (line 28490) | function compileList(schema, name, result) {
function compileMap (line 28515) | function compileMap(/* lists... */) {
function Schema (line 28535) | function Schema(definition) {
function copyProps (line 28618) | function copyProps(src, dst) {
function SafeBuffer (line 28636) | function SafeBuffer(arg, encodingOrOffset, length) {
function map (line 28694) | function map(project, thisArg) {
function MapOperator (line 28705) | function MapOperator(project, thisArg) {
function MapSubscriber (line 28722) | function MapSubscriber(destination, project, thisArg) {
function isScheduler (line 28766) | function isScheduler(value) {
function _load_constants (line 28788) | function _load_constants() {
function _load_blockingQueue (line 28794) | function _load_blockingQueue() {
function _load_errors (line 28802) | function _load_errors() {
function _load_promise (line 28808) | function _load_promise() {
function _interopRequireDefault (line 28812) | function _interopRequireDefault(obj) {
function _interopRequireWildcard (line 28816) | function _interopRequireWildcard(obj) {
function validate (line 28850) | function validate(program, opts = {}) {
function forkp (line 28890) | function forkp(program, args, opts) {
function spawnp (line 28911) | function spawnp(program, args, opts) {
function forwardSignalToSpawnedProcesses (line 28934) | function forwardSignalToSpawnedProcesses(signal) {
function spawn (line 28960) | function spawn(program, args, opts = {}, onData) {
function wait (line 29065) | function wait(delay) {
function promisify (line 29071) | function promisify(fn, firstData) {
function queue (line 29098) | function queue(arr, promiseProducer, concurrency = Infinity) {
function YAMLException (line 29172) | function YAMLException(reason, mark) {
function tryCatcher (line 29246) | function tryCatcher() {
function tryCatch (line 29257) | function tryCatch(fn) {
function _load_yarnRegistry (line 29276) | function _load_yarnRegistry() {
function _load_npmRegistry (line 29284) | function _load_npmRegistry() {
function _interopRequireDefault (line 29288) | function _interopRequireDefault(obj) {
function _load_asyncToGenerator (line 29311) | function _load_asyncToGenerator() {
function setFlags (line 29378) | function setFlags(commander) {
function hasWrapper (line 29384) | function hasWrapper(commander, args) {
function _load_errors (line 29397) | function _load_errors() {
function _load_misc (line 29403) | function _load_misc() {
function _interopRequireDefault (line 29407) | function _interopRequireDefault(obj) {
function from (line 29535) | function from(input, scheduler) {
class Hash (line 30724) | class Hash {
method isHash (line 30725) | get isHash() {
method constructor (line 30728) | constructor(hash, opts) {
method hexDigest (line 30748) | hexDigest() {
method toJSON (line 30753) | toJSON() {
method toString (line 30756) | toString(opts) {
class Integrity (line 30789) | class Integrity {
method isIntegrity (line 30790) | get isIntegrity() {
method toJSON (line 30793) | toJSON() {
method toString (line 30796) | toString(opts) {
method concat (line 30815) | concat(integrity, opts) {
method hexDigest (line 30822) | hexDigest() {
method match (line 30825) | match(integrity, opts) {
method pickAlgorithm (line 30839) | pickAlgorithm(opts) {
function parse (line 30855) | function parse(sri, opts) {
function _parse (line 30868) | function _parse(integrity, opts) {
function stringify (line 30891) | function stringify(obj, opts) {
function fromHex (line 30902) | function fromHex(hexDigest, algorithm, opts) {
function fromData (line 30916) | function fromData(data, opts) {
function fromStream (line 30938) | function fromStream(stream, opts) {
function checkData (line 30956) | function checkData(data, sri, opts) {
function checkStream (line 31003) | function checkStream(stream, sri, opts) {
function integrityStream (line 31025) | function integrityStream(opts) {
function createIntegrity (line 31092) | function createIntegrity(opts) {
function getPrioritizedHash (line 31148) | function getPrioritizedHash(algo1, algo2) {
function _load_rootUser (line 31189) | function _load_rootUser() {
function _interopRequireDefault (line 31193) | function _interopRequireDefault(obj) {
function FingerprintFormatError (line 31324) | function FingerprintFormatError(fp, format) {
function InvalidAlgorithmError (line 31336) | function InvalidAlgorithmError(alg) {
function KeyParseError (line 31345) | function KeyParseError(name, format, innerErr) {
function SignatureParseError (line 31362) | function SignatureParseError(type, format, innerErr) {
function CertificateParseError (line 31379) | function CertificateParseError(name, format, innerErr) {
function KeyEncryptedError (line 31396) | function KeyEncryptedError(name, format) {
function Signature (line 31442) | function Signature(opts) {
function parseOneNum (line 31601) | function parseOneNum(data, type, format, opts) {
function parseDSAasn1 (line 31648) | function parseDSAasn1(data, type, format, opts) {
function parseDSA (line 31660) | function parseDSA(data, type, format, opts) {
function parseECDSA (line 31674) | function parseECDSA(data, type, format, opts) {
function ts64 (line 31789) | function ts64(x, i, h, l) {
function vn (line 31800) | function vn(x, xi, y, yi, n) {
function crypto_verify_16 (line 31807) | function crypto_verify_16(x, xi, y, yi) {
function crypto_verify_32 (line 31811) | function crypto_verify_32(x, xi, y, yi) {
function core_salsa20 (line 31815) | function core_salsa20(o, p, k, c) {
function core_hsalsa20 (line 32086) | function core_hsalsa20(o, p, k, c) {
function crypto_core_salsa20 (line 32301) | function crypto_core_salsa20(out, inp, k, c) {
function crypto_core_hsalsa20 (line 32305) | function crypto_core_hsalsa20(out, inp, k, c) {
function crypto_stream_salsa20_xor (line 32315) | function crypto_stream_salsa20_xor(c, cpos, m, mpos, b, n, k) {
function crypto_stream_salsa20 (line 32341) | function crypto_stream_salsa20(c, cpos, b, n, k) {
function crypto_stream (line 32366) | function crypto_stream(c, cpos, d, n, k) {
function crypto_stream_xor (line 32374) | function crypto_stream_xor(c, cpos, m, mpos, d, n, k) {
function crypto_onetimeauth (line 32775) | function crypto_onetimeauth(out, outpos, m, mpos, n, k) {
function crypto_onetimeauth_verify (line 32782) | function crypto_onetimeauth_verify(h, hpos, m, mpos, n, k) {
function crypto_secretbox (line 32788) | function crypto_secretbox(c, m, d, n, k) {
function crypto_secretbox_open (line 32797) | function crypto_secretbox_open(m, c, d, n, k) {
function set25519 (line 32809) | function set25519(r, a) {
function car25519 (line 32814) | function car25519(o) {
function sel25519 (line 32826) | function sel25519(p, q, b) {
function pack25519 (line 32836) | function pack25519(o, n) {
function neq25519 (line 32861) | function neq25519(a, b) {
function par25519 (line 32869) | function par25519(a) {
function unpack25519 (line 32875) | function unpack25519(o, n) {
function A (line 32881) | function A(o, a, b) {
function Z (line 32885) | function Z(o, a, b) {
function M (line 32889) | function M(o, a, b) {
function S (line 33352) | function S(o, a) {
function inv25519 (line 33356) | function inv25519(o, i) {
function pow2523 (line 33367) | function pow2523(o, i) {
function crypto_scalarmult (line 33378) | function crypto_scalarmult(q, n, p) {
function crypto_scalarmult_base (line 33437) | function crypto_scalarmult_base(q, n) {
function crypto_box_keypair (line 33441) | function crypto_box_keypair(y, x) {
function crypto_box_beforenm (line 33446) | function crypto_box_beforenm(k, y, x) {
function crypto_box (line 33455) | function crypto_box(c, m, d, n, y, x) {
function crypto_box_open (line 33461) | function crypto_box_open(m, c, d, n, y, x) {
function crypto_hashblocks_hl (line 33502) | function crypto_hashblocks_hl(hh, hl, m, n) {
function crypto_hash (line 33978) | function crypto_hash(out, m, n) {
function add (line 34019) | function add(p, q) {
function cswap (line 34051) | function cswap(p, q, b) {
function pack (line 34058) | function pack(r, p) {
function scalarmult (line 34069) | function scalarmult(p, q, s) {
function scalarbase (line 34084) | function scalarbase(p, s) {
function crypto_sign_keypair (line 34093) | function crypto_sign_keypair(pk, sk, seeded) {
function modL (line 34117) | function modL(r, x) {
function reduce (line 34142) | function reduce(r) {
function crypto_sign (line 34151) | function crypto_sign(sm, m, n, sk) {
function unpackneg (line 34190) | function unpackneg(r, p) {
function crypto_sign_open (line 34232) | function crypto_sign_open(m, sm, n, pk) {
function checkLengths (line 34328) | function checkLengths(k, n) {
function checkBoxLengths (line 34335) | function checkBoxLengths(pk, sk) {
function checkArrayTypes (line 34342) | function checkArrayTypes() {
function cleanup (line 34353) | function cleanup(arr) {
function _load_baseResolver (line 34635) | function _load_baseResolver() {
function _load_npmResolver (line 34643) | function _load_npmResolver() {
function _load_yarnResolver (line 34651) | function _load_yarnResolver() {
function _load_gitResolver (line 34659) | function _load_gitResolver() {
function _load_tarballResolver (line 34667) | function _load_tarballResolver() {
function _load_githubResolver (line 34675) | function _load_githubResolver() {
function _load_fileResolver (line 34683) | function _load_fileResolver() {
function _load_linkResolver (line 34691) | function _load_linkResolver() {
function _load_gitlabResolver (line 34699) | function _load_gitlabResolver() {
function _load_gistResolver (line 34707) | function _load_gistResolver() {
function _load_bitbucketResolver (line 34715) | function _load_bitbucketResolver() {
function _load_hostedGitResolver (line 34723) | function _load_hostedGitResolver() {
function _load_registryResolver (line 34729) | function _load_registryResolver() {
function _interopRequireDefault (line 34735) | function _interopRequireDefault(obj) {
function getExoticResolver (line 34757) | function getExoticResolver(pattern) {
function hostedGitFragmentToGitUrl (line 34794) | function hostedGitFragmentToGitUrl(fragment, reporter) {
class Prompt (line 34845) | class Prompt {
method constructor (line 34846) | constructor(question, rl, answers) {
method run (line 34886) | run() {
method _run (line 34893) | _run(cb) {
method throwParamError (line 34903) | throwParamError(name) {
method close (line 34910) | close() {
method handleSubmitEvents (line 34919) | handleSubmitEvents(submit) {
method getQuestion (line 34957) | getQuestion() {
function normalizeKeypressEvents (line 34990) | function normalizeKeypressEvents(value, key) {
function BigInteger (line 35065) | function BigInteger(a, b, c) {
function nbi (line 35073) | function nbi() {
function am1 (line 35085) | function am1(i, x, w, j, c, n) {
function am2 (line 35096) | function am2(i, x, w, j, c, n) {
function am3 (line 35111) | function am3(i, x, w, j, c, n) {
function int2char (line 35161) | function int2char(n) {
function intAt (line 35164) | function intAt(s, i) {
function bnpCopyTo (line 35170) | function bnpCopyTo(r) {
function bnpFromInt (line 35177) | function bnpFromInt(x) {
function nbv (line 35186) | function nbv(i) {
function bnpFromString (line 35193) | function bnpFromString(s, b) {
function bnpClamp (line 35235) | function bnpClamp() {
function bnToString (line 35241) | function bnToString(b) {
function bnNegate (line 35280) | function bnNegate() {
function bnAbs (line 35287) | function bnAbs() {
function bnCompareTo (line 35292) | function bnCompareTo(a) {
function nbits (line 35303) | function nbits(x) {
function bnBitLength (line 35330) | function bnBitLength() {
function bnpDLShiftTo (line 35339) | function bnpDLShiftTo(n, r) {
function bnpDRShiftTo (line 35348) | function bnpDRShiftTo(n, r) {
function bnpLShiftTo (line 35355) | function bnpLShiftTo(n, r) {
function bnpRShiftTo (line 35374) | function bnpRShiftTo(n, r) {
function bnpSubTo (line 35395) | function bnpSubTo(a, r) {
function bnpMultiplyTo (line 35430) | function bnpMultiplyTo(a, r) {
function bnpSquareTo (line 35443) | function bnpSquareTo(r) {
function bnpDivRemTo (line 35470) | function bnpDivRemTo(m, q, r) {
function bnMod (line 35533) | function bnMod(a) {
function Classic (line 35541) | function Classic(m) {
function cConvert (line 35544) | function cConvert(x) {
function cRevert (line 35548) | function cRevert(x) {
function cReduce (line 35551) | function cReduce(x) {
function cMulTo (line 35554) | function cMulTo(x, y, r) {
function cSqrTo (line 35558) | function cSqrTo(x, r) {
function bnpInvDigit (line 35579) | function bnpInvDigit() {
function Montgomery (line 35595) | function Montgomery(m) {
function montConvert (line 35605) | function montConvert(x) {
function montRevert (line 35614) | function montRevert(x) {
function montReduce (line 35622) | function montReduce(x) {
function montSqrTo (line 35648) | function montSqrTo(x, r) {
function montMulTo (line 35654) | function montMulTo(x, y, r) {
function bnpIsEven (line 35666) | function bnpIsEven() {
function bnpExp (line 35671) | function bnpExp(e, z) {
function bnModPowInt (line 35691) | function bnModPowInt(e, m) {
function bnClone (line 35738) | function bnClone() {
function bnIntValue (line 35745) | function bnIntValue() {
function bnByteValue (line 35756) | function bnByteValue() {
function bnShortValue (line 35761) | function bnShortValue() {
function bnpChunkSize (line 35766) | function bnpChunkSize(r) {
function bnSigNum (line 35771) | function bnSigNum() {
function bnpToRadix (line 35778) | function bnpToRadix(b) {
function bnpFromRadix (line 35796) | function bnpFromRadix(s, b) {
function bnpFromNumber (line 35826) | function bnpFromNumber(a, b, c) {
function bnToByteArray (line 35855) | function bnToByteArray() {
function bnEquals (line 35884) | function bnEquals(a) {
function bnMin (line 35887) | function bnMin(a) {
function bnMax (line 35890) | function bnMax(a) {
function bnpBitwiseTo (line 35895) | function bnpBitwiseTo(a, op, r) {
function op_and (line 35914) | function op_and(x, y) {
function bnAnd (line 35917) | function bnAnd(a) {
function op_or (line 35924) | function op_or(x, y) {
function bnOr (line 35927) | function bnOr(a) {
function op_xor (line 35934) | function op_xor(x, y) {
function bnXor (line 35937) | function bnXor(a) {
function op_andnot (line 35944) | function op_andnot(x, y) {
function bnAndNot (line 35947) | function bnAndNot(a) {
function bnNot (line 35954) | function bnNot() {
function bnShiftLeft (line 35963) | function bnShiftLeft(n) {
function bnShiftRight (line 35971) | function bnShiftRight(n) {
function lbit (line 35979) | function lbit(x) {
function bnGetLowestSetBit (line 36003) | function bnGetLowestSetBit() {
function cbit (line 36011) | function cbit(x) {
function bnBitCount (line 36021) | function bnBitCount() {
function bnTestBit (line 36029) | function bnTestBit(n) {
function bnpChangeBit (line 36036) | function bnpChangeBit(n, op) {
function bnSetBit (line 36043) | function bnSetBit(n) {
function bnClearBit (line 36048) | function bnClearBit(n) {
function bnFlipBit (line 36053) | function bnFlipBit(n) {
function bnpAddTo (line 36058) | function bnpAddTo(a, r) {
function bnAdd (line 36092) | function bnAdd(a) {
function bnSubtract (line 36099) | function bnSubtract(a) {
function bnMultiply (line 36106) | function bnMultiply(a) {
function bnSquare (line 36113) | function bnSquare() {
function bnDivide (line 36120) | function bnDivide(a) {
function bnRemainder (line 36127) | function bnRemainder(a) {
function bnDivideAndRemainder (line 36134) | function bnDivideAndRemainder(a) {
function bnpDMultiply (line 36142) | function bnpDMultiply(n) {
function bnpDAddOffset (line 36149) | function bnpDAddOffset(n, w) {
function NullExp (line 36161) | function NullExp() {}
function nNop (line 36162) | function nNop(x) {
function nMulTo (line 36165) | function nMulTo(x, y, r) {
function nSqrTo (line 36168) | function nSqrTo(x, r) {
function bnPow (line 36178) | function bnPow(e) {
function bnpMultiplyLowerTo (line 36184) | function bnpMultiplyLowerTo(a, n, r) {
function bnpMultiplyUpperTo (line 36199) | function bnpMultiplyUpperTo(a, n, r) {
function Barrett (line 36211) | function Barrett(m) {
function barrettConvert (line 36220) | function barrettConvert(x) {
function barrettRevert (line 36231) | function barrettRevert(x) {
function barrettReduce (line 36236) | function barrettReduce(x) {
function barrettSqrTo (line 36250) | function barrettSqrTo(x, r) {
function barrettMulTo (line 36256) | function barrettMulTo(x, y, r) {
function bnModPow (line 36268) | function bnModPow(e, m) {
function bnGCD (line 36355) | function bnGCD(a) {
function bnpModInt (line 36387) | function bnpModInt(n) {
function bnModInverse (line 36399) | function bnModInverse(m) {
function bnIsProbablePrime (line 36466) | function bnIsProbablePrime(t) {
function bnpMillerRabin (line 36487) | function bnpMillerRabin(t) {
function rng_seed_int (line 36587) | function rng_seed_int(x) {
function rng_seed_time (line 36596) | function rng_seed_time() {
function rng_get_byte (line 36633) | function rng_get_byte() {
function rng_get_bytes (line 36647) | function rng_get_bytes(ba) {
function SecureRandom (line 36652) | function SecureRandom() {}
function Arcfour (line 36658) | function Arcfour() {
function ARC4init (line 36665) | function ARC4init(key) {
function ARC4next (line 36679) | function ARC4next() {
function prng_newstate (line 36693) | function prng_newstate() {
function charSet (line 36754) | function charSet(s) {
function filter (line 36765) | function filter(pattern, options) {
function ext (line 36772) | function ext(a, b) {
function minimatch (line 36806) | function minimatch(p, pattern, options) {
function Minimatch (line 36824) | function Minimatch(pattern, options) {
function make (line 36856) | function make() {
function parseNegate (line 36912) | function parseNegate() {
function braceExpand (line 36949) | function braceExpand(pattern, options) {
function parse (line 36985) | function parse(pattern, isSub) {
function makeRe (line 37362) | function makeRe() {
function match (line 37428) | function match(f, partial) {
function globUnescape (line 37650) | function globUnescape(s) {
function regExpEscape (line 37654) | function regExpEscape(s) {
function once (line 37682) | function once(fn) {
function onceStrict (line 37692) | function onceStrict(fn) {
function InnerSubscriber (line 37727) | function InnerSubscriber(parent, outerValue, outerIndex) {
function fromArray (line 37771) | function fromArray(input, scheduler) {
function read (line 37839) | function read(buf, options, forceType) {
function write (line 37950) | function write(key, options, type) {
function _load_extends (line 38022) | function _load_extends() {
function _load_asyncToGenerator (line 38028) | function _load_asyncToGenerator() {
function _load_constants (line 38036) | function _load_constants() {
function _load_fs (line 38042) | function _load_fs() {
function _load_npmResolver (line 38048) | function _load_npmResolver() {
function _load_envReplace (line 38056) | function _load_envReplace() {
function _load_baseRegistry (line 38062) | function _load_baseRegistry() {
function _load_misc (line 38070) | function _load_misc() {
function _load_path (line 38076) | function _load_path() {
function _load_normalizeUrl (line 38082) | function _load_normalizeUrl() {
function _load_userHomeDir (line 38090) | function _load_userHomeDir() {
function _load_userHomeDir2 (line 38096) | function _load_userHomeDir2() {
function _load_errors (line 38102) | function _load_errors() {
function _load_login (line 38108) | function _load_login() {
function _load_path2 (line 38114) | function _load_path2() {
function _load_url (line 38120) | function _load_url() {
function _load_ini (line 38126) | function _load_ini() {
function _interopRequireWildcard (line 38130) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 38146) | function _interopRequireDefault(obj) {
function getGlobalPrefix (line 38168) | function getGlobalPrefix() {
function isPathConfigOption (line 38199) | function isPathConfigOption(key) {
function normalizePath (line 38203) | function normalizePath(val) {
function urlParts (line 38215) | function urlParts(requestUrl) {
class NpmRegistry (line 38224) | class NpmRegistry extends (_baseRegistry || _load_baseRegistry())
method constructor (line 38226) | constructor(
method escapeName (line 38245) | static escapeName(name) {
method isScopedPackage (line 38250) | isScopedPackage(packageIdent) {
method getRequestUrl (line 38254) | getRequestUrl(registry, pathname) {
method isRequestToRegistry (line 38271) | isRequestToRegistry(requestUrl, registryUrl) {
method request (line 38296) | request(pathname, opts = {}, packageName) {
method requestNeedsAuth (line 38389) | requestNeedsAuth(requestUrl) {
method checkOutdated (line 38410) | checkOutdated(config, name, range) {
method getPossibleConfigLocations (line 38460) | getPossibleConfigLocations(filename, reporter) {
method getConfigEnv (line 38602) | static getConfigEnv(env = process.env) {
method normalizeConfig (line 38610) | static normalizeConfig(config) {
method loadConfig (line 38629) | loadConfig() {
method getScope (line 38688) | getScope(packageIdent) {
method getRegistry (line 38693) | getRegistry(packageIdent) {
method getAuthByRegistry (line 38719) | getAuthByRegistry(registry) {
method getAuth (line 38752) | getAuth(packageIdent) {
method getScopedOption (line 38800) | getScopedOption(scope, option) {
method getRegistryOption (line 38804) | getRegistryOption(registry, option) {
method getRegistryOrGlobalOption (line 38823) | getRegistryOrGlobalOption(registry, option) {
function _load_baseResolver (line 38844) | function _load_baseResolver() {
function _interopRequireDefault (line 38850) | function _interopRequireDefault(obj) {
class ExoticResolver (line 38854) | class ExoticResolver extends (_baseResolver || _load_baseResolver())
method isVersion (line 38856) | static isVersion(pattern) {
function _load_normalizePattern (line 38879) | function _load_normalizePattern() {
class WorkspaceLayout (line 38885) | class WorkspaceLayout {
method constructor (line 38886) | constructor(workspaces, config) {
method getWorkspaceManifest (line 38891) | getWorkspaceManifest(key) {
method getManifestByPattern (line 38895) | getManifestByPattern(pattern) {
function PromiseCapability (line 38957) | function PromiseCapability(C) {
function glob (line 39086) | function glob(pattern, options, cb) {
function extend (line 39104) | function extend(origin, add) {
function Glob (line 39137) | function Glob(pattern, options, cb) {
function next (line 39223) | function next() {
function lstatcb_ (line 39529) | function lstatcb_(er, lstat) {
function readdirCb (line 39565) | function readdirCb(self, abs, cb) {
function lstatcb_ (line 39776) | function lstatcb_(er, lstat) {
function posix (line 39835) | function posix(path) {
function win32 (line 39839) | function win32(path) {
function algToKeyType (line 39906) | function algToKeyType(alg) {
function keyTypeToAlg (line 39916) | function keyTypeToAlg(key) {
function read (line 39927) | function read(partial, type, buf, options) {
function write (line 40002) | function write(key, options) {
function _load_asyncToGenerator (line 40049) | function _load_asyncToGenerator() {
function _load_fs (line 40095) | function _load_fs() {
function _load_fs2 (line 40101) | function _load_fs2() {
function _load_path (line 40107) | function _load_path() {
function _interopRequireDefault (line 40111) | function _interopRequireDefault(obj) {
function _load_util (line 40144) | function _load_util() {
function _load_invariant (line 40150) | function _load_invariant() {
function _load_stripBom (line 40156) | function _load_stripBom() {
function _load_constants (line 40162) | function _load_constants() {
function _load_errors (line 40168) | function _load_errors() {
function _load_map (line 40174) | function _load_map() {
function _interopRequireDefault (line 40178) | function _interopRequireDefault(obj) {
function isValidPropValueToken (line 40211) | function isValidPropValueToken(token) {
function buildToken (line 40220) | function buildToken(type, value) {
class Parser (line 40340) | class Parser {
method constructor (line 40341) | constructor(input, fileLoc = "lockfile") {
method onComment (line 40347) | onComment(token) {
method next (line 40370) | next() {
method unexpected (line 40390) | unexpected(msg = "Unexpected token") {
method expect (line 40396) | expect(tokType) {
method eat (line 40404) | eat(tokType) {
method parse (line 40413) | parse(indent = 0) {
function extractConflictVariants (line 40564) | function extractConflictVariants(str) {
function hasMergeConflicts (line 40610) | function hasMergeConflicts(str) {
function parse (line 40621) | function parse(str, fileLoc) {
function parseWithConflict (line 40652) | function parseWithConflict(str, fileLoc) {
function _load_asyncToGenerator (line 40685) | function _load_asyncToGenerator() {
function revoke (line 40830) | function revoke() {
function _load_errors (line 40867) | function _load_errors() {
function _interopRequireDefault (line 40871) | function _interopRequireDefault(obj) {
function getOneTimePassword (line 40875) | function getOneTimePassword(reporter) {
function hasWrapper (line 40879) | function hasWrapper(commander, args) {
function setFlags (line 40883) | function setFlags(commander) {
function _load_asyncToGenerator (line 40899) | function _load_asyncToGenerator() {
function _load_format (line 40909) | function _load_format() {
function _load_index (line 40915) | function _load_index() {
function _load_isCi (line 40921) | function _load_isCi() {
function _load_os (line 40927) | function _load_os() {
function _interopRequireWildcard (line 40931) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 40947) | function _interopRequireDefault(obj) {
function stringifyLangArgs (line 40956) | function stringifyLangArgs(args) {
class BaseReporter (line 40985) | class BaseReporter {
method constructor (line 40986) | constructor(opts = {}) {
method lang (line 41007) | lang(key, ...args) {
method rawText (line 41031) | rawText(str) {
method verbose (line 41039) | verbose(msg) {
method verboseInspect (line 41045) | verboseInspect(val) {
method _verbose (line 41051) | _verbose(msg) {}
method _verboseInspect (line 41052) | _verboseInspect(val) {}
method _getStandardInput (line 41054) | _getStandardInput() {
method initPeakMemoryCounter (line 41071) | initPeakMemoryCounter() {
method checkPeakMemory (line 41080) | checkPeakMemory() {
method close (line 41090) | close() {
method getTotalTime (line 41097) | getTotalTime() {
method list (line 41102) | list(key, items, hints) {}
method tree (line 41105) | tree(key, obj, { force = false } = {}) {}
method step (line 41108) | step(current, total, message, emoji) {}
method error (line 41112) | error(message) {}
method info (line 41115) | info(message) {}
method warn (line 41118) | warn(message) {}
method success (line 41121) | success(message) {}
method log (line 41125) | log(message, { force = false } = {}) {}
method command (line 41128) | command(command) {}
method inspect (line 41131) | inspect(value) {}
method header (line 41134) | header(command, pkg) {}
method footer (line 41137) | footer(showPeakMemory) {}
method table (line 41140) | table(head, body) {}
method auditAction (line 41143) | auditAction(recommendation) {}
method auditManualReview (line 41146) | auditManualReview() {}
method auditAdvisory (line 41149) | auditAdvisory(resolution, auditAdvisory) {}
method auditSummary (line 41152) | auditSummary(auditMetadata) {}
method activity (line 41155) | activity() {
method activitySet (line 41163) | activitySet(total, workers) {
method question (line 41176) | question(question, options = {}) {
method questionAffirm (line 41181) | questionAffirm(question) {
method select (line 41211) | select(header, question, options) {
method progress (line 41216) | progress(total) {
method disableProgress (line 41221) | disableProgress() {
method prompt (line 41226) | prompt(message, choices, options = {}) {
function _load_asyncToGenerator (line 41244) | function _load_asyncToGenerator() {
function _load_errors (line 41254) | function _load_errors() {
function _load_index (line 41260) | function _load_index() {
function _load_gitResolver (line 41266) | function _load_gitResolver() {
function _load_exoticResolver (line 41274) | function _load_exoticResolver() {
function _load_git (line 41282) | function _load_git() {
function _load_guessName (line 41288) | function _load_guessName() {
function _interopRequireDefault (line 41292) | function _interopRequireDefault(obj) {
function parseHash (line 41296) | function parseHash(fragment) {
function explodeHostedGitFragment (line 41301) | function explodeHostedGitFragment(fragment, reporter) {
class HostedGitResolver (line 41331) | class HostedGitResolver extends (
method constructor (line 41334) | constructor(request, fragment) {
method getTarballUrl (line 41350) | static getTarballUrl(exploded, commit) {
method getGitHTTPUrl (line 41356) | static getGitHTTPUrl(exploded) {
method getGitHTTPBaseUrl (line 41361) | static getGitHTTPBaseUrl(exploded) {
method getGitSSHUrl (line 41366) | static getGitSSHUrl(exploded) {
method getHTTPFileUrl (line 41371) | static getHTTPFileUrl(exploded, filename, commit) {
method getRefOverHTTP (line 41378) | getRefOverHTTP(url) {
method resolveOverHTTP (line 41420) | resolveOverHTTP(url) {
method hasHTTPCapability (line 41505) | hasHTTPCapability(url) {
method resolve (line 41522) | resolve() {
function _load_map (line 41597) | function _load_map() {
function _interopRequireDefault (line 41601) | function _interopRequireDefault(obj) {
class BlockingQueue (line 41607) | class BlockingQueue {
method constructor (line 41608) | constructor(alias, maxConcurrency = Infinity) {
method stillActive (line 41622) | stillActive() {
method stuckTick (line 41634) | stuckTick() {
method push (line 41644) | push(key, factory) {
method shift (line 41662) | shift(key) {
method maybePushConcurrencyQueue (line 41719) | maybePushConcurrencyQueue(run) {
method shiftConcurrencyQueue (line 41727) | shiftConcurrencyQueue() {
function _load_extends (line 41757) | function _load_extends() {
function _load_asyncToGenerator (line 41763) | function _load_asyncToGenerator() {
function _load_errors (line 42324) | function _load_errors() {
function _load_constants (line 42330) | function _load_constants() {
function _load_child (line 42336) | function _load_child() {
function _load_fs (line 42342) | function _load_fs() {
function _load_dynamicRequire (line 42348) | function _load_dynamicRequire() {
function _load_portableScript (line 42354) | function _load_portableScript() {
function _load_fixCmdWinSlashes (line 42360) | function _load_fixCmdWinSlashes() {
function _load_global (line 42366) | function _load_global() {
function _interopRequireWildcard (line 42370) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 42386) | function _interopRequireDefault(obj) {
function checkForGypIfNeeded (line 42417) | function checkForGypIfNeeded(config, cmd, paths) {
function isArray (line 42469) | function isArray(arg) {
function isBoolean (line 42477) | function isBoolean(arg) {
function isNull (line 42482) | function isNull(arg) {
function isNullOrUndefined (line 42487) | function isNullOrUndefined(arg) {
function isNumber (line 42492) | function isNumber(arg) {
function isString (line 42497) | function isString(arg) {
function isSymbol (line 42502) | function isSymbol(arg) {
function isUndefined (line 42507) | function isUndefined(arg) {
function isRegExp (line 42512) | function isRegExp(re) {
function isObject (line 42517) | function isObject(arg) {
function isDate (line 42522) | function isDate(d) {
function isError (line 42527) | function isError(e) {
function isFunction (line 42532) | function isFunction(arg) {
function isPrimitive (line 42537) | function isPrimitive(arg) {
function objectToString (line 42551) | function objectToString(o) {
function copy (line 42587) | function copy(o, to) {
function checkDataType (line 42593) | function checkDataType(dataType, data, negate) {
function checkDataTypes (line 42641) | function checkDataTypes(dataTypes, data) {
function coerceToTypes (line 42670) | function coerceToTypes(optionCoerceTypes, dataTypes) {
function toHash (line 42687) | function toHash(arr) {
function getProperty (line 42695) | function getProperty(key) {
function escapeQuotes (line 42703) | function escapeQuotes(str) {
function varOccurences (line 42712) | function varOccurences(str, dataVar) {
function varReplace (line 42718) | function varReplace(str, dataVar, expr) {
function cleanUpCode (line 42727) | function cleanUpCode(out) {
function finalCleanUpCode (line 42746) | function finalCleanUpCode(out, async) {
function schemaHasRules (line 42761) | function schemaHasRules(schema, rules) {
function schemaHasRulesExcept (line 42766) | function schemaHasRulesExcept(schema, rules, exceptKeyword) {
function toQuotedString (line 42773) | function toQuotedString(str) {
function getPathExpr (line 42777) | function getPathExpr(currentPath, expr, jsonPointers, isNumber) {
function getPath (line 42788) | function getPath(currentPath, prop, jsonPointers) {
function getData (line 42797) | function getData($data, lvl, paths) {
function joinPaths (line 42844) | function joinPaths(a, b) {
function unescapeFragment (line 42849) | function unescapeFragment(str) {
function escapeFragment (line 42853) | function escapeFragment(str) {
function escapeJsonPointer (line 42857) | function escapeJsonPointer(str) {
function unescapeJsonPointer (line 42861) | function unescapeJsonPointer(str) {
function micromatch (line 42890) | function micromatch(files, patterns, opts) {
function match (line 42931) | function match(files, pattern, opts) {
function filter (line 43015) | function filter(patterns, opts) {
function isMatch (line 43063) | function isMatch(fp, pattern, opts) {
function contains (line 43080) | function contains(fp, pattern, opts) {
function any (line 43105) | function any(fp, patterns, opts) {
function matchKeys (line 43132) | function matchKeys(obj, glob, options) {
function matcher (line 43157) | function matcher(pattern, opts) {
function toRegex (line 43208) | function toRegex(glob, options) {
function wrapGlob (line 43245) | function wrapGlob(glob, opts) {
function makeRe (line 43265) | function makeRe(glob, opts) {
function msg (line 43287) | function msg(method, what, type) {
function Duplex (line 43385) | function Duplex(options) {
function onend (line 43413) | function onend() {
function onEndNT (line 43423) | function onEndNT(self) {
function multicast (line 43472) | function multicast(subjectOrSubjectFactory, selector) {
function MulticastOperator (line 43497) | function MulticastOperator(subjectFactory, selector) {
function identity (line 43537) | function identity(x) {
function _load_asyncToGenerator (line 43568) | function _load_asyncToGenerator() {
function throwPermError (line 43781) | function throwPermError(err, dest) {
function _load_errors (line 43952) | function _load_errors() {
function _load_index (line 43958) | function _load_index() {
function _load_baseReporter (line 43964) | function _load_baseReporter() {
function _load_buildSubCommands (line 43972) | function _load_buildSubCommands() {
function _load_lockfile (line 43980) | function _load_lockfile() {
function _load_install (line 43986) | function _load_install() {
function _load_add (line 43992) | function _load_add() {
function _load_remove (line 43998) | function _load_remove() {
function _load_upgrade (line 44004) | function _load_upgrade() {
function _load_upgradeInteractive (line 44010) | function _load_upgradeInteractive() {
function _load_packageLinker (line 44016) | function _load_packageLinker() {
function _load_constants (line 44022) | function _load_constants() {
function _load_fs (line 44028) | function _load_fs() {
function _interopRequireWildcard (line 44032) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 44048) | function _interopRequireDefault(obj) {
class GlobalAdd (line 44052) | class GlobalAdd extends (_add || _load_add()).Add {
method constructor (line 44053) | constructor(args, flags, config, reporter, lockfile) {
method maybeOutputSaveTree (line 44059) | maybeOutputSaveTree() {
method _logSuccessSaveLockfile (line 44087) | _logSuccessSaveLockfile() {
function hasWrapper (line 44094) | function hasWrapper(flags, args) {
function ls (line 44098) | function ls(manifest, reporter, saved) {
method add (line 44117) | add(config, reporter, flags, args) {
method bin (line 44146) | bin(config, reporter, flags, args) {
method dir (line 44154) | dir(config, reporter, flags, args) {
method ls (line 44159) | ls(config, reporter, flags, args) {
method list (line 44170) | list(config, reporter, flags, args) {
method remove (line 44178) | remove(config, reporter, flags, args) {
method upgrade (line 44199) | upgrade(config, reporter, flags, args) {
method upgradeInteractive (line 44220) | upgradeInteractive(config, reporter, flags, args) {
function setFlags (line 44246) | function setFlags(commander) {
function _load_asyncToGenerator (line 44273) | function _load_asyncToGenerator() {
function _load_path (line 44281) | function _load_path() {
function _load_invariant (line 44287) | function _load_invariant() {
function _load_semver (line 44293) | function _load_semver() {
function _load_validate (line 44299) | function _load_validate() {
function _load_lockfile (line 44305) | function _load_lockfile() {
function _load_packageReference (line 44311) | function _load_packageReference() {
function _load_index (line 44319) | function _load_index() {
function _load_errors (line 44325) | function _load_errors() {
function _load_constants (line 44331) | function _load_constants() {
function _load_version (line 44337) | function _load_version() {
function _load_workspaceResolver (line 44343) | function _load_workspaceResolver() {
function _load_fs (line 44351) | function _load_fs() {
function _load_normalizePattern (line 44357) | function _load_normalizePattern() {
function _interopRequireWildcard (line 44361) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 44377) | function _interopRequireDefault(obj) {
class PackageRequest (line 44383) | class PackageRequest {
method constructor (line 44384) | constructor(req, resolver) {
method init (line 44398) | init() {
method getLocked (line 44402) | getLocked(remoteType) {
method findVersionOnRegistry (line 44445) | findVersionOnRegistry(pattern) {
method getRegistryResolver (line 44506) | getRegistryResolver() {
method normalizeRange (line 44517) | normalizeRange(pattern) {
method normalize (line 44556) | normalize(pattern) {
method findExoticVersionInfo (line 44579) | findExoticVersionInfo(ExoticResolver, range) {
method findVersionInfo (line 44589) | findVersionInfo() {
method reportResolvedRangeMatch (line 44651) | reportResolvedRangeMatch(info, resolved) {}
method resolveToExistingVersion (line 44658) | resolveToExistingVersion(info) {
method find (line 44697) | find({ fresh, frozen }) {
method validateVersionInfo (line 44903) | static validateVersionInfo(info, reporter) {
method getPackageVersion (line 44945) | static getPackageVersion(info) {
method getOutdatedPackages (line 44954) | static getOutdatedPackages(
class BaseResolver (line 45112) | class BaseResolver {
method constructor (line 45113) | constructor(request, fragment) {
method fork (line 45123) | fork(Resolver, resolveArg, ...args) {
method resolve (line 45129) | resolve(resolveArg) {
function _load_asyncToGenerator (line 45147) | function _load_asyncToGenerator() {
function _load_index (line 45155) | function _load_index() {
function _load_misc (line 45161) | function _load_misc() {
function _load_version (line 45167) | function _load_version() {
function _load_guessName (line 45173) | function _load_guessName() {
function _load_index2 (line 45179) | function _load_index2() {
function _load_exoticResolver (line 45185) | function _load_exoticResolver() {
function _load_git (line 45193) | function _load_git() {
function _interopRequireWildcard (line 45197) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 45213) | function _interopRequireDefault(obj) {
class GitResolver (line 45234) | class GitResolver extends (_exoticResolver || _load_exoticResolver())
method constructor (line 45236) | constructor(request, fragment) {
method isVersion (line 45250) | static isVersion(pattern) {
method resolve (line 45291) | resolve(forked) {
function _load_errors (line 45520) | function _load_errors() {
function _load_util (line 45526) | function _load_util() {
function _load_typos (line 45532) | function _load_typos() {
function _interopRequireDefault (line 45536) | function _interopRequireDefault(obj) {
function isValidName (line 45556) | function isValidName(name) {
function isValidScopedName (line 45560) | function isValidScopedName(name) {
function isValidPackageName (line 45571) | function isValidPackageName(name) {
function cleanDependencies (line 45575) | function cleanDependencies(info, isRoot, reporter, warn) {
function selectColor (line 46157) | function selectColor(namespace) {
function createDebug (line 46177) | function createDebug(namespace) {
function destroy (line 46248) | function destroy() {
function enable (line 46266) | function enable(namespaces) {
function disable (line 46300) | function disable() {
function enabled (line 46312) | function enabled(name) {
function coerce (line 46338) | function coerce(val) {
function ECFieldElementFp (line 46359) | function ECFieldElementFp(q, x) {
function feFpEquals (line 46365) | function feFpEquals(other) {
function feFpToBigInteger (line 46370) | function feFpToBigInteger() {
function feFpNegate (line 46374) | function feFpNegate() {
function feFpAdd (line 46378) | function feFpAdd(b) {
function feFpSubtract (line 46385) | function feFpSubtract(b) {
function feFpMultiply (line 46392) | function feFpMultiply(b) {
function feFpSquare (line 46399) | function feFpSquare() {
function feFpDivide (line 46403) | function feFpDivide(b) {
function ECPointFp (line 46423) | function ECPointFp(curve, x, y, z) {
function pointFpGetX (line 46438) | function pointFpGetX() {
function pointFpGetY (line 46447) | function pointFpGetY() {
function pointFpEquals (line 46456) | function pointFpEquals(other) {
function pointFpIsInfinity (line 46477) | function pointFpIsInfinity() {
function pointFpNegate (line 46485) | function pointFpNegate() {
function pointFpAdd (line 46489) | function pointFpAdd(b) {
function pointFpTwice (line 46551) | function pointFpTwice() {
function pointFpMultiply (line 46601) | function pointFpMultiply(k) {
function pointFpMultiplyTwo (line 46627) | function pointFpMultiplyTwo(j, x, k) {
function ECCurveFp (line 46667) | function ECCurveFp(q, a, b) {
function curveFpGetQ (line 46675) | function curveFpGetQ() {
function curveFpGetA (line 46679) | function curveFpGetA() {
function curveFpGetB (line 46683) | function curveFpGetB() {
function curveFpEquals (line 46687) | function curveFpEquals(other) {
function curveFpGetInfinity (line 46696) | function curveFpGetInfinity() {
function curveFpFromBigInteger (line 46700) | function curveFpFromBigInteger(x) {
function curveReduce (line 46704) | function curveReduce(x) {
function curveFpDecodePointHex (line 46709) | function curveFpDecodePointHex(s) {
function curveFpEncodePointHex (line 46737) | function curveFpEncodePointHex(p) {
function newError (line 46980) | function newError(er) {
function realpath (line 46990) | function realpath(p, cache, cb) {
function realpathSync (line 47008) | function realpathSync(p, cache) {
function monkeypatch (line 47024) | function monkeypatch() {
function unmonkeypatch (line 47029) | function unmonkeypatch() {
function ownProp (line 47048) | function ownProp(obj, field) {
function alphasorti (line 47057) | function alphasorti(a, b) {
function alphasort (line 47061) | function alphasort(a, b) {
function setupIgnores (line 47065) | function setupIgnores(self, options) {
function ignoreMap (line 47076) | function ignoreMap(pattern) {
function setopts (line 47089) | function setopts(self, pattern, options) {
function finish (line 47155) | function finish(self) {
function mark (line 47206) | function mark(self, p) {
function makeAbs (line 47228) | function makeAbs(self, f) {
function isIgnored (line 47247) | function isIgnored(self, path) {
function childrenIgnored (line 47258) | function childrenIgnored(self, path) {
function mkdirP (line 47327) | function mkdirP(p, opts, f, made) {
function defaultIfEmpty (line 47430) | function defaultIfEmpty(defaultValue) {
function DefaultIfEmptyOperator (line 47439) | function DefaultIfEmptyOperator(defaultValue) {
function DefaultIfEmptySubscriber (line 47454) | function DefaultIfEmptySubscriber(destination, defaultValue) {
function filter (line 47486) | function filter(predicate, thisArg) {
function FilterOperator (line 47492) | function FilterOperator(predicate, thisArg) {
function FilterSubscriber (line 47508) | function FilterSubscriber(destination, predicate, thisArg) {
function mergeMap (line 47553) | function mergeMap(project, resultSelector, concurrent) {
function MergeMapOperator (line 47585) | function MergeMapOperator(project, concurrent) {
function MergeMapSubscriber (line 47605) | function MergeMapSubscriber(destination, project, concurrent) {
function AsyncAction (line 47708) | function AsyncAction(scheduler, work) {
function AsyncScheduler (line 47823) | function AsyncScheduler(SchedulerAction, now) {
function getSymbolIterator (line 47895) | function getSymbolIterator() {
function ArgumentOutOfRangeErrorImpl (line 47918) | function ArgumentOutOfRangeErrorImpl() {
function EmptyErrorImpl (line 47943) | function EmptyErrorImpl() {
function isFunction (line 47960) | function isFunction(x) {
function Certificate (line 47994) | function Certificate(opts) {
function Fingerprint (line 48363) | function Fingerprint(opts) {
function addColons (line 48477) | function addColons(s) {
function base64Strip (line 48482) | function base64Strip(s) {
function sshBase64Format (line 48487) | function sshBase64Format(alg, h) {
function read (line 48533) | function read(buf, options) {
function write (line 48537) | function write(key, options) {
function readMPInt (line 48542) | function readMPInt(der, nm) {
function readPkcs8 (line 48551) | function readPkcs8(alg, type, der) {
function readPkcs8RSAPublic (line 48594) | function readPkcs8RSAPublic(der) {
function readPkcs8RSAPrivate (line 48617) | function readPkcs8RSAPrivate(der) {
function readPkcs8DSAPublic (line 48652) | function readPkcs8DSAPublic(der) {
function readPkcs8DSAPrivate (line 48679) | function readPkcs8DSAPrivate(der) {
function readECDSACurve (line 48706) | function readECDSACurve(der) {
function readPkcs8ECDSAPrivate (line 48805) | function readPkcs8ECDSAPrivate(der) {
function readPkcs8ECDSAPublic (line 48833) | function readPkcs8ECDSAPublic(der) {
function readPkcs8EdDSAPublic (line 48851) | function readPkcs8EdDSAPublic(der) {
function readPkcs8X25519Public (line 48864) | function readPkcs8X25519Public(der) {
function readPkcs8EdDSAPrivate (line 48875) | function readPkcs8EdDSAPrivate(der) {
function readPkcs8X25519Private (line 48901) | function readPkcs8X25519Private(der) {
function writePkcs8 (line 48921) | function writePkcs8(der, key) {
function writePkcs8RSAPrivate (line 48961) | function writePkcs8RSAPrivate(key, der) {
function writePkcs8RSAPublic (line 48985) | function writePkcs8RSAPublic(key, der) {
function writePkcs8DSAPrivate (line 49000) | function writePkcs8DSAPrivate(key, der) {
function writePkcs8DSAPublic (line 49014) | function writePkcs8DSAPublic(key, der) {
function writeECDSACurve (line 49028) | function writeECDSACurve(key, der) {
function writePkcs8ECDSAPublic (line 49068) | function writePkcs8ECDSAPublic(key, der) {
function writePkcs8ECDSAPrivate (line 49076) | function writePkcs8ECDSAPrivate(key, der) {
function writePkcs8EdDSAPublic (line 49097) | function writePkcs8EdDSAPublic(key, der) {
function writePkcs8EdDSAPrivate (line 49103) | function writePkcs8EdDSAPrivate(key, der) {
function Identity (line 49152) | function Identity(opts) {
function globMatch (line 49283) | function globMatch(a, b) {
function SSHBuffer (line 49411) | function SSHBuffer(opts) {
function wrappy (line 49581) | function wrappy(fn, cb) {
function _load_extends (line 49621) | function _load_extends() {
function _load_asyncToGenerator (line 49627) | function _load_asyncToGenerator() {
function _load_executeLifecycleScript (line 49637) | function _load_executeLifecycleScript() {
function _load_path (line 49643) | function _load_path() {
function _load_conversion (line 49649) | function _load_conversion() {
function _load_index (line 49655) | function _load_index() {
function _load_errors (line 49661) | function _load_errors() {
function _load_fs (line 49667) | function _load_fs() {
function _load_constants (line 49673) | function _load_constants() {
function _load_packageConstraintResolver (line 49679) | function _load_packageConstraintResolver() {
function _load_requestManager (line 49687) | function _load_requestManager() {
function _load_index2 (line 49695) | function _load_index2() {
function _load_index3 (line 49701) | function _load_index3() {
function _load_map (line 49707) | function _load_map() {
function _interopRequireWildcard (line 49711) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 49727) | function _interopRequireDefault(obj) {
function sortObject (line 49738) | function sortObject(object) {
class Config (line 49748) | class Config {
method constructor (line 49749) | constructor(reporter) {
method getCache (line 49803) | getCache(key, factory) {
method getOption (line 49819) | getOption(key, resolve = false) {
method resolveConstraints (line 49833) | resolveConstraints(versions, range) {
method init (line 49841) | init(opts = {}) {
method _init (line 50209) | _init(opts) {
method generateUniquePackageSlug (line 50262) | generateUniquePackageSlug(pkg) {
method generateModuleCachePath (line 50297) | generateModuleCachePath(pkg) {
method getUnpluggedPath (line 50308) | getUnpluggedPath() {
method generatePackageUnpluggedPath (line 50315) | generatePackageUnpluggedPath(pkg) {
method listUnpluggedPackageFolders (line 50328) | listUnpluggedPackageFolders() {
method executeLifecycleScript (line 50392) | executeLifecycleScript(commandName, cwd) {
method getTemp (line 50406) | getTemp(filename) {
method getOfflineMirrorPath (line 50417) | getOfflineMirrorPath(packageFilename) {
method isValidModuleDest (line 50458) | isValidModuleDest(dest) {
method readPackageMetadata (line 50485) | readPackageMetadata(dir) {
method readManifest (line 50517) | readManifest(dir, priorityRegistry, isRoot = false) {
method maybeReadManifest (line 50548) | maybeReadManifest(dir, priorityRegistry, isRoot = false) {
method readRootManifest (line 50625) | readRootManifest() {
method tryManifest (line 50633) | tryManifest(dir, registry, isRoot) {
method findManifest (line 50659) | findManifest(dir, isRoot) {
method findWorkspaceRoot (line 50703) | findWorkspaceRoot(initial) {
method resolveWorkspaces (line 50740) | resolveWorkspaces(root, rootManifest) {
method getWorkspaces (line 50854) | getWorkspaces(manifest, shouldThrow = false) {
method getFolder (line 50915) | getFolder(pkg) {
method getRootManifests (line 50929) | getRootManifests() {
method saveRootManifests (line 50992) | saveRootManifests(manifests) {
method readJson (line 51074) | readJson(loc, factory = (_fs || _load_fs()).readJson) {
method create (line 51088) | static create(
function extractWorkspaces (line 51103) | function extractWorkspaces(manifest) {
function _load_asyncToGenerator (line 51170) | function _load_asyncToGenerator() {
function _load_extends (line 51178) | function _load_extends() {
function _load_lockfile (line 51225) | function _load_lockfile() {
function _load_normalizePattern (line 51231) | function _load_normalizePattern() {
function _load_workspaceLayout (line 51237) | function _load_workspaceLayout() {
function _load_index (line 51245) | function _load_index() {
function _load_list (line 51251) | function _load_list() {
function _load_install (line 51257) | function _load_install() {
function _load_errors (line 51263) | function _load_errors() {
function _load_constants (line 51269) | function _load_constants() {
function _load_fs (line 51275) | function _load_fs() {
function _load_invariant (line 51281) | function _load_invariant() {
function _load_path (line 51287) | function _load_path() {
function _load_semver (line 51293) | function _load_semver() {
function _interopRequireWildcard (line 51297) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 51313) | function _interopRequireDefault(obj) {
class Add (line 51322) | class Add extends (_install || _load_install()).Install {
method constructor (line 51323) | constructor(args, flags, config, reporter, lockfile) {
method prepareRequests (line 51347) | prepareRequests(requests) {
method getPatternVersion (line 51383) | getPatternVersion(pattern, pkg) {
method preparePatterns (line 51431) | preparePatterns(patterns) {
method preparePatternsForLinking (line 51473) | preparePatternsForLinking(patterns, cwdManifest, cwdIsRoot) {
method bailout (line 51523) | bailout(patterns, workspaceLayout) {
method init (line 51557) | init() {
method applyChanges (line 51583) | applyChanges(manifests) {
method fetchRequestFromCwd (line 51631) | fetchRequestFromCwd() {
method maybeOutputSaveTree (line 51641) | maybeOutputSaveTree(patterns) {
method savePackages (line 51732) | savePackages() {
method _iterateAddedPackages (line 51738) | _iterateAddedPackages(f) {
function hasWrapper (line 51793) | function hasWrapper(commander) {
function setFlags (line 51797) | function setFlags(commander) {
function _load_asyncToGenerator (line 51839) | function _load_asyncToGenerator() {
function _load_fs (line 52132) | function _load_fs() {
function _load_filter (line 52138) | function _load_filter() {
function _load_errors (line 52144) | function _load_errors() {
function _interopRequireWildcard (line 52148) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 52164) | function _interopRequireDefault(obj) {
function packWithIgnoreAndHeaders (line 52211) | function packWithIgnoreAndHeaders(
function setFlags (line 52229) | function setFlags(commander) {
function hasWrapper (line 52236) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 52252) | function _load_asyncToGenerator() {
function _load_index (line 52260) | function _load_index() {
function _load_constants (line 52266) | function _load_constants() {
function _load_fs (line 52272) | function _load_fs() {
function _load_mutex (line 52278) | function _load_mutex() {
function _interopRequireWildcard (line 52282) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 52298) | function _interopRequireDefault(obj) {
class BaseFetcher (line 52307) | class BaseFetcher {
method constructor (line 52308) | constructor(dest, remote, config) {
method setupMirrorFromCache (line 52319) | setupMirrorFromCache() {
method _fetch (line 52325) | _fetch() {
method fetch (line 52329) | fetch(defaultManifest) {
function hash (line 52467) | function hash(content, type = "md5") {
class HashStream (line 52471) | class HashStream extends stream.Transform {
method constructor (line 52472) | constructor(options) {
method _transform (line 52478) | _transform(chunk, encoding, callback) {
method getHash (line 52484) | getHash() {
method test (line 52488) | test(sum) {
function _load_url (line 52507) | function _load_url() {
function _interopRequireDefault (line 52511) | function _interopRequireDefault(obj) {
function cleanup (line 52515) | function cleanup(name) {
function guessNameFallback (line 52520) | function guessNameFallback(source) {
function guessName (line 52526) | function guessName(source) {
function _load_semver (line 52598) | function _load_semver() {
function _interopRequireDefault (line 52602) | function _interopRequireDefault(obj) {
function satisfiesWithPrereleases (line 52611) | function satisfiesWithPrereleases(version, range, loose = false) {
function diffWithUnstable (line 52683) | function diffWithUnstable(version1, version2) {
function HttpSignatureError (line 52900) | function HttpSignatureError(message, caller) {
function InvalidAlgorithmError (line 52909) | function InvalidAlgorithmError(message) {
function validateAlgorithm (line 52914) | function validateAlgorithm(algorithm) {
class Separator (line 53012) | class Separator {
method constructor (line 53013) | constructor(line) {
method toString (line 53022) | toString() {
class Paginator (line 53053) | class Paginator {
method constructor (line 53054) | constructor(screen) {
method paginate (line 53060) | paginate(output, active, pageSize) {
function nextTick (line 53279) | function nextTick(fn, arg1, arg2, arg3) {
function AsyncSubject (line 53937) | function AsyncSubject() {
function Notification (line 54004) | function Notification(kind, value, error) {
method useDeprecatedSynchronousErrorHandling (line 54102) | set useDeprecatedSynchronousErrorHandling(value) {
method useDeprecatedSynchronousErrorHandling (line 54116) | get useDeprecatedSynchronousErrorHandling() {
function concat (line 54138) | function concat() {
function reduce (line 54185) | function reduce(accumulator, seed) {
function defaultErrorFactory (line 54258) | function defaultErrorFactory() {
function ObjectUnsubscribedErrorImpl (line 54278) | function ObjectUnsubscribedErrorImpl() {
function isNumeric (line 54300) | function isNumeric(val) {
function noop (line 54316) | function noop() {}
function read (line 54347) | function read(buf, options) {
function readSSHPrivate (line 54353) | function readSSHPrivate(type, buf, options) {
function write (line 54476) | function write(key, options) {
function validate (line 54992) | function validate(fs, name, root, cb) {
function mkdirfix (line 55002) | function mkdirfix(name, opts, cb) {
function _load_misc (line 55206) | function _load_misc() {
function _load_constants (line 55212) | function _load_constants() {
function _load_package (line 55218) | function _load_package() {
function shouldWrapKey (line 55224) | function shouldWrapKey(str) {
function maybeWrap (line 55234) | function maybeWrap(str) {
function priorityThenAlphaSort (line 55256) | function priorityThenAlphaSort(a, b) {
function _stringify (line 55264) | function _stringify(obj, options) {
function stringify (line 55324) | function stringify(obj, noHeader, enableVersions) {
function _load_consoleReporter (line 55362) | function _load_consoleReporter() {
function _load_bufferReporter (line 55377) | function _load_bufferReporter() {
function _load_eventReporter (line 55392) | function _load_eventReporter() {
function _load_jsonReporter (line 55406) | function _load_jsonReporter() {
function _load_noopReporter (line 55420) | function _load_noopReporter() {
function _load_baseReporter (line 55434) | function _load_baseReporter() {
function _interopRequireDefault (line 55446) | function _interopRequireDefault(obj) {
function cmdShimIfExists (line 55481) | function cmdShimIfExists(src, to, opts) {
function rm (line 55491) | function rm(path) {
function cmdShim (line 55495) | function cmdShim(src, to, opts) {
function cmdShim_ (line 55500) | function cmdShim_(src, to, opts) {
function writeShim (line 55508) | function writeShim(src, to, opts) {
function writeShim_ (line 55549) | function writeShim_(src, to, opts) {
function chmodShim (line 55749) | function chmodShim(to, { createCmdFile, createPwshFile }) {
function normalizePathEnvVar (line 55761) | function normalizePathEnvVar(nodePath) {
function _load_asyncToGenerator (line 55858) | function _load_asyncToGenerator() {
function _load_add (line 56011) | function _load_add() {
function _load_lockfile (line 56017) | function _load_lockfile() {
function _load_packageRequest (line 56023) | function _load_packageRequest() {
function _load_normalizePattern (line 56031) | function _load_normalizePattern() {
function _load_install (line 56037) | function _load_install() {
function _interopRequireDefault (line 56041) | function _interopRequireDefault(obj) {
function setUserRequestedPackageVersions (line 56055) | function setUserRequestedPackageVersions(
function getRangeOperator (line 56130) | function getRangeOperator(version) {
function buildPatternToUpgradeTo (line 56137) | function buildPatternToUpgradeTo(dep, flags) {
function scopeFilter (line 56161) | function scopeFilter(flags, dep) {
function cleanLockfile (line 56173) | function cleanLockfile(lockfile, deps, packagePatterns, reporter) {
function setFlags (line 56208) | function setFlags(commander) {
function hasWrapper (line 56243) | function hasWrapper(commander, args) {
function _load_extends (line 56262) | function _load_extends() {
function _load_asyncToGenerator (line 56268) | function _load_asyncToGenerator() {
function _load_constants (line 56276) | function _load_constants() {
function _load_fs (line 56282) | function _load_fs() {
function _load_misc (line 56288) | function _load_misc() {
function _load_packageNameUtils (line 56294) | function _load_packageNameUtils() {
function _load_workspaceLayout (line 56300) | function _load_workspaceLayout() {
function _interopRequireWildcard (line 56306) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 56322) | function _interopRequireDefault(obj) {
class InstallationIntegrityChecker (line 56355) | class InstallationIntegrityChecker {
method constructor (line 56356) | constructor(config) {
method _getModulesRootFolder (line 56364) | _getModulesRootFolder() {
method _getIntegrityFileFolder (line 56381) | _getIntegrityFileFolder() {
method _getIntegrityFileLocation (line 56401) | _getIntegrityFileLocation() {
method _getModulesFolders (line 56427) | _getModulesFolders({ workspaceLayout } = {}) {
method _getIntegrityListing (line 56482) | _getIntegrityListing({ workspaceLayout } = {}) {
method _generateIntegrityFile (line 56570) | _generateIntegrityFile(
method _getIntegrityFile (line 56805) | _getIntegrityFile(locationPath) {
method _compareIntegrityFiles (line 56825) | _compareIntegrityFiles(actual, expected, checkFiles, workspaceLayout) {
method check (line 56953) | check(patterns, lockfile, flags, workspaceLayout) {
method getArtifacts (line 57043) | getArtifacts() {
method save (line 57071) | save(patterns, lockfile, flags, workspaceLayout, artifacts) {
method removeIntegrityFile (line 57096) | removeIntegrityFile() {
function _load_errors (line 57127) | function _load_errors() {
function _load_map (line 57133) | function _load_map() {
function _load_misc (line 57139) | function _load_misc() {
function _load_yarnVersion (line 57145) | function _load_yarnVersion() {
function _load_semver (line 57151) | function _load_semver() {
function _interopRequireDefault (line 57155) | function _interopRequireDefault(obj) {
function isValid (line 57165) | function isValid(items, actual) {
function testEngine (line 57224) | function testEngine(name, range, versions, looseSemver) {
function isValidArch (line 57294) | function isValidArch(archs) {
function isValidPlatform (line 57298) | function isValidPlatform(platforms) {
function checkOne (line 57302) | function checkOne(info, config, ignoreEngines) {
function check (line 57396) | function check(infos, config, ignoreEngines) {
function shouldCheckCpu (line 57422) | function shouldCheckCpu(cpu, ignorePlatform) {
function shouldCheckPlatform (line 57426) | function shouldCheckPlatform(os, ignorePlatform) {
function shouldCheckEngines (line 57430) | function shouldCheckEngines(engines, ignoreEngines) {
function shouldCheck (line 57434) | function shouldCheck(manifest, options) {
function _load_asyncToGenerator (line 57455) | function _load_asyncToGenerator() {
function _load_errors (line 57598) | function _load_errors() {
function _load_index (line 57604) | function _load_index() {
function _load_fs (line 57610) | function _load_fs() {
function _load_promise (line 57616) | function _load_promise() {
function _interopRequireWildcard (line 57620) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 57636) | function _interopRequireDefault(obj) {
function fetchOne (line 57642) | function fetchOne(ref, config) {
function fetch (line 57648) | function fetch(pkgs, config) {
function _load_asyncToGenerator (line 57758) | function _load_asyncToGenerator() {
function _load_packageHoister (line 57792) | function _load_packageHoister() {
function _load_constants (line 57800) | function _load_constants() {
function _load_promise (line 57806) | function _load_promise() {
function _load_normalizePattern (line 57812) | function _load_normalizePattern() {
function _load_misc (line 57818) | function _load_misc() {
function _load_fs (line 57824) | function _load_fs() {
function _load_mutex (line 57830) | function _load_mutex() {
function _load_semver (line 57836) | function _load_semver() {
function _load_workspaceLayout (line 57842) | function _load_workspaceLayout() {
function _interopRequireWildcard (line 57848) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 57864) | function _interopRequireDefault(obj) {
class PackageLinker (line 57876) | class PackageLinker {
method constructor (line 57877) | constructor(config, resolver) {
method setArtifacts (line 57886) | setArtifacts(artifacts) {
method setTopLevelBinLinking (line 57890) | setTopLevelBinLinking(topLevelBinLinking) {
method linkSelfDependencies (line 57894) | linkSelfDependencies(pkg, pkgLoc, targetBinLoc, override = false) {
method linkBinDependencies (line 57940) | linkBinDependencies(pkg, dir) {
method findNearestInstalledVersionOfPackage (line 58088) | findNearestInstalledVersionOfPackage(pkg, binLoc) {
method getFlatHoistedTree (line 58171) | getFlatHoistedTree(patterns, workspaceLayout, { ignoreOptional } = {}) {
method copyModules (line 58185) | copyModules(
method _buildTreeHash (line 58934) | _buildTreeHash(flatTree) {
method getParentBinLoc (line 58968) | getParentBinLoc(parts, flatTree) {
method determineTopLevelBinLinkOrder (line 58986) | determineTopLevelBinLinkOrder(flatTree) {
method resolvePeerModules (line 59069) | resolvePeerModules() {
method _satisfiesPeerDependency (line 59225) | _satisfiesPeerDependency(range, version) {
method _warnForMissingBundledDependencies (line 59236) | _warnForMissingBundledDependencies(pkg) {
method _isUnplugged (line 59301) | _isUnplugged(pkg, ref) {
method init (line 59345) | init(
function _load_tty (line 59387) | function _load_tty() {
function _interopRequireDefault (line 59391) | function _interopRequireDefault(obj) {
function clearLine (line 59404) | function clearLine(stdout) {
function toStartOfLine (line 59419) | function toStartOfLine(stdout) {
function writeOnNthLine (line 59428) | function writeOnNthLine(stdout, n, msg) {
function clearNthLine (line 59447) | function clearNthLine(stdout, n) {
function _load_extends (line 59474) | function _load_extends() {
function _load_baseReporter (line 59480) | function _load_baseReporter() {
function _interopRequireDefault (line 59486) | function _interopRequireDefault(obj) {
class JSONReporter (line 59490) | class JSONReporter extends (_baseReporter || _load_baseReporter())
method constructor (line 59492) | constructor(opts) {
method _dump (line 59499) | _dump(type, data, error) {
method _verbose (line 59507) | _verbose(msg) {
method list (line 59511) | list(type, items, hints) {
method tree (line 59515) | tree(type, trees) {
method step (line 59519) | step(current, total, message) {
method inspect (line 59523) | inspect(value) {
method footer (line 59527) | footer(showPeakMemory) {
method log (line 59531) | log(msg) {
method command (line 59535) | command(msg) {
method table (line 59539) | table(head, body) {
method success (line 59543) | success(msg) {
method error (line 59547) | error(msg) {
method warn (line 59551) | warn(msg) {
method info (line 59555) | info(msg) {
method activitySet (line 59559) | activitySet(total, workers) {
method activity (line 59599) | activity() {
method _activity (line 59603) | _activity(data) {
method progress (line 59628) | progress(total) {
method auditAction (line 59649) | auditAction(recommendation) {
method auditAdvisory (line 59653) | auditAdvisory(resolution, auditAdvisory) {
method auditSummary (line 59657) | auditSummary(auditMetadata) {
function _load_semver (line 59676) | function _load_semver() {
function _load_minimatch (line 59682) | function _load_minimatch() {
function _load_map (line 59688) | function _load_map() {
function _load_normalizePattern (line 59694) | function _load_normalizePattern() {
function _load_parsePackagePath (line 59700) | function _load_parsePackagePath() {
function _load_parsePackagePath2 (line 59708) | function _load_parsePackagePath2() {
function _load_resolvers (line 59714) | function _load_resolvers() {
function _interopRequireDefault (line 59718) | function _interopRequireDefault(obj) {
class ResolutionMap (line 59725) | class ResolutionMap {
method constructor (line 59726) | constructor(config) {
method init (line 59733) | init(resolutions = {}) {
method addToDelayQueue (line 59747) | addToDelayQueue(req) {
method parsePatternInfo (line 59751) | parsePatternInfo(globPattern, range) {
method find (line 59790) | find(reqPattern, parentNames) {
function _load_asyncToGenerator (line 59863) | function _load_asyncToGenerator() {
function _load_path (line 59871) | function _load_path() {
function _load_invariant (line 59877) | function _load_invariant() {
function _load_uuid (line 59883) | function _load_uuid() {
function _load_errors (line 59889) | function _load_errors() {
function _load_exoticResolver (line 59895) | function _load_exoticResolver() {
function _load_misc (line 59903) | function _load_misc() {
function _load_fs (line 59909) | function _load_fs() {
function _interopRequireWildcard (line 59913) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 59929) | function _interopRequireDefault(obj) {
class FileResolver (line 59935) | class FileResolver extends (_exoticResolver || _load_exoticResolver())
method constructor (line 59937) | constructor(request, fragment) {
method isVersion (line 59945) | static isVersion(pattern) {
method resolve (line 59953) | resolve() {
function _load_errors (line 60050) | function _load_errors() {
function _load_gitResolver (line 60056) | function _load_gitResolver() {
function _load_exoticResolver (line 60064) | function _load_exoticResolver() {
function _load_misc (line 60072) | function _load_misc() {
function _interopRequireWildcard (line 60076) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 60092) | function _interopRequireDefault(obj) {
function explodeGistFragment (line 60096) | function explodeGistFragment(fragment, reporter) {
class GistResolver (line 60113) | class GistResolver extends (_exoticResolver || _load_exoticResolver())
method constructor (line 60115) | constructor(request, fragment) {
method resolve (line 60130) | resolve() {
function _load_asyncToGenerator (line 60153) | function _load_asyncToGenerator() {
function _load_cache (line 60161) | function _load_cache() {
function _load_errors (line 60167) | function _load_errors() {
function _load_registryResolver (line 60173) | function _load_registryResolver() {
function _load_npmRegistry (line 60181) | function _load_npmRegistry() {
function _load_map (line 60187) | function _load_map() {
function _load_fs (line 60193) | function _load_fs() {
function _load_constants (line 60199) | function _load_constants() {
function _load_packageNameUtils (line 60205) | function _load_packageNameUtils() {
function _interopRequireWildcard (line 60209) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 60225) | function _interopRequireDefault(obj) {
class NpmResolver (line 60237) | class NpmResolver extends (_registryResolver || _load_registryResolver())
method findVersionInRegistryResponse (line 60239) | static findVersionInRegistryResponse(
method resolveRequest (line 60322) | resolveRequest(desiredVersion) {
method resolveRequestOffline (line 60356) | resolveRequestOffline() {
method cleanRegistry (line 60443) | cleanRegistry(url) {
method resolve (line 60457) | resolve() {
function _load_asyncToGenerator (line 60582) | function _load_asyncToGenerator() {
function _load_fs (line 60655) | function _load_fs() {
function _load_promise (line 60661) | function _load_promise() {
function _load_fs2 (line 60667) | function _load_fs2() {
function _interopRequireDefault (line 60671) | function _interopRequireDefault(obj) {
function _load_asyncToGenerator (line 60812) | function _load_asyncToGenerator() {
function _load_extends (line 60820) | function _load_extends() {
function _load_invariant (line 60826) | function _load_invariant() {
function _load_string_decoder (line 60832) | function _load_string_decoder() {
function _load_tarFs (line 60838) | function _load_tarFs() {
function _load_tarStream (line 60844) | function _load_tarStream() {
function _load_url (line 60850) | function _load_url() {
function _load_fs (line 60856) | function _load_fs() {
function _load_errors (line 60862) | function _load_errors() {
function _load_gitSpawn (line 60868) | function _load_gitSpawn() {
function _load_gitRefResolver (line 60874) | function _load_gitRefResolver() {
function _load_crypto (line 60880) | function _load_crypto() {
function _load_fs2 (line 60886) | function _load_fs2() {
function _load_map (line 60892) | function _load_map() {
function _load_misc (line 60898) | function _load_misc() {
function _interopRequireWildcard (line 60902) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 60918) | function _interopRequireDefault(obj) {
class Git (line 60964) | class Git {
method constructor (line 60965) | constructor(config, gitUrl, hash) {
method npmUrlToGitUrl (line 60982) | static npmUrlToGitUrl(npmUrl) {
method hasArchiveCapability (line 61038) | static hasArchiveCapability(ref) {
method repoExists (line 61072) | static repoExists(ref) {
method replaceProtocol (line 61099) | static replaceProtocol(ref, protocol) {
method secureGitUrl (line 61110) | static secureGitUrl(ref, hash, reporter) {
method archive (line 61155) | archive(dest) {
method _archiveViaRemoteArchive (line 61163) | _archiveViaRemoteArchive(dest) {
method _archiveViaLocalFetched (line 61190) | _archiveViaLocalFetched(dest) {
method clone (line 61222) | clone(dest) {
method _cloneViaRemoteArchive (line 61230) | _cloneViaRemoteArchive(dest) {
method _cloneViaLocalFetched (line 61258) | _cloneViaLocalFetched(dest) {
method fetch (line 61291) | fetch() {
method getFile (line 61327) | getFile(filename) {
method _getFileFromArchive (line 61335) | _getFileFromArchive(filename) {
method _getFileFromClone (line 61389) | _getFileFromClone(filename) {
method init (line 61419) | init() {
method setRefRemote (line 61447) | setRefRemote() {
method setRefHosted (line 61476) | setRefHosted(hostedRefsList) {
method resolveDefaultBranch (line 61488) | resolveDefaultBranch() {
method resolveCommit (line 61554) | resolveCommit(shaToResolve) {
method setRef (line 61593) | setRef(refs) {
function _load_asyncToGenerator (line 61640) | function _load_asyncToGenerator() {
function _load_resolveRelative (line 61648) | function _load_resolveRelative() {
function _load_validate (line 61656) | function _load_validate() {
function _load_fix (line 61662) | function _load_fix() {
function _interopRequireDefault (line 61666) | function _interopRequireDefault(obj) {
function warn (line 61691) | function warn(msg) {
function isValidLicense (line 61761) | function isValidLicense(license) {
function isValidBin (line 61765) | function isValidBin(bin) {
function stringifyPerson (line 61769) | function stringifyPerson(person) {
function parsePerson (line 61792) | function parsePerson(person) {
function normalizePerson (line 61821) | function normalizePerson(person) {
function extractDescription (line 61825) | function extractDescription(readme) {
function extractRepositoryUrl (line 61861) | function extractRepositoryUrl(repository) {
function getPlatformSpecificPackageFilename (line 61880) | function getPlatformSpecificPackageFilename(pkg) {
function getSystemParams (line 61888) | function getSystemParams() {
function getUid (line 61904) | function getUid() {
function isFakeRoot (line 61912) | function isFakeRoot() {
function isRootUser (line 61916) | function isRootUser(uid) {
function getDataDir (line 61938) | function getDataDir() {
function getCacheDir (line 61957) | function getCacheDir() {
function getConfigDir (line 61974) | function getConfigDir() {
function getLocalAppDataDir (line 61989) | function getLocalAppDataDir() {
function explodeHashedUrl (line 62005) | function explodeHashedUrl(url) {
function balanced (line 62027) | function balanced(a, b, str) {
function maybeMatch (line 62044) | function maybeMatch(reg, str) {
function range (line 62050) | function range(a, b, str) {
function numeric (line 62102) | function numeric(str) {
function escapeBraces (line 62106) | function escapeBraces(str) {
function unescapeBraces (line 62120) | function unescapeBraces(str) {
function parseCommaParts (line 62137) | function parseCommaParts(str) {
function expandTop (line 62162) | function expandTop(str) {
function identity (line 62178) | function identity(e) {
function embrace (line 62182) | function embrace(str) {
function isPadded (line 62185) | function isPadded(el) {
function lte (line 62189) | function lte(i, y) {
function gte (line 62192) | function gte(i, y) {
function expand (line 62196) | function expand(str, isTop) {
function preserveCamelCase (line 62298) | function preserveCamelCase(str) {
function Caseless (line 62370) | function Caseless(dict) {
function useColors (line 63661) | function useColors() {
function formatArgs (line 63725) | function formatArgs(args) {
function log (line 63767) | function log() {
function save (line 63784) | function save(namespaces) {
function load (line 63801) | function load() {
function localstorage (line 63832) | function localstorage() {
function useColors (line 63934) | function useColors() {
function formatArgs (line 63970) | function formatArgs(args) {
function getDate (line 63988) | function getDate() {
function log (line 64000) | function log() {
function save (line 64011) | function save(namespaces) {
function load (line 64028) | function load() {
function init (line 64039) | function init(debug) {
function __webpack_require__ (line 64073) | function __webpack_require__(moduleId) {
function parse (line 64149) | function parse(code, options, delegate) {
function parseModule (line 64209) | function parseModule(code, options, delegate) {
function parseScript (line 64215) | function parseScript(code, options, delegate) {
function tokenize (line 64221) | function tokenize(code, options, delegate) {
function CommentHandler (line 64258) | function CommentHandler() {
function __ (line 64520) | function __() {
function getQualifiedElementName (line 64540) | function getQualifiedElementName(elementName) {
function JSXParser (line 64569) | function JSXParser(code, options, delegate) {
function JSXClosingElement (line 65298) | function JSXClosingElement(name) {
function JSXElement (line 65306) | function JSXElement(openingElement, children, closingElement) {
function JSXEmptyExpression (line 65316) | function JSXEmptyExpression() {
function JSXExpressionContainer (line 65323) | function JSXExpressionContainer(expression) {
function JSXIdentifier (line 65331) | function JSXIdentifier(name) {
function JSXMemberExpression (line 65339) | function JSXMemberExpression(object, property) {
function JSXAttribute (line 65348) | function JSXAttribute(name, value) {
function JSXNamespacedName (line 65357) | function JSXNamespacedName(namespace, name) {
function JSXOpeningElement (line 65366) | function JSXOpeningElement(name, selfClosing, attributes) {
function JSXSpreadAttribute (line 65376) | function JSXSpreadAttribute(argument) {
function JSXText (line 65384) | function JSXText(value, raw) {
function ArrayExpression (line 65422) | function ArrayExpression(elements) {
function ArrayPattern (line 65430) | function ArrayPattern(elements) {
function ArrowFunctionExpression (line 65438) | function ArrowFunctionExpression(params, body, expression) {
function AssignmentExpression (line 65451) | function AssignmentExpression(operator, left, right) {
function AssignmentPattern (line 65461) | function AssignmentPattern(left, right) {
function AsyncArrowFunctionExpression (line 65470) | function AsyncArrowFunctionExpression(
function AsyncFunctionDeclaration (line 65488) | function AsyncFunctionDeclaration(id, params, body) {
function AsyncFunctionExpression (line 65501) | function AsyncFunctionExpression(id, params, body) {
function AwaitExpression (line 65514) | function AwaitExpression(argument) {
function BinaryExpression (line 65522) | function BinaryExpression(operator, left, right) {
function BlockStatement (line 65535) | function BlockStatement(body) {
function BreakStatement (line 65543) | function BreakStatement(label) {
function CallExpression (line 65551) | function CallExpression(callee, args) {
function CatchClause (line 65560) | function CatchClause(param, body) {
function ClassBody (line 65569) | function ClassBody(body) {
function ClassDeclaration (line 65577) | function ClassDeclaration(id, superClass, body) {
function ClassExpression (line 65587) | function ClassExpression(id, superClass, body) {
function ComputedMemberExpression (line 65597) | function ComputedMemberExpression(object, property) {
function ConditionalExpression (line 65607) | function ConditionalExpression(test, consequent, alternate) {
function ContinueStatement (line 65617) | function ContinueStatement(label) {
function DebuggerStatement (line 65625) | function DebuggerStatement() {
function Directive (line 65632) | function Directive(expression, directive) {
function DoWhileStatement (line 65641) | function DoWhileStatement(body, test) {
function EmptyStatement (line 65650) | function EmptyStatement() {
function ExportAllDeclaration (line 65657) | function ExportAllDeclaration(source) {
function ExportDefaultDeclaration (line 65665) | function ExportDefaultDeclaration(declaration) {
function ExportNamedDeclaration (line 65673) | function ExportNamedDeclaration(
function ExportSpecifier (line 65687) | function ExportSpecifier(local, exported) {
function ExpressionStatement (line 65696) | function ExpressionStatement(expression) {
function ForInStatement (line 65704) | function ForInStatement(left, right, body) {
function ForOfStatement (line 65715) | function ForOfStatement(left, right, body) {
function ForStatement (line 65725) | function ForStatement(init, test, update, body) {
function FunctionDeclaration (line 65736) | function FunctionDeclaration(id, params, body, generator) {
function FunctionExpression (line 65749) | function FunctionExpression(id, params, body, generator) {
function Identifier (line 65762) | function Identifier(name) {
function IfStatement (line 65770) | function IfStatement(test, consequent, alternate) {
function ImportDeclaration (line 65780) | function ImportDeclaration(specifiers, source) {
function ImportDefaultSpecifier (line 65789) | function ImportDefaultSpecifier(local) {
function ImportNamespaceSpecifier (line 65797) | function ImportNamespaceSpecifier(local) {
function ImportSpecifier (line 65805) | function ImportSpecifier(local, imported) {
function LabeledStatement (line 65814) | function LabeledStatement(label, body) {
function Literal (line 65823) | function Literal(value, raw) {
function MetaProperty (line 65832) | function MetaProperty(meta, property) {
function MethodDefinition (line 65841) | function MethodDefinition(
function Module (line 65859) | function Module(body) {
function NewExpression (line 65868) | function NewExpression(callee, args) {
function ObjectExpression (line 65877) | function ObjectExpression(properties) {
function ObjectPattern (line 65885) | function ObjectPattern(properties) {
function Property (line 65893) | function Property(
function RegexLiteral (line 65913) | function RegexLiteral(value, raw, pattern, flags) {
function RestElement (line 65923) | function RestElement(argument) {
function ReturnStatement (line 65931) | function ReturnStatement(argument) {
function Script (line 65939) | function Script(body) {
function SequenceExpression (line 65948) | function SequenceExpression(expressions) {
function SpreadElement (line 65956) | function SpreadElement(argument) {
function StaticMemberExpression (line 65964) | function StaticMemberExpression(object, property) {
function Super (line 65974) | function Super() {
function SwitchCase (line 65981) | function SwitchCase(test, consequent) {
function SwitchStatement (line 65990) | function SwitchStatement(discriminant, cases) {
function TaggedTemplateExpression (line 65999) | function TaggedTemplateExpression(tag, quasi) {
function TemplateElement (line 66008) | function TemplateElement(value, tail) {
function TemplateLiteral (line 66017) | function TemplateLiteral(quasis, expressions) {
function ThisExpression (line 66026) | function ThisExpression() {
function ThrowStatement (line 66033) | function ThrowStatement(argument) {
function TryStatement (line 66041) | function TryStatement(block, handler, finalizer) {
function UnaryExpression (line 66051) | function UnaryExpression(operator, argument) {
function UpdateExpression (line 66061) | function UpdateExpression(operator, argument, prefix) {
function VariableDeclaration (line 66071) | function VariableDeclaration(declarations, kind) {
function VariableDeclarator (line 66080) | function VariableDeclarator(id, init) {
function WhileStatement (line 66089) | function WhileStatement(test, body) {
function WithStatement (line 66098) | function WithStatement(object, body) {
function YieldExpression (line 66107) | function YieldExpression(argument, delegate) {
function Parser (line 66131) | function Parser(code, options, delegate) {
method constructor (line 40341) | constructor(input, fileLoc = "lockfile") {
method onComment (line 40347) | onComment(token) {
method next (line 40370) | next() {
method unexpected (line 40390) | unexpected(msg = "Unexpected token") {
method expect (line 40396) | expect(tokType) {
method eat (line 40404) | eat(tokType) {
method parse (line 40413) | parse(indent = 0) {
function assert (line 70269) | function assert(condition, message) {
function ErrorHandler (line 70285) | function ErrorHandler() {
function hexValue (line 70455) | function hexValue(ch) {
function octalValue (line 70458) | function octalValue(ch) {
function Scanner (line 70462) | function Scanner(code, handler) {
function Reader (line 72084) | function Reader() {
function Tokenizer (line 72210) | function Tokenizer(code, config) {
function rethrow (line 72636) | function rethrow() {
function maybeCallback (line 72668) | function maybeCallback(cb) {
function start (line 72713) | function start() {
function start (line 72814) | function start() {
function LOOP (line 72836) | function LOOP() {
function gotStat (line 72864) | function gotStat(err, stat) {
function gotTarget (line 72893) | function gotTarget(err, target, base) {
function gotResolvedLink (line 72901) | function gotResolvedLink(resolvedLink) {
function globSync (line 72932) | function globSync(pattern, options) {
function GlobSync (line 72942) | function GlobSync(pattern, options) {
function ValidationError (line 73380) | function ValidationError(errors) {
function MissingRefError (line 73390) | function MissingRefError(baseId, ref, message) {
function errorSubclass (line 73398) | function errorSubclass(Subclass) {
function resolve (line 73433) | function resolve(compile, root, ref) {
function resolveSchema (line 73476) | function resolveSchema(root, ref) {
function resolveRecursive (line 73507) | function resolveRecursive(root, ref, parsedRef) {
function getJsonPointer (line 73528) | function getJsonPointer(parsedRef, baseId, schema, root) {
function inlineRef (line 73577) | function inlineRef(schema, limit) {
function checkNoRef (line 73583) | function checkNoRef(schema) {
function countKeys (line 73600) | function countKeys(schema) {
function getFullPath (line 73624) | function getFullPath(id, normalize) {
function _getFullPath (line 73630) | function _getFullPath(p) {
function normalizeId (line 73643) | function normalizeId(id) {
function resolveUrl (line 73647) | function resolveUrl(baseId, id) {
function resolveIds (line 73653) | function resolveIds(schema) {
function inflight (line 73799) | function inflight(key, cb) {
function makeres (line 73809) | function makeres(key) {
function slice (line 73840) | function slice(args) {
function deprecated (line 76161) | function deprecated(name) {
function compileStyleMap (line 76271) | function compileStyleMap(schema, map) {
function encodeHex (line 76298) | function encodeHex(character) {
function State (line 76323) | function State(options) {
function indentString (line 76349) | function indentString(string, spaces) {
function generateNextLine (line 76375) | function generateNextLine(state, level) {
function testImplicitResolving (line 76379) | function testImplicitResolving(state, str) {
function isWhitespace (line 76398) | function isWhitespace(c) {
function isPrintable (line 76406) | function isPrintable(c) {
function isPlainSafe (line 76416) | function isPlainSafe(c) {
function isPlainSafeFirst (line 76435) | function isPlainSafeFirst(c) {
function needIndentIndicator (line 76469) | function needIndentIndicator(string) {
function chooseScalarStyle (line 76487) | function chooseScalarStyle(
function writeScalar (line 76566) | function writeScalar(state, string, level, iskey) {
function blockHeader (line 76639) | function blockHeader(string, indentPerLevel) {
function dropEndingNewline (line 76654) | function dropEndingNewline(string) {
function foldString (line 76662) | function foldString(string, width) {
function foldLine (line 76700) | function foldLine(line, width) {
function escapeString (line 76743) | function escapeString(string) {
function writeFlowSequence (line 76773) | function writeFlowSequence(state, level, object) {
function writeBlockSequence (line 76791) | function writeBlockSequence(state, level, object, compact) {
function writeFlowMapping (line 76818) | function writeFlowMapping(state, level, object) {
function writeBlockMapping (line 76866) | function writeBlockMapping(state, level, object, compact) {
function detectType (line 76945) | function detectType(state, object, explicit) {
function writeNode (line 76992) | function writeNode(state, level, object, block, compact, iskey) {
function getDuplicateReferences (line 77079) | function getDuplicateReferences(object, state) {
function inspectNode (line 77097) | function inspectNode(object, objects, duplicatesIndexes) {
function dump (line 77136) | function dump(input, options) {
function safeDump (line 77148) | function safeDump(input, options) {
function _class (line 77191) | function _class(obj) {
function is_EOL (line 77195) | function is_EOL(c) {
function is_WHITE_SPACE (line 77199) | function is_WHITE_SPACE(c) {
function is_WS_OR_EOL (line 77203) | function is_WS_OR_EOL(c) {
function is_FLOW_INDICATOR (line 77212) | function is_FLOW_INDICATOR(c) {
function fromHexCode (line 77222) | function fromHexCode(c) {
function escapedHexLen (line 77239) | function escapedHexLen(c) {
function fromDecimalCode (line 77252) | function fromDecimalCode(c) {
function simpleEscapeSequence (line 77260) | function simpleEscapeSequence(c) {
function charFromCodepoint (line 77301) | function charFromCodepoint(c) {
function State (line 77320) | function State(input, options) {
function generateError (line 77352) | function generateError(state, message) {
function throwError (line 77365) | function throwError(state, message) {
function throwWarning (line 77369) | function throwWarning(state, message) {
function captureSegment (line 77445) | function captureSegment(state, start, end, checkJson) {
function mergeMappings (line 77475) | function mergeMappings(state, destination, source, overridableKeys) {
function storeMappingPair (line 77501) | function storeMappingPair(
function readLineBreak (line 77582) | function readLineBreak(state) {
function skipSeparationSpace (line 77602) | function skipSeparationSpace(state, allowComments, checkIndent) {
function testDocumentSeparator (line 77644) | function testDocumentSeparator(state) {
function writeFoldedLines (line 77669) | function writeFoldedLines(state, count) {
function readPlainScalar (line 77677) | function readPlainScalar(state, nodeIndent, withinFlowCollection) {
function readSingleQuotedScalar (line 77792) | function readSingleQuotedScalar(state, nodeIndent) {
function readDoubleQuotedScalar (line 77845) | function readDoubleQuotedScalar(state, nodeIndent) {
function readFlowCollection (line 77924) | function readFlowCollection(state, nodeIndent) {
function readBlockScalar (line 78048) | function readBlockScalar(state, nodeIndent) {
function readBlockSequence (line 78205) | function readBlockSequence(state, nodeIndent) {
function readBlockMapping (line 78269) | function readBlockMapping(state, nodeIndent, flowIndent) {
function readTagProperty (line 78470) | function readTagProperty(state) {
function readAnchorProperty (line 78576) | function readAnchorProperty(state) {
function readAlias (line 78605) | function readAlias(state) {
function composeNode (line 78637) | function composeNode(
function readDocument (line 78837) | function readDocument(state) {
function loadDocuments (line 78974) | function loadDocuments(input, options) {
function loadAll (line 79010) | function loadAll(input, iterator, options) {
function load (line 79024) | function load(input, options) {
function safeLoadAll (line 79038) | function safeLoadAll(input, output, options) {
function safeLoad (line 79053) | function safeLoad(input, options) {
function Mark (line 79073) | function Mark(name, buffer, position, line, column) {
function resolveYamlBinary (line 79179) | function resolveYamlBinary(data) {
function constructYamlBinary (line 79205) | function constructYamlBinary(data) {
function representYamlBinary (line 79252) | function representYamlBinary(object /*, style*/) {
function isBinary (line 79297) | function isBinary(object) {
function resolveYamlBoolean (line 79317) | function resolveYamlBoolean(data) {
function constructYamlBoolean (line 79330) | function constructYamlBoolean(data) {
function isBoolean (line 79334) | function isBoolean(object) {
function resolveYamlFloat (line 79380) | function resolveYamlFloat(data) {
function constructYamlFloat (line 79395) | function constructYamlFloat(data) {
function representYamlFloat (line 79432) | function representYamlFloat(object, style) {
function isFloat (line 79474) | function isFloat(object) {
function isHexCode (line 79499) | function isHexCode(c) {
function isOctCode (line 79507) | function isOctCode(c) {
function isDecCode (line 79511) | function isDecCode(c) {
function resolveYamlInteger (line 79515) | function resolveYamlInteger(data) {
function constructYamlInteger (line 79600) | function constructYamlInteger(data) {
function isInteger (line 79646) | function isInteger(object) {
function resolveJavascriptFunction (line 79716) | function resolveJavascriptFunction(data) {
function constructJavascriptFunction (line 79739) | function constructJavascriptFunction(data) {
function representJavascriptFunction (line 79775) | function representJavascriptFunction(object /*, style*/) {
function isFunction (line 79779) | function isFunction(object) {
function resolveJavascriptRegExp (line 79799) | function resolveJavascriptRegExp(data) {
function constructJavascriptRegExp (line 79821) | function constructJavascriptRegExp(data) {
function representJavascriptRegExp (line 79835) | function representJavascriptRegExp(object /*, style*/) {
function isRegExp (line 79845) | function isRegExp(object) {
function resolveJavascriptUndefined (line 79865) | function resolveJavascriptUndefined() {
function constructJavascriptUndefined (line 79869) | function constructJavascriptUndefined() {
function representJavascriptUndefined (line 79874) | function representJavascriptUndefined() {
function isUndefined (line 79878) | function isUndefined(object) {
function resolveYamlMerge (line 79913) | function resolveYamlMerge(data) {
function resolveYamlNull (line 79930) | function resolveYamlNull(data) {
function constructYamlNull (line 79941) | function constructYamlNull() {
function isNull (line 79945) | function isNull(object) {
function resolveYamlOmap (line 79982) | function resolveYamlOmap(data) {
function constructYamlOmap (line 80015) | function constructYamlOmap(data) {
function resolveYamlPairs (line 80035) | function resolveYamlPairs(data) {
function constructYamlPairs (line 80062) | function constructYamlPairs(data) {
function resolveYamlSet (line 80116) | function resolveYamlSet(data) {
function constructYamlSet (line 80131) | function constructYamlSet(data) {
function resolveYamlTimestamp (line 80183) | function resolveYamlTimestamp(data) {
function constructYamlTimestamp (line 80190) | function constructYamlTimestamp(data) {
function representYamlTimestamp (line 80253) | function representYamlTimestamp(object /*, style*/) {
function parse (line 80468) | function parse(str) {
function fmtShort (line 80530) | function fmtShort(ms) {
function fmtLong (line 80554) | function fmtLong(ms) {
function plural (line 80568) | function plural(ms, n, name) {
function toObject (line 80600) | function toObject(val) {
function shouldUseNative (line 80610) | function shouldUseNative() {
function hasOwnProperty (line 80719) | function hasOwnProperty(obj, prop) {
function isEmpty (line 80727) | function isEmpty(value) {
function toString (line 80744) | function toString(type) {
function isObject (line 80748) | function isObject(obj) {
function isBoolean (line 80759) | function isBoolean(obj) {
function getKey (line 80765) | function getKey(key) {
function factory (line 80773) | function factory(options) {
function paramsHaveRequestBody (line 81024) | function paramsHaveRequestBody(params) {
function safeStringify (line 81033) | function safeStringify(obj, replacer) {
function md5 (line 81043) | function md5(str) {
function isReadStream (line 81047) | function isReadStream(rs) {
function toBase64 (line 81051) | function toBase64(str) {
function copy (line 81055) | function copy(obj) {
function version (line 81063) | function version() {
function specifierIncluded (line 81091) | function specifierIncluded(specifier) {
function matchesRange (line 81113) | function matchesRange(range) {
function versionIncluded (line 81126) | function versionIncluded(specifierValue) {
function defaults (line 81175) | function defaults(options) {
function rimraf (line 81192) | function rimraf(p, options, cb) {
function rimraf_ (line 81284) | function rimraf_(p, options, cb) {
function fixWinEPERM (line 81314) | function fixWinEPERM(p, options, er, cb) {
function fixWinEPERMSync (line 81331) | function fixWinEPERMSync(p, options, er) {
function rmdir (line 81354) | function rmdir(p, options, originalEr, cb) {
function rmkids (line 81376) | function rmkids(p, options, cb) {
function rimrafSync (line 81399) | function rimrafSync(p, options) {
function rmdirSync (line 81457) | function rmdirSync(p, options, originalEr) {
function rmkidsSync (line 81476) | function rmkidsSync(p, options) {
function ReplaySubject (line 81536) | function ReplaySubject(bufferSize, windowTime, scheduler) {
function ReplayEvent (line 81649) | function ReplayEvent(time, value) {
function combineLatest (line 81686) | function combineLatest() {
function CombineLatestOperator (line 81720) | function CombineLatestOperator(resultSelector) {
function CombineLatestSubscriber (line 81736) | function CombineLatestSubscriber(destination, resultSelector) {
function defer (line 81831) | function defer(observableFactory) {
function of (line 81870) | function of() {
function scalar (line 81918) | function scalar(value) {
function throwError (line 81941) | function throwError(error, scheduler) {
function dispatch (line 81959) | function dispatch(_a) {
function zip (line 81996) | function zip() {
function ZipOperator (line 82012) | function ZipOperator(resultSelector) {
function ZipSubscriber (line 82028) | function ZipSubscriber(destination, resultSelector, values) {
function StaticIterator (line 82145) | function StaticIterator(iterator) {
function StaticArrayIterator (line 82164) | function StaticArrayIterator(array) {
function ZipBufferIterator (line 82197) | function ZipBufferIterator(destination, parent, observable) {
function mergeAll (line 82272) | function mergeAll(concurrent) {
function refCount (line 82297) | function refCount() {
function RefCountOperator (line 82303) | function RefCountOperator(connectable) {
function RefCountSubscriber (line 82323) | function RefCountSubscriber(destination, connectable) {
function scan (line 82371) | function scan(accumulator, seed) {
function ScanOperator (line 82381) | function ScanOperator(accumulator, seed, hasSeed) {
function ScanSubscriber (line 82406) | function ScanSubscriber(destination, accumulator, _seed, hasSeed) {
function switchMap (line 82468) | function switchMap(project, resultSelector) {
function SwitchMapOperator (line 82495) | function SwitchMapOperator(project) {
function SwitchMapSubscriber (line 82510) | function SwitchMapSubscriber(destination, project) {
function take (line 82599) | function take(count) {
function TakeOperator (line 82611) | function TakeOperator(total) {
function TakeSubscriber (line 82629) | function TakeSubscriber(destination, total) {
function takeLast (line 82666) | function takeLast(count) {
function TakeLastOperator (line 82678) | function TakeLastOperator(total) {
function TakeLastSubscriber (line 82698) | function TakeLastSubscriber(destination, total) {
function canReportError (line 82765) | function canReportError(observer) {
function hostReportError (line 82795) | function hostReportError(err) {
function pipe (line 82813) | function pipe() {
function pipeFromArray (line 82820) | function pipeFromArray(fns) {
function DiffieHellman (line 82861) | function DiffieHellman(key) {
function X9ECParameters (line 83117) | function X9ECParameters(name) {
function ECPublic (line 83147) | function ECPublic(params, buffer) {
function ECPrivate (line 83153) | function ECPrivate(params, buffer) {
function generateED25519 (line 83163) | function generateED25519() {
function generateECDSA (line 83183) | function generateECDSA(curve) {
function read (line 83287) | function read(buf, options) {
function readRFC3110 (line 83317) | function readRFC3110(keyString) {
function elementToBuf (line 83374) | function elementToBuf(e) {
function readDNSSECRSAPrivateKey (line 83378) | function readDNSSECRSAPrivateKey(elements) {
function readDNSSECPrivateKey (line 83415) | function readDNSSECPrivateKey(alg, elements) {
function dnssecTimestamp (line 83448) | function dnssecTimestamp(date) {
function rsaAlgFromOptions (line 83457) | function rsaAlgFromOptions(opts) {
function writeRSA (line 83465) | function writeRSA(key, options) {
function writeECDSA (line 83498) | function writeECDSA(key, options) {
function write (line 83521) | function write(key, options) {
function read (line 83570) | function read(buf, options) {
function write (line 83574) | function write(key, options) {
function readMPInt (line 83579) | function readMPInt(der, nm) {
function readPkcs1 (line 83588) | function readPkcs1(alg, type, der) {
function readPkcs1RSAPublic (line 83612) | function readPkcs1RSAPublic(der) {
function readPkcs1RSAPrivate (line 83629) | function readPkcs1RSAPrivate(der) {
function readPkcs1DSAPrivate (line 83661) | function readPkcs1DSAPrivate(der) {
function readPkcs1EdDSAPrivate (line 83686) | function readPkcs1EdDSAPrivate(der) {
function readPkcs1DSAPublic (line 83711) | function readPkcs1DSAPublic(der) {
function readPkcs1ECDSAPublic (line 83730) | function readPkcs1ECDSAPublic(der) {
function readPkcs1ECDSAPrivate (line 83764) | function readPkcs1ECDSAPrivate(der) {
function writePkcs1 (line 83791) | function writePkcs1(der, key) {
function writePkcs1RSAPublic (line 83818) | function writePkcs1RSAPublic(der, key) {
function writePkcs1RSAPrivate (line 83823) | function writePkcs1RSAPrivate(der, key) {
function writePkcs1DSAPrivate (line 83838) | function writePkcs1DSAPrivate(der, key) {
function writePkcs1DSAPublic (line 83849) | function writePkcs1DSAPublic(der, key) {
function writePkcs1ECDSAPublic (line 83856) | function writePkcs1ECDSAPublic(der, key) {
function writePkcs1ECDSAPrivate (line 83871) | function writePkcs1ECDSAPrivate(der, key) {
function writePkcs1EdDSAPrivate (line 83890) | function writePkcs1EdDSAPrivate(der, key) {
function writePkcs1EdDSAPublic (line 83905) | function writePkcs1EdDSAPublic(der, key) {
function _load_constants (line 84098) | function _load_constants() {
function _load_access (line 84104) | function _load_access() {
function _load_add (line 84110) | function _load_add() {
function _load_audit (line 84116) | function _load_audit() {
function _load_autoclean (line 84122) | function _load_autoclean() {
function _load_bin (line 84128) | function _load_bin() {
function _load_cache (line 84134) | function _load_cache() {
function _load_check (line 84140) | function _load_check() {
function _load_config (line 84146) | function _load_config() {
function _load_create (line 84152) | function _load_create() {
function _load_exec (line 84158) | function _load_exec() {
function _load_generateLockEntry (line 84164) | function _load_generateLockEntry() {
function _load_global (line 84172) | function _load_global() {
function _load_help (line 84178) | function _load_help() {
function _load_import (line 84184) | function _load_import() {
function _load_info (line 84190) | function _load_info() {
function _load_init (line 84196) | function _load_init() {
function _load_install (line 84202) | function _load_install() {
function _load_licenses (line 84208) | function _load_licenses() {
function _load_link (line 84214) | function _load_link() {
function _load_login (line 84220) | function _load_login() {
function _load_logout (line 84226) | function _load_logout() {
function _load_list (line 84232) | function _load_list() {
function _load_node (line 84238) | function _load_node() {
function _load_outdated (line 84244) | function _load_outdated() {
function _load_owner (line 84250) | function _load_owner() {
function _load_pack (line 84256) | function _load_pack() {
function _load_policies (line 84262) | function _load_policies() {
function _load_publish (line 84268) | function _load_publish() {
function _load_remove (line 84274) | function _load_remove() {
function _load_run (line 84280) | function _load_run() {
function _load_tag (line 84286) | function _load_tag() {
function _load_team (line 84292) | function _load_team() {
function _load_unplug (line 84298) | function _load_unplug() {
function _load_unlink (line 84304) | function _load_unlink() {
function _load_upgrade (line 84310) | function _load_upgrade() {
function _load_version (line 84316) | function _load_version() {
function _load_versions (line 84322) | function _load_versions() {
function _load_why (line 84328) | function _load_why() {
function _load_workspaces (line 84334) | function _load_workspaces() {
function _load_workspace (line 84342) | function _load_workspace() {
function _load_upgradeInteractive (line 84348) | function _load_upgradeInteractive() {
function _load_useless (line 84356) | function _load_useless() {
function _load_aliases (line 84362) | function _load_aliases() {
function _interopRequireDefault (line 84366) | function _interopRequireDefault(obj) {
function _interopRequireWildcard (line 84370) | function _interopRequireWildcard(obj) {
function _load_fs (line 84474) | function _load_fs() {
function _load_path (line 84480) | function _load_path() {
function _load_commander (line 84486) | function _load_commander() {
function _load_lockfile (line 84492) | function _load_lockfile() {
function _load_rc (line 84498) | function _load_rc() {
function _interopRequireWildcard (line 84502) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 84518) | function _interopRequireDefault(obj) {
function getRcConfigForCwd (line 84534) | function getRcConfigForCwd(cwd, args) {
function getRcConfigForFolder (line 84567) | function getRcConfigForFolder(cwd) {
function loadRcFile (line 84580) | function loadRcFile(fileText, filePath) {
function buildRcArgs (line 84610) | function buildRcArgs(cwd, args) {
function extractCwdArg (line 84649) | function extractCwdArg(args) {
function getRcArgs (line 84662) | function getRcArgs(commandName, args, previousCwds = []) {
function boolify (line 84705) | function boolify(val) {
function boolifyWithDefault (line 84709) | function boolifyWithDefault(val, defaultResult) {
function isOffline (line 84730) | function isOffline() {
function Option (line 84830) | function Option(flags, description) {
function Command (line 84884) | function Command(name) {
function camelcase (line 85989) | function camelcase(flag) {
function pad (line 86004) | function pad(str, width) {
function outputHelpIfNecessary (line 86017) | function outputHelpIfNecessary(cmd, options) {
function humanReadableArgName (line 86035) | function humanReadableArgName(arg) {
function exists (line 86042) | function exists(file) {
function abort (line 86070) | function abort(state) {
function clean (line 86083) | function clean(key) {
function async (line 86105) | function async(callback) {
function iterate (line 86141) | function iterate(list, iterator, state, callback) {
function runJob (line 86185) | function runJob(iterator, key, item, callback) {
function state (line 86216) | function state(list, sortMethod) {
function terminator (line 86255) | function terminator(callback) {
function serialOrdered (line 86292) | function serialOrdered(list, iterator, sortMethod, callback) {
function ascending (line 86327) | function ascending(a, b) {
function descending (line 86338) | function descending(a, b) {
function _load_asyncToGenerator (line 86369) | function _load_asyncToGenerator() {
function _load_promise (line 86448) | function _load_promise() {
function _load_hoistedTreeBuilder (line 86454) | function _load_hoistedTreeBuilder() {
function _load_getTransitiveDevDependencies (line 86460) | function _load_getTransitiveDevDependencies() {
function _load_install (line 86466) | function _load_install() {
function _load_lockfile (line 86472) | function _load_lockfile() {
function _load_constants (line 86478) | function _load_constants() {
function _interopRequireDefault (line 86482) | function _interopRequireDefault(obj) {
function setFlags (line 86490) | function setFlags(commander) {
function hasWrapper (line 86509) | function hasWrapper(commander, args) {
class Audit (line 86513) | class Audit {
method constructor (line 86514) | constructor(config, reporter, options) {
method _mapHoistedNodes (line 86522) | _mapHoistedNodes(auditNode, hoistedNodes, transitiveDevDeps) {
method _mapHoistedTreesToAuditTree (line 86594) | _mapHoistedTreesToAuditTree(manifest, hoistedTrees, transitiveDevDeps) {
method _fetchAudit (line 86617) | _fetchAudit(auditTree) {
method _insertWorkspacePackagesIntoManifest (line 86659) | _insertWorkspacePackagesIntoManifest(manifest, resolver) {
method performAudit (line 86682) | performAudit(manifest, lockfile, resolver, linker, patterns) {
method summary (line 86714) | summary() {
method report (line 86721) | report() {
function _load_asyncToGenerator (line 86797) | function _load_asyncToGenerator() {
function _load_index (line 87149) | function _load_index() {
function _load_filter (line 87155) | function _load_filter() {
function _load_constants (line 87161) | function _load_constants() {
function _load_fs (line 87167) | function _load_fs() {
function _interopRequireWildcard (line 87171) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 87187) | function _interopRequireDefault(obj) {
function setFlags (line 87245) | function setFlags(commander) {
function hasWrapper (line 87260) | function hasWrapper(commander) {
function _load_asyncToGenerator (line 87280) | function _load_asyncToGenerator() {
function _load_buildSubCommands (line 87558) | function _load_buildSubCommands() {
function _load_fs (line 87566) | function _load_fs() {
function _interopRequireWildcard (line 87570) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 87586) | function _interopRequireDefault(obj) {
function hasWrapper (line 87594) | function hasWrapper(flags, args) {
function _getMetadataWithPath (line 87598) | function _getMetadataWithPath(getMetadataFn, paths) {
method ls (line 87613) | ls(config, reporter, flags, args) {
method dir (line 87625) | dir(config, reporter) {
function setFlags (line 87635) | function setFlags(commander) {
function _load_asyncToGenerator (line 87663) | function _load_asyncToGenerator() {
function reportError (line 87674) | function reportError(msg, ...vars) {
function reportError (line 87842) | function reportError(msg, ...vars) {
function humaniseLocation (line 87946) | function humaniseLocation(loc) {
function reportError (line 87971) | function reportError(msg, ...vars) {
function _load_errors (line 88311) | function _load_errors() {
function _load_integrityChecker (line 88317) | function _load_integrityChecker() {
function _load_integrityChecker2 (line 88325) | function _load_integrityChecker2() {
function _load_lockfile (line 88331) | function _load_lockfile() {
function _load_fs (line 88337) | function _load_fs() {
function _load_install (line 88343) | function _load_install() {
function _load_normalizePattern (line 88349) | function _load_normalizePattern() {
function _interopRequireWildcard (line 88353) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 88369) | function _interopRequireDefault(obj) {
function hasWrapper (line 88379) | function hasWrapper(commander) {
function setFlags (line 88383) | function setFlags(commander) {
function _load_asyncToGenerator (line 88404) | function _load_asyncToGenerator() {
function _load_errors (line 88540) | function _load_errors() {
function _load_fs (line 88546) | function _load_fs() {
function _load_global (line 88552) | function _load_global() {
function _interopRequireWildcard (line 88556) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 88572) | function _interopRequireDefault(obj) {
function hasWrapper (line 88581) | function hasWrapper(commander, args) {
function setFlags (line 88585) | function setFlags(commander) {
function _load_asyncToGenerator (line 88602) | function _load_asyncToGenerator() {
function _load_install (line 88927) | function _load_install() {
function _load_lockfile (line 88933) | function _load_lockfile() {
function _interopRequireDefault (line 88937) | function _interopRequireDefault(obj) {
function buildCount (line 88947) | function buildCount(trees) {
function getParent (line 88986) | function getParent(key, treesByKey) {
function hasWrapper (line 88991) | function hasWrapper(commander, args) {
function setFlags (line 88995) | function setFlags(commander) {
function getReqDepth (line 89007) | function getReqDepth(inputDepth) {
function filterTree (line 89011) | function filterTree(tree, filters, pattern = "") {
function getDevDeps (line 89028) | function getDevDeps(manifest) {
function _load_extends (line 89053) | function _load_extends() {
function _load_asyncToGenerator (line 89059) | function _load_asyncToGenerator() {
function _load_lockfile (line 89277) | function _load_lockfile() {
function _load_index (line 89283) | function _load_index() {
function _load_install (line 89289) | function _load_install() {
function _load_errors (line 89295) | function _load_errors() {
function _load_index2 (line 89301) | function _load_index2() {
function _load_fs (line 89307) | function _load_fs() {
function _load_constants (line 89313) | function _load_constants() {
function _interopRequireWildcard (line 89317) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 89333) | function _interopRequireDefault(obj) {
function setFlags (line 89343) | function setFlags(commander) {
function hasWrapper (line 89354) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 89371) | function _load_asyncToGenerator() {
function runCommand (line 89754) | function runCommand([action, ...args]) {
function _load_executeLifecycleScript (line 89842) | function _load_executeLifecycleScript() {
function _load_dynamicRequire (line 89848) | function _load_dynamicRequire() {
function _load_hooks (line 89854) | function _load_hooks() {
function _load_errors (line 89860) | function _load_errors() {
function _load_packageCompatibility (line 89866) | function _load_packageCompatibility() {
function _load_fs (line 89872) | function _load_fs() {
function _load_constants (line 89878) | function _load_constants() {
function _interopRequireWildcard (line 89882) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 89898) | function _interopRequireDefault(obj) {
function toObject (line 89913) | function toObject(input) {
function setFlags (line 89945) | function setFlags(commander) {
function hasWrapper (line 89949) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 89970) | function _load_asyncToGenerator() {
function _load_buildSubCommands (line 90095) | function _load_buildSubCommands() {
function _load_login (line 90103) | function _load_login() {
function _load_npmRegistry (line 90109) | function _load_npmRegistry() {
function _load_errors (line 90115) | function _load_errors() {
function _load_normalizePattern (line 90121) | function _load_normalizePattern() {
function _load_validate (line 90127) | function _load_validate() {
function _interopRequireDefault (line 90131) | function _interopRequireDefault(obj) {
function setFlags (line 90135) | function setFlags(commander) {
method add (line 90143) | add(config, reporter, flags, args) {
method rm (line 90208) | rm(config, reporter, flags, args) {
method remove (line 90220) | remove(config, reporter, flags, args) {
method ls (line 90229) | ls(config, reporter, flags, args) {
method list (line 90241) | list(config, reporter, flags, args) {
function _load_extends (line 90273) | function _load_extends() {
function _load_asyncToGenerator (line 90279) | function _load_asyncToGenerator() {
function _load_inquirer (line 90583) | function _load_inquirer() {
function _load_lockfile (line 90589) | function _load_lockfile() {
function _load_add (line 90595) | function _load_add() {
function _load_upgrade (line 90601) | function _load_upgrade() {
function _load_colorForVersions (line 90607) | function _load_colorForVersions() {
function _load_colorizeDiff (line 90615) | function _load_colorizeDiff() {
function _load_install (line 90623) | function _load_install() {
function _interopRequireDefault (line 90627) | function _interopRequireDefault(obj) {
function setFlags (line 90635) | function setFlags(commander) {
function hasWrapper (line 90662) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 90679) | function _load_asyncToGenerator() {
function runLifecycle (line 90705) | function runLifecycle(lifecycle) {
function isCommitHooksDisabled (line 90721) | function isCommitHooksDisabled() {
function _load_index (line 90980) | function _load_index() {
function _load_executeLifecycleScript (line 90986) | function _load_executeLifecycleScript() {
function _load_errors (line 90992) | function _load_errors() {
function _load_gitSpawn (line 90998) | function _load_gitSpawn() {
function _load_fs (line 91004) | function _load_fs() {
function _load_map (line 91010) | function _load_map() {
function _interopRequireWildcard (line 91014) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 91030) | function _interopRequireDefault(obj) {
function isValidNewVersion (line 91039) | function isValidNewVersion(
function setFlags (line 91051) | function setFlags(commander) {
function hasWrapper (line 91087) | function hasWrapper(commander, args) {
function _load_extends (line 91104) | function _load_extends() {
function _load_asyncToGenerator (line 91110) | function _load_asyncToGenerator() {
function _load_errors (line 91118) | function _load_errors() {
function _load_constants (line 91124) | function _load_constants() {
function _load_baseFetcher (line 91130) | function _load_baseFetcher() {
function _load_fs (line 91138) | function _load_fs() {
function _load_misc (line 91144) | function _load_misc() {
function _load_normalizeUrl (line 91150) | function _load_normalizeUrl() {
function _interopRequireWildcard (line 91156) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 91172) | function _interopRequireDefault(obj) {
class TarballFetcher (line 91209) | class TarballFetcher extends (_baseFetcher || _load_baseFetcher())
method constructor (line 91211) | constructor(...args) {
method setupMirrorFromCache (line 91222) | setupMirrorFromCache() {
method getTarballCachePath (line 91252) | getTarballCachePath() {
method getTarballMirrorPath (line 91259) | getTarballMirrorPath() {
method createExtractor (line 91286) | createExtractor(resolve, reject, tarballPath) {
method getLocalPaths (line 91429) | getLocalPaths(override) {
method fetchFromLocal (line 91439) | fetchFromLocal(override) {
method fetchFromExternal (line 91498) | fetchFromExternal() {
method requestHeaders (line 91579) | requestHeaders() {
method _fetch (line 91600) | _fetch() {
method _findIntegrity (line 91622) | _findIntegrity({ hashOnly }) {
method _supportedIntegrity (line 91632) | _supportedIntegrity({ hashOnly }) {
class LocalTarballFetcher (line 91684) | class LocalTarballFetcher extends TarballFetcher {
method _fetch (line 91685) | _fetch() {
function urlParts (line 91692) | function urlParts(requestUrl) {
function _load_misc (line 91713) | function _load_misc() {
class PackageReference (line 91717) | class PackageReference {
method constructor (line 91718) | constructor(request, info, remote) {
method setFresh (line 91747) | setFresh(fresh) {
method addLocation (line 91751) | addLocation(loc) {
method addRequest (line 91757) | addRequest(request) {
method prune (line 91763) | prune() {
method addDependencies (line 91790) | addDependencies(deps) {
method setPermission (line 91794) | setPermission(key, val) {
method hasPermission (line 91798) | hasPermission(key) {
method addPattern (line 91806) | addPattern(pattern, manifest) {
method addOptional (line 91845) | addOptional(optional) {
function _load_asyncToGenerator (line 91870) | function _load_asyncToGenerator() {
function _load_index (line 91878) | function _load_index() {
function _load_packageRequest (line 91884) | function _load_packageRequest() {
function _load_normalizePattern (line 91892) | function _load_normalizePattern() {
function _load_requestManager (line 91898) | function _load_requestManager() {
function _load_blockingQueue (line 91906) | function _load_blockingQueue() {
function _load_lockfile (line 91914) | function _load_lockfile() {
function _load_map (line 91920) | function _load_map() {
function _load_workspaceLayout (line 91926) | function _load_workspaceLayout() {
function _load_resolutionMap (line 91934) | function _load_resolutionMap() {
function _load_resolutionMap2 (line 91942) | function _load_resolutionMap2() {
function _interopRequireDefault (line 91946) | function _interopRequireDefault(obj) {
class PackageResolver (line 91954) | class PackageResolver {
method constructor (line 91955) | constructor(
method isNewPattern (line 92007) | isNewPattern(pattern) {
method updateManifest (line 92011) | updateManifest(ref, newPkg) {
method updateManifests (line 92048) | updateManifests(newPkgs) {
method dedupePatterns (line 92111) | dedupePatterns(patterns) {
method getTopologicalManifests (line 92154) | getTopologicalManifests(seedPatterns) {
method getLevelOrderManifests (line 92204) | getLevelOrderManifests(seedPatterns) {
method getAllDependencyNamesByLevelOrder (line 92283) | getAllDependencyNamesByLevelOrder(seedPatterns) {
method getAllInfoForPackageName (line 92318) | getAllInfoForPackageName(name) {
method getAllInfoForPatterns (line 92327) | getAllInfoForPatterns(patterns) {
method getManifests (line 92370) | getManifests() {
method replacePattern (line 92390) | replacePattern(pattern, newPattern) {
method collapseAllVersionsOfPackage (line 92404) | collapseAllVersionsOfPackage(name, version) {
method collapsePackageVersions (line 92412) | collapsePackageVersions(name, version, patterns) {
method addPattern (line 92525) | addPattern(pattern, info) {
method removePattern (line 92539) | removePattern(pattern) {
method getResolvedPattern (line 92558) | getResolvedPattern(pattern) {
method getStrictResolvedPattern (line 92566) | getStrictResolvedPattern(pattern) {
method getExactVersionMatch (line 92576) | getExactVersionMatch(name, version, manifest) {
method getHighestRangeVersionMatch (line 92628) | getHighestRangeVersionMatch(name, range, manifest) {
method exoticRangeMatch (line 92662) | exoticRangeMatch(resolvedPkgs, manifest) {
method isLockfileEntryOutdated (line 92685) | isLockfileEntryOutdated(version, range, hasVersion) {
method find (line 92699) | find(initialReq) {
method init (line 92768) | init(
method optimizeResolutions (line 92879) | optimizeResolutions(name) {
method reportPackageWithExistingVersion (line 92948) | reportPackageWithExistingVersion(req, info) {
method resolvePackagesWithExistingVersions (line 92957) | resolvePackagesWithExistingVersions() {
method resolveToResolution (line 92987) | resolveToResolution(req) {
function _load_hostedGitResolver (line 93041) | function _load_hostedGitResolver() {
function _interopRequireDefault (line 93047) | function _interopRequireDefault(obj) {
class GitHubResolver (line 93051) | class GitHubResolver extends (
method isVersion (line 93054) | static isVersion(pattern) {
method getTarballUrl (line 93068) | static getTarballUrl(parts, hash) {
method getGitSSHUrl (line 93072) | static getGitSSHUrl(parts) {
method getGitHTTPBaseUrl (line 93079) | static getGitHTTPBaseUrl(parts) {
method getGitHTTPUrl (line 93083) | static getGitHTTPUrl(parts) {
method getHTTPFileUrl (line 93087) | static getHTTPFileUrl(parts, filename, commit) {
function _load_asyncToGenerator (line 93108) | function _load_asyncToGenerator() {
function _load_exoticResolver (line 93116) | function _load_exoticResolver() {
function _load_misc (line 93124) | function _load_misc() {
function _load_fs (line 93130) | function _load_fs() {
function _interopRequireWildcard (line 93134) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 93150) | function _interopRequireDefault(obj) {
class LinkResolver (line 93158) | class LinkResolver extends (_exoticResolver || _load_exoticResolver())
method constructor (line 93160) | constructor(request, fragment) {
method resolve (line 93168) | resolve() {
function _load_semver (line 93232) | function _load_semver() {
function _load_semver2 (line 93238) | function _load_semver2() {
function _load_constants (line 93244) | function _load_constants() {
function _interopRequireDefault (line 93248) | function _interopRequireDefault(obj) {
function _load_misc (line 93302) | function _load_misc() {
function sortFilter (line 93311) | function sortFilter(
function matchesFilter (line 93517) | function matchesFilter(filter, basename, loc) {
function ignoreLinesToRegex (line 93534) | function ignoreLinesToRegex(lines, base = ".") {
function filterOverridenGitignores (line 93582) | function filterOverridenGitignores(files) {
function _load_extends (line 93624) | function _load_extends() {
function _load_path (line 93630) | function _load_path() {
function _load_child (line 93636) | function _load_child() {
function _interopRequireWildcard (line 93640) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 93656) | function _interopRequireDefault(obj) {
function callThroughHook (line 93710) | function callThroughHook(type, fn, context) {
function parsePackagePath (line 93776) | function parsePackagePath(input) {
function isValidPackagePath (line 93782) | function isValidPackagePath(input) {
function _load_path (line 93800) | function _load_path() {
function getPosixPath (line 93806) | function getPosixPath(path) {
function resolveWithHome (line 93810) | function resolveWithHome(path) {
function _load_fs (line 93831) | function _load_fs() {
function _load_http (line 93837) | function _load_http() {
function _load_url (line 93843) | function _load_url() {
function _load_dnscache (line 93849) | function _load_dnscache() {
function _load_invariant (line 93855) | function _load_invariant() {
function _load_requestCaptureHar (line 93861) | function _load_requestCaptureHar() {
function _load_errors (line 93869) | function _load_errors() {
function _load_blockingQueue (line 93875) | function _load_blockingQueue() {
function _load_constants (line 93883) | function _load_constants() {
function _load_network (line 93889) | function _load_network() {
function _load_map (line 93895) | function _load_map() {
function _interopRequireWildcard (line 93899) | function _interopRequireWildcard(obj) {
function _interopRequireDefault (line 93915) | function _interopRequireDefault(obj) {
class RequestManager (line 93931) | class RequestManager {
method constructor (line 93932) | constructor(reporter) {
method setOptions (line 93951) | setOptions(opts) {
method _getRequestModule (line 94031) | _getRequestModule() {
method request (line 94052) | request(params) {
method clearCache (line 94095) | clearCache() {
method isPossibleOfflineError (line 94106) | isPossibleOfflineError(err) {
method queueForRetry (line 94151) | queueForRetry(opts) {
method initOfflineRetry (line 94199) | initOfflineRetry() {
method execute (line 94235) | execute(opts) {
method shiftQueue (line 94463) | shiftQueue() {
method saveHar (line 94474) | saveHar(filename) {
function F (line 94807) | function F(S, x8, i) {
function stream2word (line 94841) | function stream2word(data, databytes) {
function bcrypt_hash (line 94926) | function bcrypt_hash(sha2pass, sha2salt, out) {
function bcrypt_pbkdf (line 94954) | function bcrypt_pbkdf(pass, passlen, salt, saltlen, key, keylen, rounds) {
function codeRegex (line 95109) | function codeRegex(capture) {
function strlen (line 95115) | function strlen(str) {
function repeat (line 95124) | function repeat(str, times) {
function pad (line 95128) | function pad(str, len, pad, dir) {
function addToCodeCache (line 95153) | function addToCodeCache(name, on, off) {
function updateState (line 95168) | function updateState(state, controlChars) {
function readState (line 95201) | function readState(line) {
function unwindState (line 95212) | function unwindState(state, ret) {
function rewindState (line 95235) | function rewindState(state, ret) {
function truncateWidth (line 95258) | function truncateWidth(str, desiredLength) {
function truncateWidthWithAnsi (line 95270) | function truncateWidthWithAnsi(str, desiredLength) {
function truncate (line 95301) | function truncate(str, desiredLength, truncateChar) {
function defaultOptions (line 95314) | function defaultOptions() {
function mergeOptions (line 95349) | function mergeOptions(options, defaults) {
function wordWrap (line 95358) | function wordWrap(maxLength, input) {
function multiLineWordWrap (line 95388) | function multiLineWordWrap(maxLength, input) {
function colorizeLines (line 95397) | function colorizeLines(input) {
function createPromise (line 95450) | function createPromise() {
function co (line 95464) | function co(gen) {
function toPromise (line 95543) | function toPromise(obj) {
function thunkToPromise (line 95562) | function thunkToPromise(fn) {
function arrayToPromise (line 95582) | function arrayToPromise(obj) {
function objectToPromise (line 95595) | function objectToPromise(obj) {
function isPromise (line 95628) | function isPromise(obj) {
function isGenerator (line 95640) | function isGenerator(obj) {
function isGeneratorFunction (line 95651) | function isGeneratorFunction(obj) {
function isObject (line 95670) | function isObject(val) {
function comparativeDistance (line 95849) | function comparativeDistance(x, y) {
function CombinedStream (line 96605) | function CombinedStream() {
function unstupid (line 97074) | function unstupid(hex, len) {
function clone (line 97220) | function clone(obj) {
function noop (line 97248) | function noop() {}
function patch (line 97295) | function patch(fs) {
function enqueue (line 97484) | function enqueue(elem) {
function retry (line 97489) | function retry() {
function SchemaObject (line 97507) | function SchemaObject(obj) {
function $shouldUseGroup (line 98862) | function $shouldUseGroup($rulesGroup) {
function $shouldUseRule (line 98868) | function $shouldUseRule($rule) {
function $ruleImplementsSomeKeyword (line 98875) | function $ruleImplementsSomeKeyword($rule) {
class InputPrompt (line 98898) | class InputPrompt extends Base {
method _run (line 98905) | _run(cb) {
method render (line 98931) | render(error) {
method filterInput (line 98961) | filterInput(input) {
method onEnd (line 98968) | onEnd(state) {
method onError (line 98979) | onError(state) {
method onKeypress (line 98987) | onKeypress() {
class UI (line 99013) | class UI {
method constructor (line 99014) | constructor(opt) {
method onForceClose (line 99036) | onForceClose() {
method close (line 99046) | close() {
function setupReadlineOptions (line 99067) | function setupReadlineOptions(opt) {
function isStream (line 99950) | function isStream(obj) {
function isReadable (line 99954) | function isReadable(obj) {
function isWritable (line 99962) | function isWritable(obj) {
function isDuplex (line 99970) | function isDuplex(obj) {
function charset (line 100030) | function charset(type) {
function contentType (line 100058) | function contentType(str) {
function extension (line 100086) | function extension(type) {
function lookup (line 100111) | function lookup(path) {
function populateMaps (line 100133) | function populateMaps(extensions, types) {
function MuteStream (line 100183) | function MuteStream(opts) {
function onPipe (line 100220) | function onPipe(src) {
function getIsTTY (line 100231) | function getIsTTY() {
function setIsTTY (line 100240) | function setIsTTY(isTTY) {
function proxy (line 100325) | function proxy(fn) {
function testParameter (line 100370) | function testParameter(name, filters) {
function _uint8ArrayToBuffer (line 100851) | function _uint8ArrayToBuffer(chunk) {
function _isUint8Array (line 100854) | function _isUint8Array(obj) {
function prependListener (line 100883) | function prependListener(emitter, event, fn) {
function ReadableState (line 100899) | function ReadableState(options, stream) {
function Readable (line 100981) | function Readable(options) {
function readableAddChunk (line 101057) | function readableAddChunk(
function addChunk (line 101110) | function addChunk(stream, state, chunk, addToFront) {
function chunkInvalid (line 101125) | function chunkInvalid(state, chunk) {
function needMoreData (line 101145) | function needMoreData(state) {
function computeNewHighWaterMark (line 101169) | function computeNewHighWaterMark(n) {
function howMuchToRead (line 101188) | function howMuchToRead(n, state) {
function onEofChunk (line 101316) | function onEofChunk(stream, state) {
function emitReadable (line 101334) | function emitReadable(stream) {
function emitReadable_ (line 101345) | function emitReadable_(stream) {
function maybeReadMore (line 101357) | function maybeReadMore(stream, state) {
function maybeReadMore_ (line 101364) | function maybeReadMore_(stream, state) {
function onunpipe (line 101418) | function onunpipe(readable, unpipeInfo) {
function onend (line 101428) | function onend() {
function cleanup (line 101441) | function cleanup() {
function ondata (line 101473) | function ondata(chunk) {
function onerror (line 101500) | function onerror(er) {
function onclose (line 101511) | function onclose() {
function onfinish (line 101516) | function onfinish() {
function unpipe (line 101523) | function unpipe() {
function pipeOnDrain (line 101540) | function pipeOnDrain(src) {
function nReadingNextTick (line 101628) | function nReadingNextTick(self) {
function resume (line 101645) | function resume(stream, state) {
function resume_ (line 101652) | function resume_(stream, state) {
function flow (line 101675) | function flow(stream) {
function fromList (line 101763) | function fromList(n, state) {
function fromListPartial (line 101786) | function fromListPartial(n, list, hasStrings) {
function copyFromBufferString (line 101808) | function copyFromBufferString(n, list) {
function copyFromBuffer (line 101839) | function copyFromBuffer(n, list) {
function endReadable (line 101867) | function endReadable(stream) {
function endReadableNT (line 101881) | function endReadableNT(state, stream) {
function indexOf (line 101890) | function indexOf(xs, x) {
function afterTransform (line 101976) | function afterTransform(er, data) {
function Transform (line 102005) | function Transform(options) {
function prefinish (line 102038) | function prefinish() {
function done (line 102110) | function done(stream, er, data) {
function WriteReq (line 102166) | function WriteReq(chunk, encoding, cb) {
function CorkedRequest (line 102175) | function CorkedRequest(state) {
function _uint8ArrayToBuffer (line 102219) | function _uint8ArrayToBuffer(chunk) {
function _isUint8Array (line 102222) | function _isUint8Array(obj) {
function nop (line 102232) | function nop() {}
function WritableState (line 102234) | function WritableState(options, stream) {
function Writable (line 102397) | function Writable(options) {
function writeAfterEnd (line 102439) | function writeAfterEnd(stream, cb) {
function validChunk (line 102449) | function validChunk(stream, state, chunk, cb) {
function decodeChunk (line 102548) | function decodeChunk(state, chunk, encoding) {
function writeOrBuffer (line 102572) | function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
function doWrite (line 102611) | function doWrite(stream, state, writev, len, chunk, encoding, cb) {
function onwriteError (line 102621) | function onwriteError(stream, state, sync, er, cb) {
function onwriteStateUpdate (line 102645) | function onwriteStateUpdate(state) {
function onwrite (line 102652) | function onwrite(stream, er) {
function afterWrite (line 102683) | function afterWrite(stream, state, finished, cb) {
function onwriteDrain (line 102693) | function onwriteDrain(stream, state) {
function clearBuffer (line 102701) | function clearBuffer(stream, state) {
function needFinish (line 102792) | function needFinish(state) {
function callFinal (line 102801) | function callFinal(stream, state) {
function prefinish (line 102812) | function prefinish(stream, state) {
function finishMaybe (line 102825) | function finishMaybe(stream, state) {
function endWritable (line 102837) | function endWritable(stream, state, cb) {
function onCorkedFinish (line 102848) | function onCorkedFinish(corkReq, state, err) {
function destroy (line 102903) | function destroy(err, cb) {
function undestroy (line 102949) | function undestroy() {
function emitErrorNT (line 102966) | function emitErrorNT(self, err) {
function RequestJar (line 103025) | function RequestJar(store) {
function pathMatch (line 103086) | function pathMatch(reqPath, cookiePath) {
function permuteDomain (line 103153) | function permuteDomain(domain) {
function Store (line 111768) | function Store() {}
function BehaviorSubject (line 111901) | function BehaviorSubject(_value) {
function Scheduler (line 111991) | function Scheduler(SchedulerAction, now) {
function SubjectSubscription (line 112035) | function SubjectSubscription(subject, subscriber) {
function ConnectableObservable (line 112106) | function ConnectableObservable(source, subjectFactory) {
function ConnectableSubscriber (line 112176) | function ConnectableSubscriber(destination, connectable) {
function RefCountOperator (line 112206) | function RefCountOperator(connectable) {
function RefCountSubscriber (line 112226) | function RefCountSubscriber(destination, connectable) {
function merge (line 112278) | function merge() {
function never (line 112343) | function never() {
function race (line 112368) | function race() {
function RaceOperator (line 112391) | function RaceOperator() {}
function RaceSubscriber (line 112403) | function RaceSubscriber(destination) {
function timer (line 112479) | function timer(dueTime, periodOrScheduler, scheduler) {
function dispatch (line 112525) | function dispatch(state) {
function audit (line 112558) | function audit(durationSelector) {
function AuditOperator (line 112564) | function AuditOperator(durationSelector) {
function AuditSubscriber (line 112579) | function AuditSubscriber(destination, durationSelector) {
function concatAll (line 112662) | function concatAll() {
function concatMap (line 112679) | function concatMap(project, resultSelector) {
function distinctUntilChanged (line 112703) | function distinctUntilChanged(compare, keySelector) {
function DistinctUntilChangedOperator (line 112711) | function DistinctUntilChangedOperator(compare, keySelector) {
function DistinctUntilChangedSubscriber (line 112734) | function DistinctUntilCh
Condensed preview — 186 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (7,393K chars).
[
{
"path": ".eslintrc.json",
"chars": 388,
"preview": "{\n \"extends\": [\n \"next/core-web-vitals\",\n \"plugin:@typescript-eslint/recommended\",\n \"prettier\"\n ],\n \"parser\""
},
{
"path": ".github/CODE_OF_CONDUCT.md",
"chars": 59,
"preview": "# Community Code of Conduct\n\nBe nice to each other please.\n"
},
{
"path": ".github/PULL_REQUEST_TEMPLATE.md",
"chars": 500,
"preview": "## Pull Request Checklist\n\n- [ ] I have run `yarn build` to ensure that the project builds successfully.\n- [ ] I have up"
},
{
"path": ".github/SECURITY.md",
"chars": 58,
"preview": "# Security Policy\n\nIf you find something, raise an issue.\n"
},
{
"path": ".gitignore",
"chars": 719,
"preview": "# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n\n# dependencies\n/node_modules\n/.pn"
},
{
"path": ".prettierignore",
"chars": 8,
"preview": "messages"
},
{
"path": ".vscode/extensions.json",
"chars": 52,
"preview": "{\n \"recommendations\": [\"esbenp.prettier-vscode\"]\n}\n"
},
{
"path": ".vscode/settings.json",
"chars": 293,
"preview": "{\n \"typescript.tsdk\": \"node_modules/typescript/lib\",\n \"typescript.format.enable\": false,\n \"[typescriptreact]\": {\n "
},
{
"path": ".yarn/releases/yarn-1.22.21.cjs",
"chars": 6364213,
"preview": "#!/usr/bin/env node\nmodule.exports = /******/ (function (modules) {\n // webpackBootstrap\n /******/ // The module cache"
},
{
"path": ".yarnrc",
"chars": 130,
"preview": "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n# yarn lockfile v1\n\n\nyarn-path \".yarn/releases/yarn-1.2"
},
{
"path": "CHANGELOG.md",
"chars": 6930,
"preview": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Change"
},
{
"path": "CONTRIBUTING.md",
"chars": 2004,
"preview": "# Contribution guidelines\n\nWe're thrilled that you'd like to contribute. Your help is essential for making Pattern Proje"
},
{
"path": "LICENSE",
"chars": 1074,
"preview": "MIT License\n\nCopyright (c) 2024 Courtney Pattison\n\nPermission is hereby granted, free of charge, to any person obtaining"
},
{
"path": "README.md",
"chars": 2993,
"preview": "# Welcome to Pattern Projector!\n\nPattern projector is a free and open source web app that helps users quickly calibrate "
},
{
"path": "app/[locale]/calibrate/page.tsx",
"chars": 30156,
"preview": "\"use client\";\n\nimport { Matrix, inverse } from \"ml-matrix\";\nimport React, {\n ChangeEvent,\n useCallback,\n useEffect,\n "
},
{
"path": "app/[locale]/globals.css",
"chars": 618,
"preview": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@layer components {\n .scrollbar::-webkit-scrollbar {\n wi"
},
{
"path": "app/[locale]/layout.tsx",
"chars": 1905,
"preview": "import \"./globals.css\";\n\nimport { NextIntlClientProvider, useMessages } from \"next-intl\";\nimport { Inter } from \"next/fo"
},
{
"path": "app/[locale]/loading.tsx",
"chars": 1486,
"preview": "export default function Loading() {\n return (\n <div role=\"status\" className=\"flex h-screen\">\n <svg\n aria"
},
{
"path": "app/[locale]/page.tsx",
"chars": 16807,
"preview": "\"use client\";\n\nimport dynamic from \"next/dynamic\";\nimport { useMessages, useTranslations } from \"next-intl\";\n\nimport Ful"
},
{
"path": "app/_components/buttons/button.tsx",
"chars": 853,
"preview": "import { ButtonColor, getColorClasses } from \"@/_components/theme/colors\";\nimport { ButtonStyle, getButtonStyleClasses }"
},
{
"path": "app/_components/buttons/dropdown-checkbox-icon-button.tsx",
"chars": 3784,
"preview": "import React, { useState, useRef } from \"react\";\nimport { IconButton } from \"@/_components/buttons/icon-button\";\nimport "
},
{
"path": "app/_components/buttons/dropdown-icon-button.tsx",
"chars": 2860,
"preview": "import React, { useRef, useState } from \"react\";\nimport { IconButton } from \"@/_components/buttons/icon-button\";\nimport "
},
{
"path": "app/_components/buttons/icon-button.tsx",
"chars": 1903,
"preview": "import { IconButtonStateClass } from \"@/_components/theme/colors\";\nimport { MouseEventHandler, PointerEventHandler } fro"
},
{
"path": "app/_components/buttons/install-button.tsx",
"chars": 4189,
"preview": "import InstallDesktopIcon from \"@/_icons/install-desktop\";\nimport { useTranslations } from \"next-intl\";\nimport React, { "
},
{
"path": "app/_components/canvases/calibration-canvas.tsx",
"chars": 9847,
"preview": "import React, {\n Dispatch,\n SetStateAction,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport {"
},
{
"path": "app/_components/canvases/measure-canvas.tsx",
"chars": 9700,
"preview": "import {\n angleDeg,\n constrained,\n dist,\n distToLine,\n transformLine,\n transformPoint,\n} from \"@/_lib/geometry\";\ni"
},
{
"path": "app/_components/canvases/overlay-canvas.tsx",
"chars": 2496,
"preview": "import React, { useEffect, useRef } from \"react\";\nimport { CanvasState, drawOverlays } from \"@/_lib/drawing\";\nimport { P"
},
{
"path": "app/_components/draggable.tsx",
"chars": 7324,
"preview": "import { Matrix } from \"ml-matrix\";\nimport {\n ReactNode,\n useState,\n useEffect,\n SetStateAction,\n Dispatch,\n} from "
},
{
"path": "app/_components/filters.tsx",
"chars": 401,
"preview": "export default function Filters() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\">\n <filter id=\"erode-1\">\n"
},
{
"path": "app/_components/header.tsx",
"chars": 21535,
"preview": "import { useTranslations } from \"next-intl\";\nimport {\n ChangeEvent,\n Dispatch,\n SetStateAction,\n useEffect,\n useMem"
},
{
"path": "app/_components/inline-input.tsx",
"chars": 1892,
"preview": "import { ChangeEvent, ReactElement } from \"react\";\n\n/**\n * Controlled labelled text input\n * @param handleChange - Funct"
},
{
"path": "app/_components/inline-select.tsx",
"chars": 1459,
"preview": "import { ChangeEvent } from \"react\";\nimport { SelectOption } from \"@/_lib/interfaces/select-option\";\n\n/**\n * Controlled "
},
{
"path": "app/_components/input.tsx",
"chars": 1710,
"preview": "import { ChangeEvent, LegacyRef, ReactElement } from \"react\";\n\n/**\n * Controlled labelled text input\n * @param handleCha"
},
{
"path": "app/_components/labelled-input.tsx",
"chars": 1220,
"preview": "import { ChangeEvent } from \"react\";\n\n/**\n * Controlled labelled text input\n * @param handleChange - Function that handl"
},
{
"path": "app/_components/language-switcher.tsx",
"chars": 909,
"preview": "\"use client\";\n\nimport { useRouter, usePathname } from \"next/navigation\";\nimport { DropdownIconButton } from \"./buttons/d"
},
{
"path": "app/_components/mail-modal.tsx",
"chars": 7452,
"preview": "import { useTranslations } from \"next-intl\";\nimport Modal from \"./modal/modal\";\nimport { ModalTitle } from \"./modal/moda"
},
{
"path": "app/_components/menus/layer-menu.tsx",
"chars": 2370,
"preview": "import { Dispatch } from \"react\";\nimport { useTranslations } from \"next-intl\";\nimport { Layers } from \"@/_lib/layers\";\ni"
},
{
"path": "app/_components/menus/line-menu.tsx",
"chars": 4582,
"preview": "import { useTranslations } from \"next-intl\";\nimport { IconButton } from \"@/_components/buttons/icon-button\";\nimport Rota"
},
{
"path": "app/_components/menus/scale-menu.tsx",
"chars": 1041,
"preview": "import StepperInput from \"@/_components/stepper-input\";\nimport { Dispatch } from \"react\";\nimport removeNonDigits from \"@"
},
{
"path": "app/_components/menus/side-menu.tsx",
"chars": 4641,
"preview": "import {\n MenuStates,\n SideMenuType,\n toggleSideMenuStates,\n} from \"@/_lib/menu-states\";\nimport Tooltip from \"@/_comp"
},
{
"path": "app/_components/menus/stitch-menu.tsx",
"chars": 5049,
"preview": "import { ChangeEvent, Dispatch } from \"react\";\nimport { useTranslations } from \"next-intl\";\nimport StepperInput from \"@/"
},
{
"path": "app/_components/modal/modal-actions.tsx",
"chars": 195,
"preview": "export function ModalActions({ children }: { children: any }) {\n return (\n <div className=\"bg-gray-50 gap-2 px-4 py-"
},
{
"path": "app/_components/modal/modal-content.tsx",
"chars": 168,
"preview": "export default function ModalContent({ children }: { children?: any }) {\n return (\n <div className=\"bg-white px-4 pb"
},
{
"path": "app/_components/modal/modal-figure.tsx",
"chars": 439,
"preview": "import Image from \"next/image\";\n\nexport default function ModalFigure({\n src,\n caption,\n}: {\n src: string;\n caption: "
},
{
"path": "app/_components/modal/modal-list.tsx",
"chars": 187,
"preview": "export function ModalList({ children }: { children?: any }) {\n return (\n <ul className=\"list-disc list-inside text-s"
},
{
"path": "app/_components/modal/modal-subtitle.tsx",
"chars": 189,
"preview": "export function ModalSubtitle({ children }: { children?: any }) {\n return (\n <h4 className=\"px-4 pt-4 font-semibold "
},
{
"path": "app/_components/modal/modal-text.tsx",
"chars": 186,
"preview": "export function ModalText({ children }: { children?: any }) {\n return (\n <div className=\"mt-2 px-4 pb-4\">\n <p c"
},
{
"path": "app/_components/modal/modal-title.tsx",
"chars": 221,
"preview": "export function ModalTitle({ children }: { children?: any }) {\n return (\n <h3\n className=\"px-4 pt-4 text-base f"
},
{
"path": "app/_components/modal/modal.tsx",
"chars": 1015,
"preview": "export default function Modal({\n open,\n children,\n}: {\n open: boolean;\n children?: any;\n}) {\n const windowClass = o"
},
{
"path": "app/_components/movement-pad.tsx",
"chars": 4355,
"preview": "import { Direction } from \"@/_lib/direction\";\nimport { useTranslations } from \"next-intl\";\nimport React, { Dispatch } fr"
},
{
"path": "app/_components/pdf-custom-renderer.tsx",
"chars": 5597,
"preview": "import { useEffect, useMemo, useRef } from \"react\";\nimport invariant from \"tiny-invariant\";\nimport { usePageContext, use"
},
{
"path": "app/_components/pdf-error-modal.tsx",
"chars": 1978,
"preview": "import Modal from \"@/_components/modal/modal\";\nimport { ModalTitle } from \"@/_components/modal/modal-title\";\nimport { Mo"
},
{
"path": "app/_components/pdf-viewer.tsx",
"chars": 8424,
"preview": "import \"react-pdf/dist/esm/Page/AnnotationLayer.css\";\nimport \"react-pdf/dist/esm/Page/TextLayer.css\";\n\nimport {\n Dispat"
},
{
"path": "app/_components/save-button.tsx",
"chars": 1777,
"preview": "import { StitchSettings } from \"@/_lib/interfaces/stitch-settings\";\nimport { savePDF } from \"@/_lib/pdfstitcher\";\nimport"
},
{
"path": "app/_components/stepper-input.tsx",
"chars": 3101,
"preview": "import { ChangeEvent, ReactElement, useState } from \"react\";\nimport StepDownIcon from \"@/_icons/step-down-icon\";\nimport "
},
{
"path": "app/_components/svg-viewer.tsx",
"chars": 3689,
"preview": "import { Layers } from \"@/_lib/layers\";\nimport { LoadStatusEnum } from \"@/_lib/load-status-enum\";\nimport { MenuStates, g"
},
{
"path": "app/_components/theme/colors.ts",
"chars": 1711,
"preview": "import { ButtonStyle } from \"./styles\";\n\nexport enum ButtonColor {\n BLUE = \"blue\",\n GRAY = \"gray\",\n PURPLE = \"purple\""
},
{
"path": "app/_components/theme/css-functions.ts",
"chars": 97,
"preview": "function visible(b: boolean): string {\n return b ? \"visible\" : \"hidden\";\n}\n\nexport { visible };\n"
},
{
"path": "app/_components/theme/styles.ts",
"chars": 633,
"preview": "export enum ButtonStyle {\n OUTLINE = \"outline\",\n FILLED = \"filled\",\n}\n\nexport function getButtonStyleClasses(style: Bu"
},
{
"path": "app/_components/tooltip/tooltip.tsx",
"chars": 1282,
"preview": "import React, { ReactElement } from \"react\";\n\nexport default function Tooltip({\n children,\n className,\n description,\n"
},
{
"path": "app/_components/troubleshooting-button.tsx",
"chars": 2486,
"preview": "import { useTranslations } from \"next-intl\";\nimport Modal from \"./modal/modal\";\nimport { ModalTitle } from \"./modal/moda"
},
{
"path": "app/_hooks/use-key-down.ts",
"chars": 863,
"preview": "import { useCallback, useEffect } from \"react\";\nimport { KeyCode } from \"@/_lib/key-code\";\n\nexport const useKeyDown = (\n"
},
{
"path": "app/_hooks/use-key-up.ts",
"chars": 583,
"preview": "import { useCallback, useEffect } from \"react\";\nimport { KeyCode } from \"@/_lib/key-code\";\n\nexport const useKeyUp = (cal"
},
{
"path": "app/_hooks/use-layers.ts",
"chars": 2425,
"preview": "import { Layers } from \"@/_lib/layers\";\nimport layersReducer, { LayerAction } from \"@/_reducers/layersReducer\";\nimport {"
},
{
"path": "app/_hooks/use-on-click-outside.ts",
"chars": 791,
"preview": "import { RefObject, useEffect, useRef } from \"react\";\n\nexport default function useOnClickOutside(\n containerRef: RefObj"
},
{
"path": "app/_hooks/use-prog-arrow-key-handler.ts",
"chars": 1796,
"preview": "import { KeyCode } from \"@/_lib/key-code\";\nimport { useCallback, useEffect, useState } from \"react\";\n\nconst PIXEL_LIST ="
},
{
"path": "app/_hooks/use-prog-arrow-key-points.ts",
"chars": 1287,
"preview": "import useProgArrowKeyHandler from \"@/_hooks/use-prog-arrow-key-handler\";\nimport { getCalibrationContext } from \"@/_lib/"
},
{
"path": "app/_hooks/use-prog-arrow-key-to-matrix.ts",
"chars": 991,
"preview": "import useProgArrowKeyHandler from \"@/_hooks/use-prog-arrow-key-handler\";\nimport { Point } from \"@/_lib/point\";\nimport {"
},
{
"path": "app/_hooks/use-render-context.ts",
"chars": 530,
"preview": "import { useContext } from \"react\";\nimport { createContext } from \"react\";\nimport { Layers } from \"@/_lib/layers\";\n\nexpo"
},
{
"path": "app/_hooks/use-transform-context.tsx",
"chars": 3861,
"preview": "import debounce from \"@/_lib/debounce\";\nimport { Line } from \"@/_lib/interfaces/line\";\nimport { Point } from \"@/_lib/poi"
},
{
"path": "app/_icons/add-box-icon.tsx",
"chars": 588,
"preview": "export default function AddBoxIcon({\n ariaLabel,\n className,\n}: {\n ariaLabel: string;\n className?: string;\n}) {\n re"
},
{
"path": "app/_icons/add-to-home-screen-icon.tsx",
"chars": 659,
"preview": "export default function AddToHomeScreenIcon({\n ariaLabel,\n className,\n}: {\n ariaLabel: string;\n className?: string;\n"
},
{
"path": "app/_icons/check-icon.tsx",
"chars": 353,
"preview": "export default function CheckIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLabe"
},
{
"path": "app/_icons/close-icon.tsx",
"chars": 397,
"preview": "export default function CloseIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLabe"
},
{
"path": "app/_icons/cycle-icon.tsx",
"chars": 711,
"preview": "export default function CycleIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLabe"
},
{
"path": "app/_icons/delete-icon.tsx",
"chars": 495,
"preview": "export default function DeleteIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLab"
},
{
"path": "app/_icons/download-icon.tsx",
"chars": 460,
"preview": "export default function DownloadIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaL"
},
{
"path": "app/_icons/expand-less-icon.tsx",
"chars": 358,
"preview": "export default function ExpandLessIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ari"
},
{
"path": "app/_icons/expand-more-icon.tsx",
"chars": 358,
"preview": "export default function ExpandMoreIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ari"
},
{
"path": "app/_icons/flex-wrap-icon.tsx",
"chars": 519,
"preview": "export default function FlexWrapIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www"
},
{
"path": "app/_icons/flip-center-off-icon.tsx",
"chars": 456,
"preview": "export default function FlipCenterOffIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-l"
},
{
"path": "app/_icons/flip-center-on-icon.tsx",
"chars": 521,
"preview": "export default function FlipCenterOnIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={a"
},
{
"path": "app/_icons/flip-horizontal-icon.tsx",
"chars": 754,
"preview": "export default function FlipHorizontalIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-"
},
{
"path": "app/_icons/flip-vertical-icon.tsx",
"chars": 600,
"preview": "export default function FlipVerticalIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={a"
},
{
"path": "app/_icons/flipped-pattern-icon.tsx",
"chars": 500,
"preview": "export default function FlippedPatternIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-"
},
{
"path": "app/_icons/full-screen-exit-icon.tsx",
"chars": 442,
"preview": "export default function FullSceenExitIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-l"
},
{
"path": "app/_icons/full-screen-icon.tsx",
"chars": 433,
"preview": "export default function FullScreenIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ari"
},
{
"path": "app/_icons/github-icon.tsx",
"chars": 1441,
"preview": "export default function GithubIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLab"
},
{
"path": "app/_icons/grid-off-icon.tsx",
"chars": 653,
"preview": "export default function GridOffIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLa"
},
{
"path": "app/_icons/grid-on-icon.tsx",
"chars": 639,
"preview": "export default function GridOnIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLab"
},
{
"path": "app/_icons/info-icon.tsx",
"chars": 709,
"preview": "export default function InfoIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLabel"
},
{
"path": "app/_icons/install-desktop-icon.tsx",
"chars": 517,
"preview": "export default function InstallDesktopIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-"
},
{
"path": "app/_icons/install-desktop.tsx",
"chars": 517,
"preview": "export default function InstallDesktopIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n xmlns"
},
{
"path": "app/_icons/invert-color-icon.tsx",
"chars": 527,
"preview": "export default function InvertColorIcon({\n ariaLabel,\n fill = \"currentColor\",\n}: {\n ariaLabel: string;\n fill?: strin"
},
{
"path": "app/_icons/invert-color-off-icon.tsx",
"chars": 622,
"preview": "export default function InvertColorOffIcon({\n ariaLabel,\n fill,\n}: {\n ariaLabel: string;\n fill?: string;\n}) {\n retu"
},
{
"path": "app/_icons/ios-share-icon.tsx",
"chars": 587,
"preview": "export default function IosShareIcon({\n ariaLabel,\n className,\n}: {\n ariaLabel: string;\n className: string;\n}) {\n r"
},
{
"path": "app/_icons/keyboard-arrow-down.tsx",
"chars": 371,
"preview": "export default function KeyboardArrowDownIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n ar"
},
{
"path": "app/_icons/keyboard-arrow-left.tsx",
"chars": 371,
"preview": "export default function KeyboardArrowLeftIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n ar"
},
{
"path": "app/_icons/keyboard-arrow-right.tsx",
"chars": 372,
"preview": "export default function KeyboardArrowRightIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n a"
},
{
"path": "app/_icons/keyboard-arrow-up.tsx",
"chars": 370,
"preview": "export default function KeyboardArrowUpIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria"
},
{
"path": "app/_icons/language-icon.tsx",
"chars": 1158,
"preview": "export default function LanguageIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www"
},
{
"path": "app/_icons/layers-icon.tsx",
"chars": 479,
"preview": "export default function LayersIcon({\n fill = \"currentColor\",\n ariaLabel,\n}: {\n fill?: string;\n ariaLabel: string;\n})"
},
{
"path": "app/_icons/layers-off-icon.tsx",
"chars": 557,
"preview": "export default function LayersOffIcon({\n fill = \"currentColor\",\n ariaLabel,\n}: {\n fill?: string;\n ariaLabel: string;"
},
{
"path": "app/_icons/line-weight-icon.tsx",
"chars": 399,
"preview": "export default function LineWeightIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ari"
},
{
"path": "app/_icons/loading-spinner.tsx",
"chars": 1516,
"preview": "export default function LoadingSpinner({\n height,\n width,\n className,\n}: {\n height?: number;\n width?: number;\n cla"
},
{
"path": "app/_icons/mail-icon.tsx",
"chars": 506,
"preview": "export default function MailIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www.w3."
},
{
"path": "app/_icons/mark-and-measure-icon.tsx",
"chars": 688,
"preview": "export default function MarkAndMeasureIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-"
},
{
"path": "app/_icons/more-vert-icon.tsx",
"chars": 678,
"preview": "export default function MoreVertIcon({\n ariaLabel,\n className,\n}: {\n ariaLabel: string;\n className?: string;\n}) {\n "
},
{
"path": "app/_icons/move-icon.tsx",
"chars": 540,
"preview": "export default function MoveIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLabel"
},
{
"path": "app/_icons/overlay-border-icon.tsx",
"chars": 470,
"preview": "export default function OverlayBorderIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n aria-l"
},
{
"path": "app/_icons/overlay-paper-icon.tsx",
"chars": 713,
"preview": "export default function OverlayPaperIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={a"
},
{
"path": "app/_icons/pattern-projector-icon.tsx",
"chars": 3848,
"preview": "export default function PatternProjectorIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n ari"
},
{
"path": "app/_icons/pdf-icon.tsx",
"chars": 520,
"preview": "export default function PdfIcon({\n ariaLabel,\n fill,\n}: {\n ariaLabel: string;\n fill: string;\n}) {\n return (\n <sv"
},
{
"path": "app/_icons/recenter-icon.tsx",
"chars": 646,
"preview": "export default function RecenterIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaL"
},
{
"path": "app/_icons/rotate-90-degrees-cw-icon.tsx",
"chars": 628,
"preview": "export default function Rotate90DegreesCWIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n ar"
},
{
"path": "app/_icons/rotate-to-horizontal.tsx",
"chars": 652,
"preview": "export default function RotateToHorizontalIcon({\n ariaLabel,\n}: {\n ariaLabel: string;\n}) {\n return (\n <svg\n a"
},
{
"path": "app/_icons/shift-icon.tsx",
"chars": 366,
"preview": "export default function ShiftIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www.w3"
},
{
"path": "app/_icons/step-down-icon.tsx",
"chars": 331,
"preview": "export default function StepDownIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www"
},
{
"path": "app/_icons/step-up-icon.tsx",
"chars": 362,
"preview": "export default function StepUpIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www.w"
},
{
"path": "app/_icons/tune-icon.tsx",
"chars": 490,
"preview": "export default function TuneIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www.w3."
},
{
"path": "app/_icons/warning-icon.tsx",
"chars": 491,
"preview": "export default function WarningIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLa"
},
{
"path": "app/_icons/zoom-in-icon.tsx",
"chars": 606,
"preview": "export default function ZoomInIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n xmlns=\"http://www.w"
},
{
"path": "app/_icons/zoom-out-icon.tsx",
"chars": 487,
"preview": "export default function ZoomOutIcon({ ariaLabel }: { ariaLabel: string }) {\n return (\n <svg\n aria-label={ariaLa"
},
{
"path": "app/_lib/calibration-context.ts",
"chars": 4506,
"preview": "export default interface CalibrationContext {\n windowInnerWidth: number;\n windowInnerHeight: number;\n windowScreenTop"
},
{
"path": "app/_lib/debounce.ts",
"chars": 301,
"preview": "export default function debounce<T extends Function>(\n fn: T,\n waitMilliseconds: number,\n) {\n let timeoutId: ReturnTy"
},
{
"path": "app/_lib/direction.ts",
"chars": 92,
"preview": "export enum Direction {\n Up = \"Up\",\n Down = \"Down\",\n Left = \"Left\",\n Right = \"Right\",\n}\n"
},
{
"path": "app/_lib/display-settings.ts",
"chars": 1371,
"preview": "export interface OverlaySettings {\n disabled: boolean;\n grid: boolean;\n border: boolean;\n paper: boolean;\n flipLine"
},
{
"path": "app/_lib/drawing.ts",
"chars": 9474,
"preview": "import { CM } from \"@/_lib/unit\";\nimport Matrix from \"ml-matrix\";\nimport { Point } from \"@/_lib/point\";\nimport {\n Displ"
},
{
"path": "app/_lib/erode.ts",
"chars": 1492,
"preview": "export function erosionFilter(erosions: number): string {\n if (erosions <= 0) {\n return \"none\";\n }\n const result ="
},
{
"path": "app/_lib/full-screen.ts",
"chars": 405,
"preview": "import { FullScreenHandle } from \"react-full-screen\";\n\n// Type error in react-full-screen so need to wrap in a try-catch"
},
{
"path": "app/_lib/geometry.spec.ts",
"chars": 1828,
"preview": "import { getPerspectiveTransform, toMatrix3d } from \"@/_lib/geometry\";\n\n// opencv-python input and output\n// >>> import "
},
{
"path": "app/_lib/geometry.ts",
"chars": 13036,
"preview": "/*M///////////////////////////////////////////////////////////////////////////////////////\n//\n// IMPORTANT: READ BEFORE"
},
{
"path": "app/_lib/get-page-numbers.ts",
"chars": 2879,
"preview": "import { LineDirection } from \"./interfaces/stitch-settings\";\n\nexport function getPageNumbers(pageRange: string, pageCou"
},
{
"path": "app/_lib/interfaces/edge-insets.ts",
"chars": 74,
"preview": "export interface EdgeInsets {\n horizontal: number;\n vertical: number;\n}\n"
},
{
"path": "app/_lib/interfaces/layer.ts",
"chars": 80,
"preview": "export interface Layer {\n name: string;\n ids: string[];\n visible: boolean;\n}\n"
},
{
"path": "app/_lib/interfaces/line.ts",
"chars": 70,
"preview": "import { Point } from \"../point\";\n\nexport type Line = [Point, Point];\n"
},
{
"path": "app/_lib/interfaces/select-option.ts",
"chars": 68,
"preview": "export interface SelectOption {\n label: string;\n value: string;\n}\n"
},
{
"path": "app/_lib/interfaces/stitch-settings.ts",
"chars": 263,
"preview": "import { EdgeInsets } from \"./edge-insets\";\n\nexport enum LineDirection {\n Row = \"Row\",\n Column = \"Column\",\n}\n\nexport i"
},
{
"path": "app/_lib/is-valid-file.ts",
"chars": 795,
"preview": "export const acceptedMimeTypes = [\n \"image/svg+xml\",\n \"application/pdf\",\n \"application/xml\", // Drive classifies Inks"
},
{
"path": "app/_lib/key-code.ts",
"chars": 366,
"preview": "export enum KeyCode {\n ArrowUp = \"ArrowUp\",\n ArrowDown = \"ArrowDown\",\n ArrowLeft = \"ArrowLeft\",\n ArrowRight = \"Arrow"
},
{
"path": "app/_lib/layers.ts",
"chars": 739,
"preview": "import type { PDFDocumentProxy } from \"pdfjs-dist\";\nimport { Layer } from \"./interfaces/layer\";\n\nexport type Layers = { "
},
{
"path": "app/_lib/load-status-enum.ts",
"chars": 74,
"preview": "export enum LoadStatusEnum {\n DEFAULT,\n LOADING,\n FAILED,\n SUCCESS,\n}\n"
},
{
"path": "app/_lib/menu-states.ts",
"chars": 1296,
"preview": "import { Layers } from \"./layers\";\n\nexport interface MenuStates {\n nav: boolean;\n layers: boolean;\n stitch: boolean;\n"
},
{
"path": "app/_lib/pdfstitcher.ts",
"chars": 9652,
"preview": "import {\n PDFDocument,\n PDFName,\n PDFRef,\n PDFPageLeaf,\n PDFOperator,\n concatTransformationMatrix,\n pushGraphicsS"
},
{
"path": "app/_lib/pixels-per-inch.ts",
"chars": 157,
"preview": "export const CSS_PIXELS_PER_INCH = 96.0;\nexport const PDF_PIXELS_PER_INCH = 72.0;\nexport const PDF_TO_CSS_UNITS = CSS_PI"
},
{
"path": "app/_lib/point.ts",
"chars": 551,
"preview": "/**\n * The location of a pixel on the screen\n * https://developer.mozilla.org/en-US/docs/Web/CSS/CSSOM_view/Coordinate_s"
},
{
"path": "app/_lib/remove-non-digits.spec.ts",
"chars": 384,
"preview": "import removeNonDigits from \"@/_lib/remove-non-digits\";\n\ntest(\"'abc' -> ''\", () => {\n expect(removeNonDigits(\"abc\")).to"
},
{
"path": "app/_lib/remove-non-digits.ts",
"chars": 595,
"preview": "export default function removeNonDigits(\n newString: string,\n oldString: string,\n): string {\n const num = newString.r"
},
{
"path": "app/_lib/unit.ts",
"chars": 163,
"preview": "export const { CM, IN } = { IN: \"IN\", CM: \"CM\" };\n\nexport function getPtDensity(unitOfMeasure: string): number {\n retur"
},
{
"path": "app/_reducers/layersReducer.ts",
"chars": 1458,
"preview": "import { Layers } from \"@/_lib/layers\";\n\ninterface SetLayersAction {\n type: \"set-layers\";\n layers: Layers;\n}\n\ninterfac"
},
{
"path": "app/_reducers/localTransformReducer.ts",
"chars": 2602,
"preview": "import {\n align,\n move,\n rotateToHorizontal,\n flipAlong,\n flipHorizontal,\n flipVertical,\n rotateMatrixDeg,\n tran"
},
{
"path": "app/_reducers/patternScaleReducer.ts",
"chars": 528,
"preview": "interface DeltaAction {\n type: \"delta\";\n delta: number;\n}\n\ninterface SetAction {\n type: \"set\";\n scale: string;\n}\n\nex"
},
{
"path": "app/_reducers/pointsReducer.ts",
"chars": 834,
"preview": "import { Point, applyOffset } from \"@/_lib/point\";\n\ninterface OffsetAction {\n type: \"offset\";\n offset: Point;\n corner"
},
{
"path": "app/_reducers/stitchSettingsReducer.ts",
"chars": 2690,
"preview": "import { EdgeInsets } from \"@/_lib/interfaces/edge-insets\";\nimport { StitchSettings } from \"@/_lib/interfaces/stitch-set"
},
{
"path": "app/manifest.js",
"chars": 773,
"preview": "export default function manifest() {\n return {\n name: \"Pattern Projector\",\n short_name: \"PatternProjector\",\n s"
},
{
"path": "app/sw.ts",
"chars": 616,
"preview": "import { defaultCache } from \"@serwist/next/browser\";\nimport type { PrecacheEntry } from \"@serwist/precaching\";\nimport {"
},
{
"path": "cypress/fixtures/example.json",
"chars": 155,
"preview": "{\n \"name\": \"Using fixtures to represent data\",\n \"email\": \"hello@cypress.io\",\n \"body\": \"Fixtures are a great way to mo"
},
{
"path": "cypress/support/commands.ts",
"chars": 1315,
"preview": "/// <reference types=\"cypress\" />\n// ***********************************************\n// This example commands.ts shows y"
},
{
"path": "cypress/support/component-index.html",
"chars": 387,
"preview": "<!doctype html>\n<html>\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />"
},
{
"path": "cypress/support/component.ts",
"chars": 1131,
"preview": "// ***********************************************************\n// This example support/component.ts is processed and\n// "
},
{
"path": "cypress.config.ts",
"chars": 170,
"preview": "import { defineConfig } from \"cypress\";\n\nexport default defineConfig({\n component: {\n devServer: {\n framework: "
},
{
"path": "global.d.ts",
"chars": 151,
"preview": "// Use type safe message keys with `next-intl`\ntype Messages = typeof import(\"./messages/en.json\");\ndeclare interface In"
},
{
"path": "i18n.ts",
"chars": 576,
"preview": "import { locales } from \"middleware\";\nimport { getRequestConfig } from \"next-intl/server\";\nimport { notFound } from \"nex"
},
{
"path": "jest.config.ts",
"chars": 6865,
"preview": "/**\n * For a detailed explanation regarding each configuration property, visit:\n * https://jestjs.io/docs/configuration\n"
},
{
"path": "messages/cs.json",
"chars": 19850,
"preview": "{\n \"HomePage\": {\n \"github\": \"Zobrazit zdrojový kód\",\n \"calibrate\": \"Zahájit kalibraci\",\n \"choose"
},
{
"path": "messages/da.json",
"chars": 17666,
"preview": "{\n \"HomePage\": {\n \"beta\": \"beta\",\n \"pdfstitcherHref\": \"https://www.pdfstitcher.org/\",\n \"youTubeS"
},
{
"path": "messages/de.json",
"chars": 14873,
"preview": "{\n \"HomePage\": {\n \"beta\": \"beta\",\n \"pdfstitcherHref\": \"https://www.pdfstitcher.org/\",\n \"youTubeS"
},
{
"path": "messages/en.json",
"chars": 17597,
"preview": "{\n \"HomePage\": {\n \"youTubeSrc\": \"https://www.youtube.com/embed/videoseries?si=80RVInkOM45wCyMB&list=PLz35rzAwtPH"
},
{
"path": "messages/es.json",
"chars": 23199,
"preview": "{\n \"HomePage\": {\n \"beta\": \"beta\",\n \"pdfstitcherHref\": \"https://www.pdfstitcher.org/\",\n \"youTubeS"
},
{
"path": "messages/fr.json",
"chars": 11865,
"preview": "{\n \"HomePage\": {\n \"beta\": \"bêta\",\n \"pdfstitcherHref\": \"https://www.pdfstitcher.org/\",\n \"github\":"
},
{
"path": "messages/hu.json",
"chars": 2168,
"preview": "{\n \"HomePage\": {\n \"youTubeSrc\": \"https://www.youtube.com/embed/videoseries?si=80RVInkOM45wCyMB&list=PLz35r"
},
{
"path": "messages/it.json",
"chars": 21820,
"preview": "{\n \"HomePage\": {\n \"project\": {\n \"moveTool\": {\n \"description\": \"Lo strumento spostame"
},
{
"path": "messages/nb-NO.json",
"chars": 2471,
"preview": "{\n \"HomePage\": {\n \"welcome\": {\n \"description\": \"Pattern projector er en gratis åpen kildekode web a"
},
{
"path": "messages/nl.json",
"chars": 22728,
"preview": "{\n \"HomePage\": {\n \"beta\": \"beta\",\n \"pdfstitcherHref\": \"https://www.pdfstitcher.org/\",\n \"youTubeS"
},
{
"path": "messages/sl.json",
"chars": 20047,
"preview": "{\n \"HomePage\": {\n \"calibration\": {\n \"start\": \"Kliknite na \\\"Začni kalibrirati\\\"\",\n \"drag"
},
{
"path": "messages/sv.json",
"chars": 16224,
"preview": "{\n \"HomePage\": {\n \"choose-language\": \"Språk\",\n \"welcome\": {\n \"title\": \"Välkommen till Patter"
},
{
"path": "messages/ta.json",
"chars": 21662,
"preview": "{\n \"HomePage\": {\n \"youTubeSrc\": \"https://www.youtube.com/embed/videoseries?si=80RVInkOM45wCyMB&list=PLz35r"
},
{
"path": "messages/tr.json",
"chars": 3,
"preview": "{}\n"
},
{
"path": "middleware.ts",
"chars": 1194,
"preview": "import createMiddleware from \"next-intl/middleware\";\n\n// Language names are not translated because we want them to be th"
},
{
"path": "navigation.ts",
"chars": 281,
"preview": "import { locales } from \"middleware\";\nimport { createSharedPathnamesNavigation } from \"next-intl/navigation\";\n\nexport co"
},
{
"path": "next.config.mjs",
"chars": 594,
"preview": "import withSerwistInit from \"@serwist/next\";\nimport createNextIntlPlugin from \"next-intl/plugin\";\n\nconst withSerwist = w"
},
{
"path": "package.json",
"chars": 1844,
"preview": "{\n \"name\": \"pattern-projector\",\n \"version\": \"0.1.0\",\n \"private\": true,\n \"main\": \"index.js\",\n \"repository\": \"git@git"
},
{
"path": "patches/react-pdf+7.7.0.patch",
"chars": 3162,
"preview": "diff --git a/node_modules/react-pdf/dist/cjs/Page/PageCanvas.js b/node_modules/react-pdf/dist/cjs/Page/PageCanvas.js\nind"
},
{
"path": "postcss.config.js",
"chars": 83,
"preview": "module.exports = {\n plugins: {\n tailwindcss: {},\n autoprefixer: {},\n },\n};\n"
},
{
"path": "tailwind.config.ts",
"chars": 403,
"preview": "import type { Config } from \"tailwindcss\";\n\nconst config: Config = {\n darkMode: \"class\",\n content: [\n \"./pages/**/*"
},
{
"path": "tsconfig.json",
"chars": 735,
"preview": "{\n \"compilerOptions\": {\n \"target\": \"es2015\",\n \"lib\": [\"dom\", \"dom.iterable\", \"esnext\", \"webworker\"],\n \"allowJs"
}
]
About this extraction
This page contains the full source code of the Pattern-Projector/pattern-projector GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 186 files (6.6 MB), approximately 1.7M tokens, and a symbol index with 4908 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.