Showing preview only (9,899K chars total). Download the full file or copy to clipboard to get everything.
Repository: crcn/paperclip
Branch: master
Commit: 26fd98144e56
Files: 1132
Total size: 9.1 MB
Directory structure:
gitextract__bqhh5jc/
├── .github/
│ └── workflows/
│ ├── checks.yml
│ ├── documentation.yml
│ └── publish.yml
├── .gitignore
├── .husky/
│ └── pre-commit
├── .prettierignore
├── .vscode/
│ └── launch.json
├── .yarn/
│ ├── plugins/
│ │ └── @yarnpkg/
│ │ └── plugin-workspace-tools.cjs
│ └── releases/
│ └── yarn-1.22.17.cjs
├── .yarnarc
├── .yarnrc.yml
├── LICENSE
├── README.md
├── archive/
│ ├── figma-paperclip/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── figma-paperclip
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── api.ts
│ │ │ ├── cli.ts
│ │ │ ├── constants.ts
│ │ │ ├── index.ts
│ │ │ ├── memo.ts
│ │ │ ├── state.ts
│ │ │ ├── translate-pc.ts
│ │ │ ├── translate-utils.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── gatsby-plugin-paperclip/
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── .npmignore
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── gatsby-node.ts
│ │ │ ├── index.ts
│ │ │ └── resolve.ts
│ │ └── tsconfig.json
│ ├── paperclip-docco/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── brainstorm/
│ │ │ └── ui/
│ │ │ ├── app.pc
│ │ │ ├── colors.pc
│ │ │ ├── test.html
│ │ │ └── typography.pc
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ └── src/
│ │ └── front-end/
│ │ └── index.ts
│ └── paperclip-playground/
│ ├── package.json
│ ├── paperclip.config.json
│ ├── src/
│ │ ├── frontend/
│ │ │ ├── actions/
│ │ │ │ ├── base.ts
│ │ │ │ └── index.ts
│ │ │ ├── api/
│ │ │ │ └── index.ts
│ │ │ ├── components/
│ │ │ │ ├── Button/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Main/
│ │ │ │ │ ├── CodeMode/
│ │ │ │ │ │ ├── Slim.tsx
│ │ │ │ │ │ ├── Toolbar/
│ │ │ │ │ │ │ └── index.pc
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ └── prism.css
│ │ │ │ │ ├── DesignMode/
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── EditableLabel/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── Menu/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── NoBrowserSupportModal/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── PasswordModal/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── ProjectLoadingModal/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── Projects/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── ShareModal/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── Toolbar/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── auth/
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ └── oauth.ts
│ │ │ │ │ ├── index.pc
│ │ │ │ │ ├── index.tsx
│ │ │ │ │ └── test.pc
│ │ │ │ ├── Modal/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ └── Theme/
│ │ │ │ ├── breakpoints.pc
│ │ │ │ └── index.pc
│ │ │ ├── entry.tsx
│ │ │ ├── hocs/
│ │ │ │ └── withAppStore/
│ │ │ │ └── index.tsx
│ │ │ ├── hooks/
│ │ │ │ ├── resources.ts
│ │ │ │ ├── useAppStore/
│ │ │ │ │ └── index.ts
│ │ │ │ └── useQuery.ts
│ │ │ ├── reducers/
│ │ │ │ └── index.ts
│ │ │ ├── sagas/
│ │ │ │ ├── api.ts
│ │ │ │ ├── engine-worker.ts
│ │ │ │ ├── engine.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── location.ts
│ │ │ │ ├── resources.ts
│ │ │ │ └── utils.ts
│ │ │ ├── state/
│ │ │ │ └── index.ts
│ │ │ └── utils/
│ │ │ └── string-editor.ts
│ │ ├── index.html
│ │ └── index.ts
│ ├── todos.md
│ ├── tsconfig.json
│ └── webpack.config.js
├── examples/
│ ├── react-basic/
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── sandbox.config.json
│ │ ├── src/
│ │ │ ├── CustomGroceryList.pc
│ │ │ ├── GroceryList.pc
│ │ │ ├── GroceryList.tsx
│ │ │ ├── breakpoints.pc
│ │ │ ├── entry.tsx
│ │ │ └── index.html
│ │ ├── tsconfig.json
│ │ └── webpack.config.js
│ ├── syntax-basic/
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── sandbox.config.json
│ │ └── src/
│ │ └── hello.pc
│ ├── tailwind/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── sandbox.config.json
│ │ ├── src/
│ │ │ ├── index.pc
│ │ │ └── tailwind.scss
│ │ └── tailwind.config.js
│ ├── tailwind-and-animate/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── css-modules/
│ │ │ └── animate.css
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── sandbox.config.json
│ │ ├── src/
│ │ │ ├── hello-paperclip.pc
│ │ │ └── tailwind.scss
│ │ └── tailwind.config.js
│ └── tailwind-and-bootstrap-example/
│ ├── .gitignore
│ ├── css-modules/
│ │ └── bootstrap/
│ │ ├── bootstrap-grid.css
│ │ ├── bootstrap-grid.rtl.css
│ │ ├── bootstrap-reboot.css
│ │ ├── bootstrap-reboot.rtl.css
│ │ ├── bootstrap-utilities.css
│ │ ├── bootstrap-utilities.rtl.css
│ │ ├── bootstrap.css
│ │ └── bootstrap.rtl.css
│ ├── package.json
│ ├── paperclip.config.json
│ ├── src/
│ │ ├── hello-paperclip.pc
│ │ └── tailwind.scss
│ └── tailwind.config.js
├── lerna.json
├── package.json
├── packages/
│ ├── avocode-paperclip/
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── api.ts
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├── figma-paperclip/
│ │ ├── LICENSE
│ │ ├── bin/
│ │ │ └── figma-paperclip
│ │ ├── examples/
│ │ │ └── wrapper-module/
│ │ │ ├── .gitignore
│ │ │ ├── figma-paperclip.config.js
│ │ │ ├── figma-paperclip.json.backup
│ │ │ ├── package.json
│ │ │ └── paperclip.config.json
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── api.ts
│ │ │ ├── constants.ts
│ │ │ ├── graph.ts
│ │ │ ├── index.ts
│ │ │ ├── init.ts
│ │ │ ├── memo.ts
│ │ │ ├── pull.ts
│ │ │ ├── state.ts
│ │ │ ├── translate/
│ │ │ │ ├── context.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── modules.ts
│ │ │ │ ├── pages.ts
│ │ │ │ └── utils.ts
│ │ │ ├── translate2/
│ │ │ │ ├── context.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── pages.ts
│ │ │ │ └── state.ts
│ │ │ └── utils.ts
│ │ ├── todos.md
│ │ └── tsconfig.json
│ ├── jest-paperclip/
│ │ ├── LICENSE
│ │ ├── package.json
│ │ ├── src/
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├── paperclip-autocomplete/
│ │ ├── .eslintrc.json
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── string-scanner.ts
│ │ │ ├── suggest-context.ts
│ │ │ ├── test/
│ │ │ │ ├── suggest-context-test.ts
│ │ │ │ └── tokenize-test.ts
│ │ │ └── tokenizer.ts
│ │ └── tsconfig.json
│ ├── paperclip-builder/
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── build.ts
│ │ │ ├── errors.ts
│ │ │ ├── index.ts
│ │ │ ├── resolve-compilers.ts
│ │ │ ├── test/
│ │ │ │ ├── basic-test.ts
│ │ │ │ ├── build-test.ts
│ │ │ │ ├── resolve-compilers-test.ts
│ │ │ │ └── utils.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-cli/
│ │ ├── .eslintrc.json
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── paperclip
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── cli.ts
│ │ │ ├── coverage.ts
│ │ │ ├── dev.ts
│ │ │ ├── init.ts
│ │ │ ├── install-module.ts
│ │ │ ├── pretty-message.ts
│ │ │ ├── scaffolding/
│ │ │ │ ├── generators/
│ │ │ │ │ ├── base.ts
│ │ │ │ │ ├── files/
│ │ │ │ │ │ ├── .babelrc
│ │ │ │ │ │ ├── entry-tsx
│ │ │ │ │ │ ├── hello-paperclip.pc
│ │ │ │ │ │ ├── tsconfig.json
│ │ │ │ │ │ └── webpack.config-js
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── javascript.ts
│ │ │ │ │ ├── node.ts
│ │ │ │ │ ├── percy.ts
│ │ │ │ │ ├── react.ts
│ │ │ │ │ ├── root.ts
│ │ │ │ │ ├── typescript.ts
│ │ │ │ │ ├── utils.ts
│ │ │ │ │ └── webpack.ts
│ │ │ │ └── index.ts
│ │ │ └── test/
│ │ │ └── basic-test.ts
│ │ └── tsconfig.json
│ ├── paperclip-cli-minimal/
│ │ ├── .eslintrc.json
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── paperclip
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── build.ts
│ │ │ ├── cli.ts
│ │ │ └── tm.d.ts
│ │ └── tsconfig.json
│ ├── paperclip-cli-utils/
│ │ ├── .eslintrc.json
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── paperclip
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ └── pretty-message.ts
│ │ └── tsconfig.json
│ ├── paperclip-common/
│ │ ├── LICENSE
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── bindable/
│ │ │ │ └── index.ts
│ │ │ ├── disposable.ts
│ │ │ ├── em.ts
│ │ │ ├── events.ts
│ │ │ ├── immutable-store.ts
│ │ │ ├── index.ts
│ │ │ ├── kernel.ts
│ │ │ ├── log.ts
│ │ │ ├── promise.ts
│ │ │ ├── remote-channel.ts
│ │ │ ├── rpc/
│ │ │ │ ├── adapters.ts
│ │ │ │ ├── chan.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── spy.ts
│ │ │ ├── services.ts
│ │ │ ├── string-editor.ts
│ │ │ └── test-utils/
│ │ │ ├── index.ts
│ │ │ └── tmp-fixtures.ts
│ │ └── tsconfig.json
│ ├── paperclip-compiler-base-jsx/
│ │ ├── .eslintrc.json
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── code-compiler.ts
│ │ │ ├── definition-compiler.ts
│ │ │ ├── index.ts
│ │ │ ├── test/
│ │ │ │ ├── index.ts
│ │ │ │ ├── test-suite.ts
│ │ │ │ └── utils.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-compiler-html/
│ │ ├── .eslintrc.json
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── test/
│ │ │ │ └── basic-test.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-compiler-php/
│ │ └── examples/
│ │ └── test/
│ │ └── src/
│ │ └── test.pc.php
│ ├── paperclip-compiler-react/
│ │ ├── .eslintrc.json
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── inernals.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ └── test/
│ │ │ ├── basic-test.tsx
│ │ │ └── css-test.tsx
│ │ └── tsconfig.json
│ ├── paperclip-core/
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── babel.config.json
│ │ ├── browser.d.ts
│ │ ├── browser.js
│ │ ├── examples/
│ │ │ ├── codepen/
│ │ │ │ ├── bird-game.pc
│ │ │ │ ├── pure-css-accordion.pc
│ │ │ │ └── pure-css-buttons.pc
│ │ │ ├── paperclip.config.json
│ │ │ └── test.css
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── native/
│ │ │ ├── Cargo.toml
│ │ │ ├── artifacts.json
│ │ │ ├── build.rsx
│ │ │ ├── bundler/
│ │ │ │ ├── paperclip.d.ts
│ │ │ │ ├── paperclip.js
│ │ │ │ ├── paperclip_bg.js
│ │ │ │ ├── paperclip_bg.wasm
│ │ │ │ └── paperclip_bg.wasm.d.ts
│ │ │ ├── rustfmt.toml
│ │ │ └── src/
│ │ │ ├── annotation/
│ │ │ │ ├── ast.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── parser.rs
│ │ │ │ ├── runtime.rs
│ │ │ │ └── tokenizer.rs
│ │ │ ├── base/
│ │ │ │ ├── ast.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── parser.rs
│ │ │ │ ├── runtime.rs
│ │ │ │ ├── string_scanner.rs
│ │ │ │ ├── tokenizer.rs
│ │ │ │ └── utils.rs
│ │ │ ├── core/
│ │ │ │ ├── ast.rs
│ │ │ │ ├── diagnostics.rs
│ │ │ │ ├── eval.rs
│ │ │ │ ├── eval_utils.rs
│ │ │ │ ├── graph.rs
│ │ │ │ ├── id_generator.rs
│ │ │ │ ├── mod.rs
│ │ │ │ └── vfs.rs
│ │ │ ├── coverage/
│ │ │ │ ├── mod.rs
│ │ │ │ └── reporter.rs
│ │ │ ├── css/
│ │ │ │ ├── ast.rs
│ │ │ │ ├── base.rs
│ │ │ │ ├── declaration_value_ast.rs
│ │ │ │ ├── declaration_value_parser.rs
│ │ │ │ ├── media_ast.rs
│ │ │ │ ├── media_parser.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── parser.rs
│ │ │ │ ├── runtime/
│ │ │ │ │ ├── cache.rs
│ │ │ │ │ ├── diff.rs
│ │ │ │ │ ├── evaluator.rs
│ │ │ │ │ ├── export.rs
│ │ │ │ │ ├── media_match.rs
│ │ │ │ │ ├── mod.rs
│ │ │ │ │ ├── mutation.rs
│ │ │ │ │ ├── specificity.rs
│ │ │ │ │ └── virt.rs
│ │ │ │ └── tokenizer.rs
│ │ │ ├── engine/
│ │ │ │ ├── diagnostics.rs
│ │ │ │ ├── engine.rs
│ │ │ │ ├── errors.rs
│ │ │ │ ├── mod.rs
│ │ │ │ └── test_utils.rs
│ │ │ ├── lib.rs
│ │ │ ├── pc/
│ │ │ │ ├── ast.rs
│ │ │ │ ├── get_info.rs
│ │ │ │ ├── mod.rs
│ │ │ │ ├── parser.rs
│ │ │ │ ├── runtime/
│ │ │ │ │ ├── annotation_evaluator.rs
│ │ │ │ │ ├── cache.rs
│ │ │ │ │ ├── diff.rs
│ │ │ │ │ ├── evaluator.rs
│ │ │ │ │ ├── export.rs
│ │ │ │ │ ├── inspect_node_styles.rs
│ │ │ │ │ ├── inspect_selector_info.rs
│ │ │ │ │ ├── inspector.rs
│ │ │ │ │ ├── lint.rs
│ │ │ │ │ ├── mod.rs
│ │ │ │ │ ├── mutation.rs
│ │ │ │ │ ├── selector_match.rs
│ │ │ │ │ └── virt.rs
│ │ │ │ └── tokenizer.rs
│ │ │ └── script/
│ │ │ ├── ast.rs
│ │ │ ├── mod.rs
│ │ │ ├── parser.rs
│ │ │ ├── runtime/
│ │ │ │ ├── evaluator.rs
│ │ │ │ ├── mod.rs
│ │ │ │ └── virt.rs
│ │ │ └── tokenizer.rs
│ │ ├── package.json
│ │ ├── pkg/
│ │ │ └── index.js
│ │ ├── src/
│ │ │ ├── core/
│ │ │ │ ├── delegate.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── infer.ts
│ │ │ │ └── utils.ts
│ │ │ ├── node/
│ │ │ │ ├── async-delegate.ts
│ │ │ │ ├── delegate-worker.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── sync-delegate.ts
│ │ │ └── test/
│ │ │ ├── file-system/
│ │ │ │ ├── pc-test.ts
│ │ │ │ └── resolve-test.ts
│ │ │ ├── utils.ts
│ │ │ └── virtual/
│ │ │ ├── annotate-test.ts
│ │ │ ├── css-compile-test.ts
│ │ │ ├── css-test.ts
│ │ │ ├── error-test.ts
│ │ │ ├── infer-test.ts
│ │ │ ├── inspect-test.ts
│ │ │ ├── lint-test.ts
│ │ │ ├── pc-test.ts
│ │ │ └── raws-test.ts
│ │ ├── test-fixtures/
│ │ │ ├── .vscode/
│ │ │ │ └── settings.json
│ │ │ ├── modules/
│ │ │ │ ├── @nested/
│ │ │ │ │ └── in/
│ │ │ │ │ └── a/
│ │ │ │ │ └── folder/
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── paperclip.config.json
│ │ │ │ │ └── src/
│ │ │ │ │ ├── component.pc
│ │ │ │ │ ├── imp-mod-a.pc
│ │ │ │ │ ├── module.pc
│ │ │ │ │ └── test.pc
│ │ │ │ └── module-a/
│ │ │ │ ├── package.json
│ │ │ │ ├── paperclip.config.json
│ │ │ │ └── src/
│ │ │ │ ├── component.pc
│ │ │ │ ├── module.pc
│ │ │ │ └── test.pc
│ │ │ ├── paperclip.config.json
│ │ │ └── src/
│ │ │ ├── bad-css-url.pc
│ │ │ ├── bad-import.pc
│ │ │ ├── good-import.pc
│ │ │ ├── hello-world.pc
│ │ │ ├── mod-a-import.pc
│ │ │ ├── mod-import.pc
│ │ │ ├── module.pc
│ │ │ └── nested-mod-import.pc
│ │ ├── tsconfig.esm.json
│ │ └── tsconfig.json
│ ├── paperclip-coverage/
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── src/
│ │ │ ├── constants.ts
│ │ │ ├── generate/
│ │ │ │ ├── html/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── ui/
│ │ │ │ │ ├── atoms.pc
│ │ │ │ │ ├── file-report.pc
│ │ │ │ │ ├── page.pc
│ │ │ │ │ └── report.pc
│ │ │ │ └── stdout/
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ └── state.ts
│ │ └── tsconfig.json
│ ├── paperclip-diff/
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── src/
│ │ │ ├── cli.ts
│ │ │ ├── core.ts
│ │ │ ├── index.ts
│ │ │ ├── report/
│ │ │ │ ├── html/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── page.pc
│ │ │ │ │ └── report.pc
│ │ │ │ ├── index.ts
│ │ │ │ └── stdout/
│ │ │ │ └── index.ts
│ │ │ ├── snapshots.ts
│ │ │ ├── state.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-diff-utils/
│ │ ├── bin/
│ │ │ └── paperclip-diff
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── pc-document.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-editor-engine/
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── client/
│ │ │ │ ├── client.ts
│ │ │ │ ├── documents/
│ │ │ │ │ ├── base.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── pc/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── source.ts
│ │ │ │ └── internal-client.ts
│ │ │ ├── core/
│ │ │ │ ├── channels/
│ │ │ │ │ ├── document.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── virtual-object.ts
│ │ │ │ ├── crdt-document.ts
│ │ │ │ ├── documents.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── string-editor.ts
│ │ │ │ ├── utils.ts
│ │ │ │ └── virtual-object-edit.ts
│ │ │ ├── host/
│ │ │ │ ├── connection.ts
│ │ │ │ ├── documents/
│ │ │ │ │ ├── base.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── manager.ts
│ │ │ │ │ ├── pc-document-editor.ts
│ │ │ │ │ ├── pc-source.ts
│ │ │ │ │ └── pc.ts
│ │ │ │ └── host.ts
│ │ │ ├── index.ts
│ │ │ └── test/
│ │ │ ├── basic-test.ts
│ │ │ ├── preview-test.ts
│ │ │ ├── utils.ts
│ │ │ └── virtual-edit-test.ts
│ │ └── tsconfig.json
│ ├── paperclip-interim/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── state/
│ │ │ │ ├── assets.ts
│ │ │ │ ├── css.ts
│ │ │ │ ├── html.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── module.ts
│ │ │ │ ├── options.ts
│ │ │ │ └── script.ts
│ │ │ ├── test/
│ │ │ │ ├── basic-test.ts
│ │ │ │ └── utils.ts
│ │ │ └── translate/
│ │ │ ├── assets.ts
│ │ │ ├── css.ts
│ │ │ ├── html.ts
│ │ │ ├── index.ts
│ │ │ ├── module.ts
│ │ │ ├── options.ts
│ │ │ ├── script.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-language-service/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── autocomplete.ts
│ │ │ ├── collect-ast-info.ts
│ │ │ ├── completion-items.ts
│ │ │ ├── css-color-names.ts
│ │ │ ├── css-decl-name-constants.ts
│ │ │ ├── css-decl-value-constants.ts
│ │ │ ├── error-service.ts
│ │ │ ├── index.ts
│ │ │ ├── language-service.ts
│ │ │ ├── state.ts
│ │ │ ├── tag-name-constants.ts
│ │ │ ├── test/
│ │ │ │ ├── basic-test.ts
│ │ │ │ ├── colors-test.ts
│ │ │ │ ├── definitions-test.ts
│ │ │ │ ├── links-test.ts
│ │ │ │ └── suggestion-test.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── paperclip-loader/
│ │ ├── .eslintrc.json
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ └── test/
│ │ │ └── basic-test.ts
│ │ └── tsconfig.json
│ ├── paperclip-monaco/
│ │ ├── LICENSE
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ └── languages/
│ │ │ ├── adapter.ts
│ │ │ ├── html.ts
│ │ │ ├── pcss.ts
│ │ │ ├── register.ts
│ │ │ ├── script.ts
│ │ │ ├── service/
│ │ │ │ ├── ast-info.ts
│ │ │ │ ├── async-provider.ts
│ │ │ │ ├── autocomplete.ts
│ │ │ │ ├── base.ts
│ │ │ │ ├── channel.ts
│ │ │ │ ├── css-color-names.ts
│ │ │ │ ├── css-constants.ts
│ │ │ │ ├── css-declaration-constants.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── worker.ts
│ │ │ └── worker.ts
│ │ └── tsconfig.json
│ ├── paperclip-repl/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── src/
│ │ │ ├── app.ts
│ │ │ ├── controllers/
│ │ │ │ ├── channel-handler.ts
│ │ │ │ ├── channels.ts
│ │ │ │ ├── designer/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── paperclip.ts
│ │ │ │ ├── parent.ts
│ │ │ │ ├── worker/
│ │ │ │ │ ├── designer-channel-handler.ts
│ │ │ │ │ ├── entry.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── io.ts
│ │ │ │ │ └── paperclip.ts
│ │ │ │ └── worker-connection.ts
│ │ │ ├── entry.tsx
│ │ │ ├── index.html
│ │ │ └── index.ts
│ │ ├── tsconfig.json
│ │ └── webpack/
│ │ ├── webpack.config-base.js
│ │ ├── webpack.config-esm.js
│ │ ├── webpack.config-web.js
│ │ └── webpack.config.js
│ ├── paperclip-source-writer/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── index.ts
│ │ │ ├── mutations.ts
│ │ │ ├── string-editor.ts
│ │ │ ├── test/
│ │ │ │ ├── basic-test.ts
│ │ │ │ └── utils.ts
│ │ │ └── writer.ts
│ │ └── tsconfig.json
│ ├── paperclip-test-utils/
│ │ ├── LICENSE
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├── paperclip-utils/
│ │ ├── .eslintrc.json
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── base/
│ │ │ │ ├── ast.ts
│ │ │ │ └── virt.ts
│ │ │ ├── core/
│ │ │ │ ├── actions.ts
│ │ │ │ ├── ast.ts
│ │ │ │ ├── config.ts
│ │ │ │ ├── constants.ts
│ │ │ │ ├── diagnostics.ts
│ │ │ │ ├── errors.ts
│ │ │ │ ├── events.ts
│ │ │ │ ├── graph.ts
│ │ │ │ ├── memo.ts
│ │ │ │ ├── module-ast.ts
│ │ │ │ ├── promise.ts
│ │ │ │ ├── report.ts
│ │ │ │ ├── resolve.ts
│ │ │ │ ├── url.ts
│ │ │ │ └── utils.ts
│ │ │ ├── css/
│ │ │ │ ├── ast.ts
│ │ │ │ ├── decl-value-ast.ts
│ │ │ │ ├── exports.ts
│ │ │ │ ├── patcher.ts
│ │ │ │ ├── stringify-sheet.ts
│ │ │ │ ├── style-inspection.ts
│ │ │ │ ├── virt-mutation.ts
│ │ │ │ └── virt.ts
│ │ │ ├── html/
│ │ │ │ ├── ast.ts
│ │ │ │ ├── exports.ts
│ │ │ │ ├── patcher.ts
│ │ │ │ ├── stringify-virt-node.ts
│ │ │ │ ├── tree.ts
│ │ │ │ ├── virt-mtuation.ts
│ │ │ │ └── virt.ts
│ │ │ ├── index.ts
│ │ │ ├── node/
│ │ │ │ └── source-watcher.ts
│ │ │ ├── script/
│ │ │ │ ├── ast.ts
│ │ │ │ └── virt.ts
│ │ │ └── test/
│ │ │ ├── basic-test.ts
│ │ │ └── config-test.ts
│ │ └── tsconfig.json
│ ├── paperclip-vscode/
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── .npmignore
│ │ ├── .nycrc.json
│ │ ├── .vscodeignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── languages/
│ │ │ ├── paperclip-css-language-configuration.json
│ │ │ └── paperclip-html-language-configuration.json
│ │ ├── package.json
│ │ ├── paperclip/
│ │ │ ├── .vscodeignore
│ │ │ ├── CHANGELOG.md
│ │ │ ├── README.md
│ │ │ ├── language-configuration.json
│ │ │ ├── package.json
│ │ │ └── syntaxes/
│ │ │ └── paperclip.tmLanguage.json
│ │ ├── scripts/
│ │ │ ├── scrape-css-declarations.js
│ │ │ └── utils.js
│ │ ├── src/
│ │ │ ├── extension/
│ │ │ │ ├── channels.ts
│ │ │ │ ├── command-manager.ts
│ │ │ │ ├── document-manager.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── language/
│ │ │ │ │ ├── client.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── server/
│ │ │ │ │ ├── connection.ts
│ │ │ │ │ ├── design-server.ts
│ │ │ │ │ ├── documents.ts
│ │ │ │ │ ├── events.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── resolver.ts
│ │ │ │ ├── preview/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── live-window-manager.ts
│ │ │ │ │ ├── live-window.ts
│ │ │ │ │ └── service.ts
│ │ │ │ ├── rpc/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── utils.ts
│ │ │ │ └── version-check.ts
│ │ │ └── scripts/
│ │ │ ├── build.ts
│ │ │ └── theme.ts
│ │ ├── syntaxes/
│ │ │ ├── highlight-test.pc
│ │ │ ├── paperclip-css.json
│ │ │ ├── paperclip-css.yml
│ │ │ ├── paperclip-html.json
│ │ │ ├── paperclip-html.yaml
│ │ │ └── paperclip.tmLanguage.json
│ │ └── tsconfig.json
│ ├── paperclip-web-renderer/
│ │ ├── .eslintrc.json
│ │ ├── .yo-rc.json
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── browser.js
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── base.ts
│ │ │ ├── cssom-patcher.ts
│ │ │ ├── dom-patcher.ts
│ │ │ ├── frame-renderer.ts
│ │ │ ├── frame2-renderer.ts
│ │ │ ├── frames-patcher.ts
│ │ │ ├── index.ts
│ │ │ ├── native-renderer.ts
│ │ │ ├── renderer.ts
│ │ │ ├── test/
│ │ │ │ ├── change-test.ts
│ │ │ │ ├── frame-test.ts
│ │ │ │ ├── fuzzy-test.ts
│ │ │ │ ├── random/
│ │ │ │ │ ├── document.ts
│ │ │ │ │ ├── html.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── styles.ts
│ │ │ │ │ └── utils.ts
│ │ │ │ └── utils.ts
│ │ │ └── utils/
│ │ │ ├── index.ts
│ │ │ └── misc.ts
│ │ ├── tsconfig.json
│ │ ├── uis/
│ │ │ ├── loader.pc
│ │ │ └── paperclip.config.json
│ │ └── webpack.config.js
│ ├── paperclip-website/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── babel.config.js
│ │ ├── blog/
│ │ │ └── 2020-03-01-introducing-paperclip.md
│ │ ├── docs/
│ │ │ ├── configure-jest.md
│ │ │ ├── configure-paperclip.md
│ │ │ ├── configure-percy.md
│ │ │ ├── configure-prettier.md
│ │ │ ├── configure-webpack.md
│ │ │ ├── getting-started-cofigure.md
│ │ │ ├── getting-started-cra.md
│ │ │ ├── getting-started-first-ui.md
│ │ │ ├── getting-started-new-project.md
│ │ │ ├── getting-started-vscode.md
│ │ │ ├── getting-started-webpack.md
│ │ │ ├── guide-compiler.md
│ │ │ ├── guide-dynamic-styles.md
│ │ │ ├── guide-how-to-use.md
│ │ │ ├── guide-migrating-to-paperclip.md
│ │ │ ├── guide-modules.md
│ │ │ ├── guide-organization.md
│ │ │ ├── guide-theming.md
│ │ │ ├── guide-theming2.md
│ │ │ ├── guide-thinking-in-paperclip.md
│ │ │ ├── guide-third-party-libraries.md
│ │ │ ├── guide-visual-tools.md
│ │ │ ├── guide-vscode.md
│ │ │ ├── guide-why.md
│ │ │ ├── guide-workarounds.md
│ │ │ ├── guide-writing-components.md
│ │ │ ├── guide-writing-previews.md
│ │ │ ├── installation.md
│ │ │ ├── introduction.md
│ │ │ ├── usage-cli.md
│ │ │ ├── usage-react.md
│ │ │ ├── usage-syntax.md
│ │ │ ├── usage-troubleshooting.md
│ │ │ ├── visual-regression-tooling.md
│ │ │ └── visual-tooling.md
│ │ ├── docusaurus.config.js
│ │ ├── draft/
│ │ │ ├── 2021-01-05-scoped-css.md
│ │ │ ├── 2021-12-31-avoiding-vendor-lock-in.md
│ │ │ └── 2021-scoped-css-for-everyone.md
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── plugins/
│ │ │ ├── live-editor.js
│ │ │ ├── paperclip.js
│ │ │ ├── shim/
│ │ │ │ └── index.js
│ │ │ └── theme/
│ │ │ └── CodeBlock/
│ │ │ └── index.jsx
│ │ ├── sidebars.js
│ │ ├── src/
│ │ │ ├── css/
│ │ │ │ └── custom.css
│ │ │ ├── demos/
│ │ │ │ ├── ice-cream-loader.js
│ │ │ │ ├── import-code.js
│ │ │ │ ├── main.js
│ │ │ │ ├── simple-pc.js
│ │ │ │ ├── site-demo.js
│ │ │ │ ├── tailwind-and-animate.js
│ │ │ │ ├── tailwind.css.js
│ │ │ │ └── third-party-css.js
│ │ │ ├── pages/
│ │ │ │ ├── index-old.js
│ │ │ │ ├── index.js
│ │ │ │ ├── repl.js
│ │ │ │ └── styles.module.css
│ │ │ └── styles/
│ │ │ ├── button.pc
│ │ │ ├── colors.pc
│ │ │ ├── fonts/
│ │ │ │ ├── open-sans/
│ │ │ │ │ └── font-face.pc
│ │ │ │ ├── preview.pc
│ │ │ │ ├── roboto/
│ │ │ │ │ └── font-face.pc
│ │ │ │ └── sora/
│ │ │ │ └── font-face.pc
│ │ │ ├── icons/
│ │ │ │ └── icons.pc
│ │ │ ├── index-backend.pc
│ │ │ ├── index.pc
│ │ │ ├── index2.pc
│ │ │ ├── layout.pc
│ │ │ ├── test.pc
│ │ │ ├── test2.pc
│ │ │ ├── test3.pc
│ │ │ └── typography.pc
│ │ └── static/
│ │ ├── .nojekyll
│ │ └── CNAME
│ ├── percy-paperclip/
│ │ ├── .eslintrc.json
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── percy-paperclip
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── cli.ts
│ │ │ ├── static-server.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── prettier-plugin-paperclip/
│ │ ├── LICENSE
│ │ ├── examples/
│ │ │ ├── test.css
│ │ │ └── test.pc
│ │ ├── fixtures/
│ │ │ ├── .prettierignore
│ │ │ ├── basic-comment-in.pc
│ │ │ ├── basic-comment-out.pc
│ │ │ ├── basic-in.pc
│ │ │ ├── basic-out.pc
│ │ │ ├── basic-style-in.pc
│ │ │ └── basic-style-out.pc
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── embed.ts
│ │ │ ├── index.ts
│ │ │ ├── options.ts
│ │ │ ├── print.ts
│ │ │ ├── test/
│ │ │ │ └── print-test.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── tandem-common/
│ │ ├── index.d.ts
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── disposable.ts
│ │ │ ├── http-server.ts
│ │ │ ├── index.ts
│ │ │ ├── logger.ts
│ │ │ ├── mime.ts
│ │ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── tandem-design-system/
│ │ ├── .gitignore
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── src/
│ │ │ ├── Button.pc
│ │ │ ├── Page.pc
│ │ │ ├── TextInput.pc
│ │ │ ├── TextInput.tsx
│ │ │ ├── atoms.pc
│ │ │ ├── index.tsx
│ │ │ ├── open-sans/
│ │ │ │ └── font-face.pc
│ │ │ └── roboto/
│ │ │ └── index.pc
│ │ └── tsconfig.json
│ ├── tandem-designer/
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── .npmignore
│ │ ├── README.md
│ │ ├── babel.config.js
│ │ ├── brainstorm/
│ │ │ └── ui/
│ │ │ └── index.pc
│ │ ├── gitignore
│ │ ├── jest.config.ts
│ │ ├── package.json
│ │ ├── paperclip.config.json
│ │ ├── src/
│ │ │ ├── __TEST__/
│ │ │ │ ├── basic.test.tsx
│ │ │ │ ├── edit.test.tsx
│ │ │ │ ├── hotkeys.test.tsx
│ │ │ │ ├── ui.test.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── actions/
│ │ │ │ ├── base.ts
│ │ │ │ ├── external-actions.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── instance-actions.ts
│ │ │ │ ├── server-actions.ts
│ │ │ │ ├── ui-actions.ts
│ │ │ │ ├── util.ts
│ │ │ │ └── workspace-actions.ts
│ │ │ ├── app.tsx
│ │ │ ├── components/
│ │ │ │ ├── Box/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── Field/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── FrameContainer/
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Grid/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── InfiniteScroller/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── List/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── Main/
│ │ │ │ │ ├── CodeMode/
│ │ │ │ │ │ ├── MonacoEditor/
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── SlimEditor/
│ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ ├── prism.css
│ │ │ │ │ │ │ ├── theme.css
│ │ │ │ │ │ │ └── theme.ts
│ │ │ │ │ │ ├── Toolbar/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── DesignMode/
│ │ │ │ │ │ ├── Birdseye/
│ │ │ │ │ │ │ ├── Cell.tsx
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── Canvas/
│ │ │ │ │ │ │ ├── Frames/
│ │ │ │ │ │ │ │ ├── Frame.tsx
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── Preview/
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── Tools/
│ │ │ │ │ │ │ │ ├── Distance/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── Empty/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── Frames/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── Pixels/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── Selectable/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── TextEditor/
│ │ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ └── normalize-wheel.ts
│ │ │ │ │ │ ├── ErrorBanner/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── Footer/
│ │ │ │ │ │ │ ├── Breadcrumbs/
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── Layers/
│ │ │ │ │ │ │ │ ├── Children.tsx
│ │ │ │ │ │ │ │ ├── Element.tsx
│ │ │ │ │ │ │ │ ├── Node.tsx
│ │ │ │ │ │ │ │ ├── Text.tsx
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── LeftSidebar/
│ │ │ │ │ │ │ └── index.pc
│ │ │ │ │ │ ├── MediaPreview/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── Quickfind/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── RightSidebar/
│ │ │ │ │ │ │ ├── CSSInspector/
│ │ │ │ │ │ │ │ ├── ComputedInspector/
│ │ │ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ │ │ └── squash-inspection.ts
│ │ │ │ │ │ │ │ ├── Declaration/
│ │ │ │ │ │ │ │ │ ├── Name.tsx
│ │ │ │ │ │ │ │ │ ├── Value.tsx
│ │ │ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ │ │ ├── useDeclarationPart.ts
│ │ │ │ │ │ │ │ │ └── utils.ts
│ │ │ │ │ │ │ │ ├── DeclarationList.tsx
│ │ │ │ │ │ │ │ ├── RuleInspector/
│ │ │ │ │ │ │ │ │ ├── StyleRule.tsx
│ │ │ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ │ └── inputs/
│ │ │ │ │ │ │ │ └── ColorPicker/
│ │ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ │ ├── styles.pc
│ │ │ │ │ │ │ │ └── utils.ts
│ │ │ │ │ │ │ ├── Inspector/
│ │ │ │ │ │ │ │ └── index.pc
│ │ │ │ │ │ │ ├── MoreStyles/
│ │ │ │ │ │ │ │ └── index.pc
│ │ │ │ │ │ │ ├── PrettyStyler/
│ │ │ │ │ │ │ │ └── index.pc
│ │ │ │ │ │ │ ├── computed-styles.pc
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── Toolbar/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ │ └── index2.pc
│ │ │ │ │ │ ├── WindowResizer/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ └── index.tsx
│ │ │ │ │ ├── LeftSidebar/
│ │ │ │ │ │ ├── Header/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── files/
│ │ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ │ └── index.tsx
│ │ │ │ │ │ ├── index.pc
│ │ │ │ │ │ ├── index.tsx
│ │ │ │ │ │ └── symbols/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── Pane/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── TextEditor/
│ │ │ │ │ │ └── index.pc
│ │ │ │ │ ├── create-app-store.ts
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Modal/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Pane/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── Prompt/
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── ResizableContainer/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Select/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ ├── index.tsx
│ │ │ │ │ └── index2.pc
│ │ │ │ ├── Spinner/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── TextInput/
│ │ │ │ │ ├── base.tsx
│ │ │ │ │ ├── blended.pc
│ │ │ │ │ ├── blended.tsx
│ │ │ │ │ ├── filter.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ ├── Toggle/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── Tooltip/
│ │ │ │ │ └── index.pc
│ │ │ │ ├── Tree/
│ │ │ │ │ ├── index.pc
│ │ │ │ │ └── index.tsx
│ │ │ │ └── icons/
│ │ │ │ └── index.pc
│ │ │ ├── constants/
│ │ │ │ └── index.ts
│ │ │ ├── contexts/
│ │ │ │ └── index.ts
│ │ │ ├── engines/
│ │ │ │ ├── base.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── utils.ts
│ │ │ │ └── workspace/
│ │ │ │ ├── index.ts
│ │ │ │ ├── managers/
│ │ │ │ │ ├── documents.ts
│ │ │ │ │ ├── edit.ts
│ │ │ │ │ ├── main-document.ts
│ │ │ │ │ ├── paperclip-engine.ts
│ │ │ │ │ └── project.ts
│ │ │ │ └── utils.ts
│ │ │ ├── entry.tsx
│ │ │ ├── global.d.ts
│ │ │ ├── hooks/
│ │ │ │ ├── useAppStore/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── useCache/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── useDragger/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── useFrame/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── useFrameContainer/
│ │ │ │ │ └── index.ts
│ │ │ │ ├── useFrameMount/
│ │ │ │ │ └── index.ts
│ │ │ │ └── useFrameUrlResolver/
│ │ │ │ └── index.ts
│ │ │ ├── index.html
│ │ │ ├── index.ts
│ │ │ ├── reducers/
│ │ │ │ ├── designer.ts
│ │ │ │ ├── history.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── shared.ts
│ │ │ ├── rpc/
│ │ │ │ └── channels.ts
│ │ │ ├── sagas/
│ │ │ │ ├── canvas.ts
│ │ │ │ ├── hotkeys.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── rpc/
│ │ │ │ │ ├── channels.ts
│ │ │ │ │ ├── connection.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── ui.ts
│ │ │ │ ├── utils.ts
│ │ │ │ └── workspace/
│ │ │ │ └── index.ts
│ │ │ ├── state/
│ │ │ │ ├── geom.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── result.ts
│ │ │ ├── styles/
│ │ │ │ ├── atoms.pc
│ │ │ │ ├── index.pc
│ │ │ │ └── utils.pc
│ │ │ └── utils/
│ │ │ ├── dnd.ts
│ │ │ └── index.ts
│ │ ├── test/
│ │ │ └── jest.setup.js
│ │ ├── tsconfig.json
│ │ └── webpack.config.js
│ ├── tandem-workspace/
│ │ ├── Dockerfile
│ │ ├── README.md
│ │ ├── bin/
│ │ │ └── tandem-workspace
│ │ ├── examples/
│ │ │ └── todo/
│ │ │ └── index.pc
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── controllers/
│ │ │ │ ├── designer.ts
│ │ │ │ ├── git.ts
│ │ │ │ ├── package.ts
│ │ │ │ ├── paperclip.ts
│ │ │ │ ├── project.ts
│ │ │ │ ├── rpc.ts
│ │ │ │ ├── ssh.ts
│ │ │ │ ├── vfs.ts
│ │ │ │ └── workspace.ts
│ │ │ ├── core/
│ │ │ │ ├── kernel.ts
│ │ │ │ └── options.ts
│ │ │ ├── index.ts
│ │ │ ├── routes/
│ │ │ │ └── index.ts
│ │ │ ├── server.ts
│ │ │ ├── test/
│ │ │ │ ├── basic-test.ts
│ │ │ │ └── utils.ts
│ │ │ └── todos.pc
│ │ └── tsconfig.json
│ ├── tandem-workspace-client/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── connection.ts
│ │ │ ├── index.ts
│ │ │ ├── paperclip.ts
│ │ │ └── project.ts
│ │ └── tsconfig.json
│ ├── tandem-workspace-core/
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── channels.ts
│ │ │ ├── index.ts
│ │ │ └── state.ts
│ │ └── tsconfig.json
│ └── zeplin-paperclip/
│ ├── .eslintrc.json
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── bin/
│ │ └── zeplin-paperclip
│ ├── examples/
│ │ └── test/
│ │ ├── .gitignore
│ │ └── package.json
│ ├── package.json
│ ├── src/
│ │ ├── api.ts
│ │ ├── cast.ts
│ │ ├── cli.ts
│ │ ├── contants.ts
│ │ ├── pc-compiler.ts
│ │ ├── pull.ts
│ │ ├── state.ts
│ │ └── utils.ts
│ └── tsconfig.json
└── todos.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/workflows/checks.yml
================================================
name: Checks
on:
push:
branches:
- "*"
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- uses: jetli/wasm-pack-action@v0.3.0
- run: yarn install
- run: yarn build
- run: yarn test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- run: yarn install
- run: yarn lint
================================================
FILE: .github/workflows/documentation.yml
================================================
name: Publish Documentation
on:
push:
branches:
- master
jobs:
publish-documentation:
name: Publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- uses: jetli/wasm-pack-action@v0.3.0
- run: yarn install
- run: yarn run build
- run: yarn run link
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: packages/paperclip-website/build
================================================
FILE: .github/workflows/publish.yml
================================================
name: Publish Packages
on:
push:
branches:
- master
jobs:
publish-packages:
name: Publish NPM & Marketplaces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
registry-url: https://registry.npmjs.org/
- uses: jetli/wasm-pack-action@v0.3.0
- run: yarn install
- run: yarn build
- run: yarn publish:packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: "production"
# wait for a bit for NPM packages to show up in registry
- name: Sleep for a bit
uses: jakejarvis/wait-action@master
with:
time: "120s"
- run: yarn add vsce -W
- run: yarn publish:marketplace
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
name: documentation
================================================
FILE: .gitignore
================================================
lib/
target/
node_modules/
dist/
*.node
yarn-*.log
*.artifacts
tmp/
*.pc.d.ts
*.pc.js
*.pc.css
*.vsix
*.DS_Store
lerna-debug.log
paperclip-html.tmLanguage.json
.yarn/*
*.map
.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.paperclip
*.tgz
*.mjs
pc-coverage
pc-diff
================================================
FILE: .husky/pre-commit
================================================
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn pretty-quick --staged
================================================
FILE: .prettierignore
================================================
*.md
lerna.json
packages/prettier-plugin-paperclip/**/*.pc
================================================
FILE: .vscode/launch.json
================================================
{
"version": "0.1.0",
"configurations": [
{
"name": "Paperclip",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}/packages/paperclip-vscode",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/paperclip-vscode"
]
},
{
"name": "Paperclip Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}/packages/paperclip-vscode",
"args": [
"${workspaceFolder}/packages/paperclip-vscode/src/test/all/fixtures",
"--extensionDevelopmentPath=${workspaceFolder}/packages/paperclip-vscode",
"--extensionTestsPath=${workspaceFolder}/packages/paperclip-vscode/lib/test"
],
"outFiles": [
"${workspaceFolder}/packages/paperclip-vscode/lib/test/**/*-test.js"
]
}
]
}
================================================
FILE: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
================================================
/* eslint-disable */
//prettier-ignore
module.exports = {
name: "@yarnpkg/plugin-workspace-tools",
factory: function (require) {
var plugin=(()=>{var wr=Object.create,ge=Object.defineProperty,Sr=Object.defineProperties,vr=Object.getOwnPropertyDescriptor,Hr=Object.getOwnPropertyDescriptors,$r=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,kr=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable;var tt=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))et.call(t,r)&&tt(e,r,t[r]);if(Je)for(var r of Je(t))Tr.call(t,r)&&tt(e,r,t[r]);return e},F=(e,t)=>Sr(e,Hr(t)),Lr=e=>ge(e,"__esModule",{value:!0});var K=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Or=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},Nr=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $r(t))!et.call(e,n)&&n!=="default"&&ge(e,n,{get:()=>t[n],enumerable:!(r=vr(t,n))||r.enumerable});return e},Q=e=>Nr(Lr(ge(e!=null?wr(kr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var He=K(ee=>{"use strict";ee.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;ee.find=(e,t)=>e.nodes.find(r=>r.type===t);ee.exceedsLimit=(e,t,r=1,n)=>n===!1||!ee.isInteger(e)||!ee.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;ee.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];!n||(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};ee.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0==0?(e.invalid=!0,!0):!1;ee.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0==0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;ee.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;ee.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);ee.flatten=(...e)=>{let t=[],r=n=>{for(let s=0;s<n.length;s++){let a=n[s];Array.isArray(a)?r(a,t):a!==void 0&&t.push(a)}return t};return r(e),t}});var $e=K((is,st)=>{"use strict";var at=He();st.exports=(e,t={})=>{let r=(n,s={})=>{let a=t.escapeInvalid&&at.isInvalidBrace(s),i=n.invalid===!0&&t.escapeInvalid===!0,o="";if(n.value)return(a||i)&&at.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let h of n.nodes)o+=r(h);return o};return r(e)}});var ot=K((os,it)=>{"use strict";it.exports=function(e){return typeof e=="number"?e-e==0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var mt=K((us,ut)=>{"use strict";var ct=ot(),pe=(e,t,r)=>{if(ct(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(ct(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n=I({relaxZeros:!0},r);typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let s=String(n.relaxZeros),a=String(n.shorthand),i=String(n.capture),o=String(n.wrap),h=e+":"+t+"="+s+a+i+o;if(pe.cache.hasOwnProperty(h))return pe.cache[h].result;let m=Math.min(e,t),f=Math.max(e,t);if(Math.abs(m-f)===1){let y=e+"|"+t;return n.capture?`(${y})`:n.wrap===!1?y:`(?:${y})`}let R=pt(e)||pt(t),p={min:e,max:t,a:m,b:f},v=[],_=[];if(R&&(p.isPadded=R,p.maxLen=String(p.max).length),m<0){let y=f<0?Math.abs(f):1;_=lt(y,Math.abs(m),p,n),m=p.a=0}return f>=0&&(v=lt(m,f,p,n)),p.negatives=_,p.positives=v,p.result=Ir(_,v,n),n.capture===!0?p.result=`(${p.result})`:n.wrap!==!1&&v.length+_.length>1&&(p.result=`(?:${p.result})`),pe.cache[h]=p,p.result};function Ir(e,t,r){let n=Pe(e,t,"-",!1,r)||[],s=Pe(t,e,"",!1,r)||[],a=Pe(e,t,"-?",!0,r)||[];return n.concat(a).concat(s).join("|")}function Mr(e,t){let r=1,n=1,s=ft(e,r),a=new Set([t]);for(;e<=s&&s<=t;)a.add(s),r+=1,s=ft(e,r);for(s=ht(t+1,n)-1;e<s&&s<=t;)a.add(s),n+=1,s=ht(t+1,n)-1;return a=[...a],a.sort(Br),a}function Gr(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=Pr(e,t),s=n.length,a="",i=0;for(let o=0;o<s;o++){let[h,m]=n[o];h===m?a+=h:h!=="0"||m!=="9"?a+=Dr(h,m,r):i++}return i&&(a+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:a,count:[i],digits:s}}function lt(e,t,r,n){let s=Mr(e,t),a=[],i=e,o;for(let h=0;h<s.length;h++){let m=s[h],f=Gr(String(i),String(m),n),R="";if(!r.isPadded&&o&&o.pattern===f.pattern){o.count.length>1&&o.count.pop(),o.count.push(f.count[0]),o.string=o.pattern+dt(o.count),i=m+1;continue}r.isPadded&&(R=Ur(m,r,n)),f.string=R+f.pattern+dt(f.count),a.push(f),i=m+1,o=f}return a}function Pe(e,t,r,n,s){let a=[];for(let i of e){let{string:o}=i;!n&&!gt(t,"string",o)&&a.push(r+o),n&>(t,"string",o)&&a.push(r+o)}return a}function Pr(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function Br(e,t){return e>t?1:t>e?-1:0}function gt(e,t,r){return e.some(n=>n[t]===r)}function ft(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function ht(e,t){return e-e%Math.pow(10,t)}function dt(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function Dr(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}function pt(e){return/^-?(0+)\d/.test(e)}function Ur(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),s=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${n}}`:`0{${n}}`}}pe.cache={};pe.clearCache=()=>pe.cache={};ut.exports=pe});var Ue=K((cs,At)=>{"use strict";var qr=require("util"),Rt=mt(),yt=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Kr=e=>t=>e===!0?Number(t):String(t),De=e=>typeof e=="number"||typeof e=="string"&&e!=="",Ae=e=>Number.isInteger(+e),Ge=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},Wr=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,jr=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},_t=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},Fr=(e,t)=>{e.negatives.sort((i,o)=>i<o?-1:i>o?1:0),e.positives.sort((i,o)=>i<o?-1:i>o?1:0);let r=t.capture?"":"?:",n="",s="",a;return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(s=`-(${r}${e.negatives.join("|")})`),n&&s?a=`${n}|${s}`:a=n||s,t.wrap?`(${r}${a})`:a},bt=(e,t,r,n)=>{if(r)return Rt(e,t,I({wrap:!1},n));let s=String.fromCharCode(e);if(e===t)return s;let a=String.fromCharCode(t);return`[${s}-${a}]`},Et=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,s=r.capture?"":"?:";return n?`(${s}${e.join("|")})`:e.join("|")}return Rt(e,t,r)},xt=(...e)=>new RangeError("Invalid range arguments: "+qr.inspect(...e)),Ct=(e,t,r)=>{if(r.strictRanges===!0)throw xt([e,t]);return[]},Qr=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},Xr=(e,t,r=1,n={})=>{let s=Number(e),a=Number(t);if(!Number.isInteger(s)||!Number.isInteger(a)){if(n.strictRanges===!0)throw xt([e,t]);return[]}s===0&&(s=0),a===0&&(a=0);let i=s>a,o=String(e),h=String(t),m=String(r);r=Math.max(Math.abs(r),1);let f=Ge(o)||Ge(h)||Ge(m),R=f?Math.max(o.length,h.length,m.length):0,p=f===!1&&Wr(e,t,n)===!1,v=n.transform||Kr(p);if(n.toRegex&&r===1)return bt(_t(e,R),_t(t,R),!0,n);let _={negatives:[],positives:[]},y=H=>_[H<0?"negatives":"positives"].push(Math.abs(H)),b=[],E=0;for(;i?s>=a:s<=a;)n.toRegex===!0&&r>1?y(s):b.push(jr(v(s,E),R,p)),s=i?s-r:s+r,E++;return n.toRegex===!0?r>1?Fr(_,n):Et(b,null,I({wrap:!1},n)):b},Zr=(e,t,r=1,n={})=>{if(!Ae(e)&&e.length>1||!Ae(t)&&t.length>1)return Ct(e,t,n);let s=n.transform||(p=>String.fromCharCode(p)),a=`${e}`.charCodeAt(0),i=`${t}`.charCodeAt(0),o=a>i,h=Math.min(a,i),m=Math.max(a,i);if(n.toRegex&&r===1)return bt(h,m,!1,n);let f=[],R=0;for(;o?a>=i:a<=i;)f.push(s(a,R)),a=o?a-r:a+r,R++;return n.toRegex===!0?Et(f,null,{wrap:!1,options:n}):f},ke=(e,t,r,n={})=>{if(t==null&&De(e))return[e];if(!De(e)||!De(t))return Ct(e,t,n);if(typeof r=="function")return ke(e,t,1,{transform:r});if(yt(r))return ke(e,t,0,r);let s=I({},n);return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,Ae(r)?Ae(e)&&Ae(t)?Xr(e,t,r,s):Zr(e,t,Math.max(Math.abs(r),1),s):r!=null&&!yt(r)?Qr(r,s):ke(e,t,1,r)};At.exports=ke});var vt=K((ls,wt)=>{"use strict";var Yr=Ue(),St=He(),zr=(e,t={})=>{let r=(n,s={})=>{let a=St.isInvalidBrace(s),i=n.invalid===!0&&t.escapeInvalid===!0,o=a===!0||i===!0,h=t.escapeInvalid===!0?"\\":"",m="";if(n.isOpen===!0||n.isClose===!0)return h+n.value;if(n.type==="open")return o?h+n.value:"(";if(n.type==="close")return o?h+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":o?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let f=St.reduce(n.nodes),R=Yr(...f,F(I({},t),{wrap:!1,toRegex:!0}));if(R.length!==0)return f.length>1&&R.length>1?`(${R})`:R}if(n.nodes)for(let f of n.nodes)m+=r(f,n);return m};return r(e)};wt.exports=zr});var kt=K((ps,Ht)=>{"use strict";var Vr=Ue(),$t=$e(),he=He(),fe=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?he.flatten(t).map(s=>`{${s}}`):t;for(let s of e)if(Array.isArray(s))for(let a of s)n.push(fe(a,t,r));else for(let a of t)r===!0&&typeof a=="string"&&(a=`{${a}}`),n.push(Array.isArray(a)?fe(s,a,r):s+a);return he.flatten(n)},Jr=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(s,a={})=>{s.queue=[];let i=a,o=a.queue;for(;i.type!=="brace"&&i.type!=="root"&&i.parent;)i=i.parent,o=i.queue;if(s.invalid||s.dollar){o.push(fe(o.pop(),$t(s,t)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){o.push(fe(o.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let R=he.reduce(s.nodes);if(he.exceedsLimit(...R,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let p=Vr(...R,t);p.length===0&&(p=$t(s,t)),o.push(fe(o.pop(),p)),s.nodes=[];return}let h=he.encloseBrace(s),m=s.queue,f=s;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,m=f.queue;for(let R=0;R<s.nodes.length;R++){let p=s.nodes[R];if(p.type==="comma"&&s.type==="brace"){R===1&&m.push(""),m.push("");continue}if(p.type==="close"){o.push(fe(o.pop(),m,h));continue}if(p.value&&p.type!=="open"){m.push(fe(m.pop(),p.value));continue}p.nodes&&n(p,s)}return m};return he.flatten(n(e))};Ht.exports=Jr});var Lt=K((fs,Tt)=>{"use strict";Tt.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Mt=K((hs,Ot)=>{"use strict";var en=$e(),{MAX_LENGTH:Nt,CHAR_BACKSLASH:qe,CHAR_BACKTICK:tn,CHAR_COMMA:rn,CHAR_DOT:nn,CHAR_LEFT_PARENTHESES:sn,CHAR_RIGHT_PARENTHESES:an,CHAR_LEFT_CURLY_BRACE:on,CHAR_RIGHT_CURLY_BRACE:un,CHAR_LEFT_SQUARE_BRACKET:It,CHAR_RIGHT_SQUARE_BRACKET:Bt,CHAR_DOUBLE_QUOTE:cn,CHAR_SINGLE_QUOTE:ln,CHAR_NO_BREAK_SPACE:pn,CHAR_ZERO_WIDTH_NOBREAK_SPACE:fn}=Lt(),hn=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(Nt,r.maxLength):Nt;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let s={type:"root",input:e,nodes:[]},a=[s],i=s,o=s,h=0,m=e.length,f=0,R=0,p,v={},_=()=>e[f++],y=b=>{if(b.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&b.type==="text"){o.value+=b.value;return}return i.nodes.push(b),b.parent=i,b.prev=o,o=b,b};for(y({type:"bos"});f<m;)if(i=a[a.length-1],p=_(),!(p===fn||p===pn)){if(p===qe){y({type:"text",value:(t.keepEscaping?p:"")+_()});continue}if(p===Bt){y({type:"text",value:"\\"+p});continue}if(p===It){h++;let b=!0,E;for(;f<m&&(E=_());){if(p+=E,E===It){h++;continue}if(E===qe){p+=_();continue}if(E===Bt&&(h--,h===0))break}y({type:"text",value:p});continue}if(p===sn){i=y({type:"paren",nodes:[]}),a.push(i),y({type:"text",value:p});continue}if(p===an){if(i.type!=="paren"){y({type:"text",value:p});continue}i=a.pop(),y({type:"text",value:p}),i=a[a.length-1];continue}if(p===cn||p===ln||p===tn){let b=p,E;for(t.keepQuotes!==!0&&(p="");f<m&&(E=_());){if(E===qe){p+=E+_();continue}if(E===b){t.keepQuotes===!0&&(p+=E);break}p+=E}y({type:"text",value:p});continue}if(p===on){R++;let b=o.value&&o.value.slice(-1)==="$"||i.dollar===!0;i=y({type:"brace",open:!0,close:!1,dollar:b,depth:R,commas:0,ranges:0,nodes:[]}),a.push(i),y({type:"open",value:p});continue}if(p===un){if(i.type!=="brace"){y({type:"text",value:p});continue}let b="close";i=a.pop(),i.close=!0,y({type:b,value:p}),R--,i=a[a.length-1];continue}if(p===rn&&R>0){if(i.ranges>0){i.ranges=0;let b=i.nodes.shift();i.nodes=[b,{type:"text",value:en(i)}]}y({type:"comma",value:p}),i.commas++;continue}if(p===nn&&R>0&&i.commas===0){let b=i.nodes;if(R===0||b.length===0){y({type:"text",value:p});continue}if(o.type==="dot"){if(i.range=[],o.value+=p,o.type="range",i.nodes.length!==3&&i.nodes.length!==5){i.invalid=!0,i.ranges=0,o.type="text";continue}i.ranges++,i.args=[];continue}if(o.type==="range"){b.pop();let E=b[b.length-1];E.value+=o.value+p,o=E,i.ranges--;continue}y({type:"dot",value:p});continue}y({type:"text",value:p})}do if(i=a.pop(),i.type!=="root"){i.nodes.forEach(H=>{H.nodes||(H.type==="open"&&(H.isOpen=!0),H.type==="close"&&(H.isClose=!0),H.nodes||(H.type="text"),H.invalid=!0)});let b=a[a.length-1],E=b.nodes.indexOf(i);b.nodes.splice(E,1,...i.nodes)}while(a.length>0);return y({type:"eos"}),s};Ot.exports=hn});var Gt=K((ds,Pt)=>{"use strict";var Dt=$e(),dn=vt(),gn=kt(),mn=Mt(),z=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let s=z.create(n,t);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(z.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};z.parse=(e,t={})=>mn(e,t);z.stringify=(e,t={})=>typeof e=="string"?Dt(z.parse(e,t),t):Dt(e,t);z.compile=(e,t={})=>(typeof e=="string"&&(e=z.parse(e,t)),dn(e,t));z.expand=(e,t={})=>{typeof e=="string"&&(e=z.parse(e,t));let r=gn(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};z.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?z.compile(e,t):z.expand(e,t);Pt.exports=z});var Re=K((gs,Ut)=>{"use strict";var An=require("path"),se="\\\\/",qt=`[^${se}]`,ue="\\.",Rn="\\+",yn="\\?",Te="\\/",_n="(?=.)",Kt="[^/]",Ke=`(?:${Te}|$)`,Wt=`(?:^|${Te})`,We=`${ue}{1,2}${Ke}`,bn=`(?!${ue})`,En=`(?!${Wt}${We})`,xn=`(?!${ue}{0,1}${Ke})`,Cn=`(?!${We})`,wn=`[^.${Te}]`,Sn=`${Kt}*?`,jt={DOT_LITERAL:ue,PLUS_LITERAL:Rn,QMARK_LITERAL:yn,SLASH_LITERAL:Te,ONE_CHAR:_n,QMARK:Kt,END_ANCHOR:Ke,DOTS_SLASH:We,NO_DOT:bn,NO_DOTS:En,NO_DOT_SLASH:xn,NO_DOTS_SLASH:Cn,QMARK_NO_DOT:wn,STAR:Sn,START_ANCHOR:Wt},vn=F(I({},jt),{SLASH_LITERAL:`[${se}]`,QMARK:qt,STAR:`${qt}*?`,DOTS_SLASH:`${ue}{1,2}(?:[${se}]|$)`,NO_DOT:`(?!${ue})`,NO_DOTS:`(?!(?:^|[${se}])${ue}{1,2}(?:[${se}]|$))`,NO_DOT_SLASH:`(?!${ue}{0,1}(?:[${se}]|$))`,NO_DOTS_SLASH:`(?!${ue}{1,2}(?:[${se}]|$))`,QMARK_NO_DOT:`[^.${se}]`,START_ANCHOR:`(?:^|[${se}])`,END_ANCHOR:`(?:[${se}]|$)`}),Hn={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Ut.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Hn,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:An.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?vn:jt}}});var ye=K(X=>{"use strict";var $n=require("path"),kn=process.platform==="win32",{REGEX_BACKSLASH:Tn,REGEX_REMOVE_BACKSLASH:Ln,REGEX_SPECIAL_CHARS:On,REGEX_SPECIAL_CHARS_GLOBAL:Nn}=Re();X.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);X.hasRegexChars=e=>On.test(e);X.isRegexChar=e=>e.length===1&&X.hasRegexChars(e);X.escapeRegex=e=>e.replace(Nn,"\\$1");X.toPosixSlashes=e=>e.replace(Tn,"/");X.removeBackslashes=e=>e.replace(Ln,t=>t==="\\"?"":t);X.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};X.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:kn===!0||$n.sep==="\\";X.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?X.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};X.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};X.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",s=r.contains?"":"$",a=`${n}(?:${e})${s}`;return t.negated===!0&&(a=`(?:^(?!${a}).*$)`),a}});var er=K((As,Ft)=>{"use strict";var Qt=ye(),{CHAR_ASTERISK:je,CHAR_AT:In,CHAR_BACKWARD_SLASH:_e,CHAR_COMMA:Bn,CHAR_DOT:Fe,CHAR_EXCLAMATION_MARK:Xt,CHAR_FORWARD_SLASH:Zt,CHAR_LEFT_CURLY_BRACE:Qe,CHAR_LEFT_PARENTHESES:Xe,CHAR_LEFT_SQUARE_BRACKET:Mn,CHAR_PLUS:Pn,CHAR_QUESTION_MARK:Yt,CHAR_RIGHT_CURLY_BRACE:Dn,CHAR_RIGHT_PARENTHESES:zt,CHAR_RIGHT_SQUARE_BRACKET:Gn}=Re(),Vt=e=>e===Zt||e===_e,Jt=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?Infinity:1)},Un=(e,t)=>{let r=t||{},n=e.length-1,s=r.parts===!0||r.scanToEnd===!0,a=[],i=[],o=[],h=e,m=-1,f=0,R=0,p=!1,v=!1,_=!1,y=!1,b=!1,E=!1,H=!1,L=!1,k=!1,J=0,ie,g,w={value:"",depth:0,isGlob:!1},D=()=>m>=n,W=()=>h.charCodeAt(m+1),l=()=>(ie=g,h.charCodeAt(++m));for(;m<n;){g=l();let c;if(g===_e){H=w.backslashes=!0,g=l(),g===Qe&&(E=!0);continue}if(E===!0||g===Qe){for(J++;D()!==!0&&(g=l());){if(g===_e){H=w.backslashes=!0,l();continue}if(g===Qe){J++;continue}if(E!==!0&&g===Fe&&(g=l())===Fe){if(p=w.isBrace=!0,_=w.isGlob=!0,k=!0,s===!0)continue;break}if(E!==!0&&g===Bn){if(p=w.isBrace=!0,_=w.isGlob=!0,k=!0,s===!0)continue;break}if(g===Dn&&(J--,J===0)){E=!1,p=w.isBrace=!0,k=!0;break}}if(s===!0)continue;break}if(g===Zt){if(a.push(m),i.push(w),w={value:"",depth:0,isGlob:!1},k===!0)continue;if(ie===Fe&&m===f+1){f+=2;continue}R=m+1;continue}if(r.noext!==!0&&(g===Pn||g===In||g===je||g===Yt||g===Xt)===!0&&W()===Xe){if(_=w.isGlob=!0,y=w.isExtglob=!0,k=!0,s===!0){for(;D()!==!0&&(g=l());){if(g===_e){H=w.backslashes=!0,g=l();continue}if(g===zt){_=w.isGlob=!0,k=!0;break}}continue}break}if(g===je){if(ie===je&&(b=w.isGlobstar=!0),_=w.isGlob=!0,k=!0,s===!0)continue;break}if(g===Yt){if(_=w.isGlob=!0,k=!0,s===!0)continue;break}if(g===Mn){for(;D()!==!0&&(c=l());){if(c===_e){H=w.backslashes=!0,l();continue}if(c===Gn){v=w.isBracket=!0,_=w.isGlob=!0,k=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&g===Xt&&m===f){L=w.negated=!0,f++;continue}if(r.noparen!==!0&&g===Xe){if(_=w.isGlob=!0,s===!0){for(;D()!==!0&&(g=l());){if(g===Xe){H=w.backslashes=!0,g=l();continue}if(g===zt){k=!0;break}}continue}break}if(_===!0){if(k=!0,s===!0)continue;break}}r.noext===!0&&(y=!1,_=!1);let x=h,T="",U="";f>0&&(T=h.slice(0,f),h=h.slice(f),R-=f),x&&_===!0&&R>0?(x=h.slice(0,R),U=h.slice(R)):_===!0?(x="",U=h):x=h,x&&x!==""&&x!=="/"&&x!==h&&Vt(x.charCodeAt(x.length-1))&&(x=x.slice(0,-1)),r.unescape===!0&&(U&&(U=Qt.removeBackslashes(U)),x&&H===!0&&(x=Qt.removeBackslashes(x)));let u={prefix:T,input:e,start:f,base:x,glob:U,isBrace:p,isBracket:v,isGlob:_,isExtglob:y,isGlobstar:b,negated:L};if(r.tokens===!0&&(u.maxDepth=0,Vt(g)||i.push(w),u.tokens=i),r.parts===!0||r.tokens===!0){let c;for(let $=0;$<a.length;$++){let B=c?c+1:f,Y=a[$],re=e.slice(B,Y);r.tokens&&($===0&&f!==0?(i[$].isPrefix=!0,i[$].value=T):i[$].value=re,Jt(i[$]),u.maxDepth+=i[$].depth),($!==0||re!=="")&&o.push(re),c=Y}if(c&&c+1<e.length){let $=e.slice(c+1);o.push($),r.tokens&&(i[i.length-1].value=$,Jt(i[i.length-1]),u.maxDepth+=i[i.length-1].depth)}u.slashes=a,u.parts=o}return u};Ft.exports=Un});var sr=K((Rs,tr)=>{"use strict";var Le=Re(),V=ye(),{MAX_LENGTH:Oe,POSIX_REGEX_SOURCE:qn,REGEX_NON_SPECIAL_CHARS:Kn,REGEX_SPECIAL_CHARS_BACKREF:Wn,REPLACEMENTS:rr}=Le,jn=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch(n){return e.map(s=>V.escapeRegex(s)).join("..")}return r},de=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,nr=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=rr[e]||e;let r=I({},t),n=typeof r.maxLength=="number"?Math.min(Oe,r.maxLength):Oe,s=e.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);let a={type:"bos",value:"",output:r.prepend||""},i=[a],o=r.capture?"":"?:",h=V.isWindows(t),m=Le.globChars(h),f=Le.extglobChars(m),{DOT_LITERAL:R,PLUS_LITERAL:p,SLASH_LITERAL:v,ONE_CHAR:_,DOTS_SLASH:y,NO_DOT:b,NO_DOT_SLASH:E,NO_DOTS_SLASH:H,QMARK:L,QMARK_NO_DOT:k,STAR:J,START_ANCHOR:ie}=m,g=A=>`(${o}(?:(?!${ie}${A.dot?y:R}).)*?)`,w=r.dot?"":b,D=r.dot?L:k,W=r.bash===!0?g(r):J;r.capture&&(W=`(${W})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let l={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:i};e=V.removePrefix(e,l),s=e.length;let x=[],T=[],U=[],u=a,c,$=()=>l.index===s-1,B=l.peek=(A=1)=>e[l.index+A],Y=l.advance=()=>e[++l.index],re=()=>e.slice(l.index+1),oe=(A="",O=0)=>{l.consumed+=A,l.index+=O},xe=A=>{l.output+=A.output!=null?A.output:A.value,oe(A.value)},xr=()=>{let A=1;for(;B()==="!"&&(B(2)!=="("||B(3)==="?");)Y(),l.start++,A++;return A%2==0?!1:(l.negated=!0,l.start++,!0)},Ce=A=>{l[A]++,U.push(A)},ce=A=>{l[A]--,U.pop()},C=A=>{if(u.type==="globstar"){let O=l.braces>0&&(A.type==="comma"||A.type==="brace"),d=A.extglob===!0||x.length&&(A.type==="pipe"||A.type==="paren");A.type!=="slash"&&A.type!=="paren"&&!O&&!d&&(l.output=l.output.slice(0,-u.output.length),u.type="star",u.value="*",u.output=W,l.output+=u.output)}if(x.length&&A.type!=="paren"&&!f[A.value]&&(x[x.length-1].inner+=A.value),(A.value||A.output)&&xe(A),u&&u.type==="text"&&A.type==="text"){u.value+=A.value,u.output=(u.output||"")+A.value;return}A.prev=u,i.push(A),u=A},we=(A,O)=>{let d=F(I({},f[O]),{conditions:1,inner:""});d.prev=u,d.parens=l.parens,d.output=l.output;let S=(r.capture?"(":"")+d.open;Ce("parens"),C({type:A,value:O,output:l.output?"":_}),C({type:"paren",extglob:!0,value:Y(),output:S}),x.push(d)},Cr=A=>{let O=A.close+(r.capture?")":"");if(A.type==="negate"){let d=W;A.inner&&A.inner.length>1&&A.inner.includes("/")&&(d=g(r)),(d!==W||$()||/^\)+$/.test(re()))&&(O=A.close=`)$))${d}`),A.prev.type==="bos"&&(l.negatedExtglob=!0)}C({type:"paren",extglob:!0,value:c,output:O}),ce("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let A=!1,O=e.replace(Wn,(d,S,M,j,q,Me)=>j==="\\"?(A=!0,d):j==="?"?S?S+j+(q?L.repeat(q.length):""):Me===0?D+(q?L.repeat(q.length):""):L.repeat(M.length):j==="."?R.repeat(M.length):j==="*"?S?S+j+(q?W:""):W:S?d:`\\${d}`);return A===!0&&(r.unescape===!0?O=O.replace(/\\/g,""):O=O.replace(/\\+/g,d=>d.length%2==0?"\\\\":d?"\\":"")),O===e&&r.contains===!0?(l.output=e,l):(l.output=V.wrapOutput(O,l,t),l)}for(;!$();){if(c=Y(),c==="\0")continue;if(c==="\\"){let d=B();if(d==="/"&&r.bash!==!0||d==="."||d===";")continue;if(!d){c+="\\",C({type:"text",value:c});continue}let S=/^\\+/.exec(re()),M=0;if(S&&S[0].length>2&&(M=S[0].length,l.index+=M,M%2!=0&&(c+="\\")),r.unescape===!0?c=Y()||"":c+=Y()||"",l.brackets===0){C({type:"text",value:c});continue}}if(l.brackets>0&&(c!=="]"||u.value==="["||u.value==="[^")){if(r.posix!==!1&&c===":"){let d=u.value.slice(1);if(d.includes("[")&&(u.posix=!0,d.includes(":"))){let S=u.value.lastIndexOf("["),M=u.value.slice(0,S),j=u.value.slice(S+2),q=qn[j];if(q){u.value=M+q,l.backtrack=!0,Y(),!a.output&&i.indexOf(u)===1&&(a.output=_);continue}}}(c==="["&&B()!==":"||c==="-"&&B()==="]")&&(c=`\\${c}`),c==="]"&&(u.value==="["||u.value==="[^")&&(c=`\\${c}`),r.posix===!0&&c==="!"&&u.value==="["&&(c="^"),u.value+=c,xe({value:c});continue}if(l.quotes===1&&c!=='"'){c=V.escapeRegex(c),u.value+=c,xe({value:c});continue}if(c==='"'){l.quotes=l.quotes===1?0:1,r.keepQuotes===!0&&C({type:"text",value:c});continue}if(c==="("){Ce("parens"),C({type:"paren",value:c});continue}if(c===")"){if(l.parens===0&&r.strictBrackets===!0)throw new SyntaxError(de("opening","("));let d=x[x.length-1];if(d&&l.parens===d.parens+1){Cr(x.pop());continue}C({type:"paren",value:c,output:l.parens?")":"\\)"}),ce("parens");continue}if(c==="["){if(r.nobracket===!0||!re().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(de("closing","]"));c=`\\${c}`}else Ce("brackets");C({type:"bracket",value:c});continue}if(c==="]"){if(r.nobracket===!0||u&&u.type==="bracket"&&u.value.length===1){C({type:"text",value:c,output:`\\${c}`});continue}if(l.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(de("opening","["));C({type:"text",value:c,output:`\\${c}`});continue}ce("brackets");let d=u.value.slice(1);if(u.posix!==!0&&d[0]==="^"&&!d.includes("/")&&(c=`/${c}`),u.value+=c,xe({value:c}),r.literalBrackets===!1||V.hasRegexChars(d))continue;let S=V.escapeRegex(u.value);if(l.output=l.output.slice(0,-u.value.length),r.literalBrackets===!0){l.output+=S,u.value=S;continue}u.value=`(${o}${S}|${u.value})`,l.output+=u.value;continue}if(c==="{"&&r.nobrace!==!0){Ce("braces");let d={type:"brace",value:c,output:"(",outputIndex:l.output.length,tokensIndex:l.tokens.length};T.push(d),C(d);continue}if(c==="}"){let d=T[T.length-1];if(r.nobrace===!0||!d){C({type:"text",value:c,output:c});continue}let S=")";if(d.dots===!0){let M=i.slice(),j=[];for(let q=M.length-1;q>=0&&(i.pop(),M[q].type!=="brace");q--)M[q].type!=="dots"&&j.unshift(M[q].value);S=jn(j,r),l.backtrack=!0}if(d.comma!==!0&&d.dots!==!0){let M=l.output.slice(0,d.outputIndex),j=l.tokens.slice(d.tokensIndex);d.value=d.output="\\{",c=S="\\}",l.output=M;for(let q of j)l.output+=q.output||q.value}C({type:"brace",value:c,output:S}),ce("braces"),T.pop();continue}if(c==="|"){x.length>0&&x[x.length-1].conditions++,C({type:"text",value:c});continue}if(c===","){let d=c,S=T[T.length-1];S&&U[U.length-1]==="braces"&&(S.comma=!0,d="|"),C({type:"comma",value:c,output:d});continue}if(c==="/"){if(u.type==="dot"&&l.index===l.start+1){l.start=l.index+1,l.consumed="",l.output="",i.pop(),u=a;continue}C({type:"slash",value:c,output:v});continue}if(c==="."){if(l.braces>0&&u.type==="dot"){u.value==="."&&(u.output=R);let d=T[T.length-1];u.type="dots",u.output+=c,u.value+=c,d.dots=!0;continue}if(l.braces+l.parens===0&&u.type!=="bos"&&u.type!=="slash"){C({type:"text",value:c,output:R});continue}C({type:"dot",value:c,output:R});continue}if(c==="?"){if(!(u&&u.value==="(")&&r.noextglob!==!0&&B()==="("&&B(2)!=="?"){we("qmark",c);continue}if(u&&u.type==="paren"){let S=B(),M=c;if(S==="<"&&!V.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(u.value==="("&&!/[!=<:]/.test(S)||S==="<"&&!/<([!=]|\w+>)/.test(re()))&&(M=`\\${c}`),C({type:"text",value:c,output:M});continue}if(r.dot!==!0&&(u.type==="slash"||u.type==="bos")){C({type:"qmark",value:c,output:k});continue}C({type:"qmark",value:c,output:L});continue}if(c==="!"){if(r.noextglob!==!0&&B()==="("&&(B(2)!=="?"||!/[!=<:]/.test(B(3)))){we("negate",c);continue}if(r.nonegate!==!0&&l.index===0){xr();continue}}if(c==="+"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){we("plus",c);continue}if(u&&u.value==="("||r.regex===!1){C({type:"plus",value:c,output:p});continue}if(u&&(u.type==="bracket"||u.type==="paren"||u.type==="brace")||l.parens>0){C({type:"plus",value:c});continue}C({type:"plus",value:p});continue}if(c==="@"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){C({type:"at",extglob:!0,value:c,output:""});continue}C({type:"text",value:c});continue}if(c!=="*"){(c==="$"||c==="^")&&(c=`\\${c}`);let d=Kn.exec(re());d&&(c+=d[0],l.index+=d[0].length),C({type:"text",value:c});continue}if(u&&(u.type==="globstar"||u.star===!0)){u.type="star",u.star=!0,u.value+=c,u.output=W,l.backtrack=!0,l.globstar=!0,oe(c);continue}let A=re();if(r.noextglob!==!0&&/^\([^?]/.test(A)){we("star",c);continue}if(u.type==="star"){if(r.noglobstar===!0){oe(c);continue}let d=u.prev,S=d.prev,M=d.type==="slash"||d.type==="bos",j=S&&(S.type==="star"||S.type==="globstar");if(r.bash===!0&&(!M||A[0]&&A[0]!=="/")){C({type:"star",value:c,output:""});continue}let q=l.braces>0&&(d.type==="comma"||d.type==="brace"),Me=x.length&&(d.type==="pipe"||d.type==="paren");if(!M&&d.type!=="paren"&&!q&&!Me){C({type:"star",value:c,output:""});continue}for(;A.slice(0,3)==="/**";){let Se=e[l.index+4];if(Se&&Se!=="/")break;A=A.slice(3),oe("/**",3)}if(d.type==="bos"&&$()){u.type="globstar",u.value+=c,u.output=g(r),l.output=u.output,l.globstar=!0,oe(c);continue}if(d.type==="slash"&&d.prev.type!=="bos"&&!j&&$()){l.output=l.output.slice(0,-(d.output+u.output).length),d.output=`(?:${d.output}`,u.type="globstar",u.output=g(r)+(r.strictSlashes?")":"|$)"),u.value+=c,l.globstar=!0,l.output+=d.output+u.output,oe(c);continue}if(d.type==="slash"&&d.prev.type!=="bos"&&A[0]==="/"){let Se=A[1]!==void 0?"|$":"";l.output=l.output.slice(0,-(d.output+u.output).length),d.output=`(?:${d.output}`,u.type="globstar",u.output=`${g(r)}${v}|${v}${Se})`,u.value+=c,l.output+=d.output+u.output,l.globstar=!0,oe(c+Y()),C({type:"slash",value:"/",output:""});continue}if(d.type==="bos"&&A[0]==="/"){u.type="globstar",u.value+=c,u.output=`(?:^|${v}|${g(r)}${v})`,l.output=u.output,l.globstar=!0,oe(c+Y()),C({type:"slash",value:"/",output:""});continue}l.output=l.output.slice(0,-u.output.length),u.type="globstar",u.output=g(r),u.value+=c,l.output+=u.output,l.globstar=!0,oe(c);continue}let O={type:"star",value:c,output:W};if(r.bash===!0){O.output=".*?",(u.type==="bos"||u.type==="slash")&&(O.output=w+O.output),C(O);continue}if(u&&(u.type==="bracket"||u.type==="paren")&&r.regex===!0){O.output=c,C(O);continue}(l.index===l.start||u.type==="slash"||u.type==="dot")&&(u.type==="dot"?(l.output+=E,u.output+=E):r.dot===!0?(l.output+=H,u.output+=H):(l.output+=w,u.output+=w),B()!=="*"&&(l.output+=_,u.output+=_)),C(O)}for(;l.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(de("closing","]"));l.output=V.escapeLast(l.output,"["),ce("brackets")}for(;l.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(de("closing",")"));l.output=V.escapeLast(l.output,"("),ce("parens")}for(;l.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(de("closing","}"));l.output=V.escapeLast(l.output,"{"),ce("braces")}if(r.strictSlashes!==!0&&(u.type==="star"||u.type==="bracket")&&C({type:"maybe_slash",value:"",output:`${v}?`}),l.backtrack===!0){l.output="";for(let A of l.tokens)l.output+=A.output!=null?A.output:A.value,A.suffix&&(l.output+=A.suffix)}return l};nr.fastpaths=(e,t)=>{let r=I({},t),n=typeof r.maxLength=="number"?Math.min(Oe,r.maxLength):Oe,s=e.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);e=rr[e]||e;let a=V.isWindows(t),{DOT_LITERAL:i,SLASH_LITERAL:o,ONE_CHAR:h,DOTS_SLASH:m,NO_DOT:f,NO_DOTS:R,NO_DOTS_SLASH:p,STAR:v,START_ANCHOR:_}=Le.globChars(a),y=r.dot?R:f,b=r.dot?p:f,E=r.capture?"":"?:",H={negated:!1,prefix:""},L=r.bash===!0?".*?":v;r.capture&&(L=`(${L})`);let k=w=>w.noglobstar===!0?L:`(${E}(?:(?!${_}${w.dot?m:i}).)*?)`,J=w=>{switch(w){case"*":return`${y}${h}${L}`;case".*":return`${i}${h}${L}`;case"*.*":return`${y}${L}${i}${h}${L}`;case"*/*":return`${y}${L}${o}${h}${b}${L}`;case"**":return y+k(r);case"**/*":return`(?:${y}${k(r)}${o})?${b}${h}${L}`;case"**/*.*":return`(?:${y}${k(r)}${o})?${b}${L}${i}${h}${L}`;case"**/.*":return`(?:${y}${k(r)}${o})?${i}${h}${L}`;default:{let D=/^(.*?)\.(\w+)$/.exec(w);if(!D)return;let W=J(D[1]);return W?W+i+D[2]:void 0}}},ie=V.removePrefix(e,H),g=J(ie);return g&&r.strictSlashes!==!0&&(g+=`${o}?`),g};tr.exports=nr});var ir=K((ys,ar)=>{"use strict";var Fn=require("path"),Qn=er(),Ze=sr(),Ye=ye(),Xn=Re(),Zn=e=>e&&typeof e=="object"&&!Array.isArray(e),P=(e,t,r=!1)=>{if(Array.isArray(e)){let f=e.map(p=>P(p,t,r));return p=>{for(let v of f){let _=v(p);if(_)return _}return!1}}let n=Zn(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let s=t||{},a=Ye.isWindows(t),i=n?P.compileRe(e,t):P.makeRe(e,t,!1,!0),o=i.state;delete i.state;let h=()=>!1;if(s.ignore){let f=F(I({},t),{ignore:null,onMatch:null,onResult:null});h=P(s.ignore,f,r)}let m=(f,R=!1)=>{let{isMatch:p,match:v,output:_}=P.test(f,i,t,{glob:e,posix:a}),y={glob:e,state:o,regex:i,posix:a,input:f,output:_,match:v,isMatch:p};return typeof s.onResult=="function"&&s.onResult(y),p===!1?(y.isMatch=!1,R?y:!1):h(f)?(typeof s.onIgnore=="function"&&s.onIgnore(y),y.isMatch=!1,R?y:!1):(typeof s.onMatch=="function"&&s.onMatch(y),R?y:!0)};return r&&(m.state=o),m};P.test=(e,t,r,{glob:n,posix:s}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let a=r||{},i=a.format||(s?Ye.toPosixSlashes:null),o=e===n,h=o&&i?i(e):e;return o===!1&&(h=i?i(e):e,o=h===n),(o===!1||a.capture===!0)&&(a.matchBase===!0||a.basename===!0?o=P.matchBase(e,t,r,s):o=t.exec(h)),{isMatch:Boolean(o),match:o,output:h}};P.matchBase=(e,t,r,n=Ye.isWindows(r))=>(t instanceof RegExp?t:P.makeRe(t,r)).test(Fn.basename(e));P.isMatch=(e,t,r)=>P(t,r)(e);P.parse=(e,t)=>Array.isArray(e)?e.map(r=>P.parse(r,t)):Ze(e,F(I({},t),{fastpaths:!1}));P.scan=(e,t)=>Qn(e,t);P.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let s=t||{},a=s.contains?"":"^",i=s.contains?"":"$",o=`${a}(?:${e.output})${i}`;e&&e.negated===!0&&(o=`^(?!${o}).*$`);let h=P.toRegex(o,t);return n===!0&&(h.state=e),h};P.makeRe=(e,t,r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let s=t||{},a={negated:!1,fastpaths:!0},i="",o;return e.startsWith("./")&&(e=e.slice(2),i=a.prefix="./"),s.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(o=Ze.fastpaths(e,t)),o===void 0?(a=Ze(e,t),a.prefix=i+(a.prefix||"")):a.output=o,P.compileRe(a,t,r,n)};P.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};P.constants=Xn;ar.exports=P});var ur=K((_s,or)=>{"use strict";or.exports=ir()});var hr=K((bs,cr)=>{"use strict";var lr=require("util"),pr=Gt(),ae=ur(),ze=ye(),fr=e=>typeof e=="string"&&(e===""||e==="./"),N=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,s=new Set,a=new Set,i=0,o=f=>{a.add(f.output),r&&r.onResult&&r.onResult(f)};for(let f=0;f<t.length;f++){let R=ae(String(t[f]),F(I({},r),{onResult:o}),!0),p=R.state.negated||R.state.negatedExtglob;p&&i++;for(let v of e){let _=R(v,!0);!(p?!_.isMatch:_.isMatch)||(p?n.add(_.output):(n.delete(_.output),s.add(_.output)))}}let m=(i===t.length?[...a]:[...s]).filter(f=>!n.has(f));if(r&&m.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(f=>f.replace(/\\/g,"")):t}return m};N.match=N;N.matcher=(e,t)=>ae(e,t);N.isMatch=(e,t,r)=>ae(t,r)(e);N.any=N.isMatch;N.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,s=[],a=o=>{r.onResult&&r.onResult(o),s.push(o.output)},i=N(e,t,F(I({},r),{onResult:a}));for(let o of s)i.includes(o)||n.add(o);return[...n]};N.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${lr.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>N.contains(e,n,r));if(typeof t=="string"){if(fr(e)||fr(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return N.isMatch(e,t,F(I({},r),{contains:!0}))};N.matchKeys=(e,t,r)=>{if(!ze.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=N(Object.keys(e),t,r),s={};for(let a of n)s[a]=e[a];return s};N.some=(e,t,r)=>{let n=[].concat(e);for(let s of[].concat(t)){let a=ae(String(s),r);if(n.some(i=>a(i)))return!0}return!1};N.every=(e,t,r)=>{let n=[].concat(e);for(let s of[].concat(t)){let a=ae(String(s),r);if(!n.every(i=>a(i)))return!1}return!0};N.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${lr.inspect(e)}"`);return[].concat(t).every(n=>ae(n,r)(e))};N.capture=(e,t,r)=>{let n=ze.isWindows(r),a=ae.makeRe(String(e),F(I({},r),{capture:!0})).exec(n?ze.toPosixSlashes(t):t);if(a)return a.slice(1).map(i=>i===void 0?"":i)};N.makeRe=(...e)=>ae.makeRe(...e);N.scan=(...e)=>ae.scan(...e);N.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let s of pr(String(n),t))r.push(ae.parse(s,t));return r};N.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:pr(e,t)};N.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return N.braces(e,F(I({},t),{expand:!0}))};cr.exports=N});var gr=K((Es,dr)=>{"use strict";dr.exports=(e,...t)=>new Promise(r=>{r(e(...t))})});var Ar=K((xs,Ve)=>{"use strict";var Yn=gr(),mr=e=>{if(e<1)throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=[],r=0,n=()=>{r--,t.length>0&&t.shift()()},s=(o,h,...m)=>{r++;let f=Yn(o,...m);h(f),f.then(n,n)},a=(o,h,...m)=>{r<e?s(o,h,...m):t.push(s.bind(null,o,h,...m))},i=(o,...h)=>new Promise(m=>a(o,m,...h));return Object.defineProperties(i,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length}}),i};Ve.exports=mr;Ve.exports.default=mr});var Vn={};Or(Vn,{default:()=>es});var ve=Q(require("@yarnpkg/cli")),ne=Q(require("@yarnpkg/core")),rt=Q(require("@yarnpkg/core")),le=Q(require("clipanion")),me=class extends ve.BaseCommand{constructor(){super(...arguments);this.json=le.Option.Boolean("--json",!1,{description:"Format the output as an NDJSON stream"});this.production=le.Option.Boolean("--production",!1,{description:"Only install regular dependencies by omitting dev dependencies"});this.all=le.Option.Boolean("-A,--all",!1,{description:"Install the entire project"});this.workspaces=le.Option.Rest()}async execute(){let t=await ne.Configuration.find(this.context.cwd,this.context.plugins),{project:r,workspace:n}=await ne.Project.find(t,this.context.cwd),s=await ne.Cache.find(t);await r.restoreInstallState({restoreResolutions:!1});let a;if(this.all)a=new Set(r.workspaces);else if(this.workspaces.length===0){if(!n)throw new ve.WorkspaceRequiredError(r.cwd,this.context.cwd);a=new Set([n])}else a=new Set(this.workspaces.map(o=>r.getWorkspaceByIdent(rt.structUtils.parseIdent(o))));for(let o of a)for(let h of this.production?["dependencies"]:ne.Manifest.hardDependencies)for(let m of o.manifest.getForScope(h).values()){let f=r.tryWorkspaceByDescriptor(m);f!==null&&a.add(f)}for(let o of r.workspaces)a.has(o)?this.production&&o.manifest.devDependencies.clear():(o.manifest.installConfig=o.manifest.installConfig||{},o.manifest.installConfig.selfReferences=!1,o.manifest.dependencies.clear(),o.manifest.devDependencies.clear(),o.manifest.peerDependencies.clear(),o.manifest.scripts.clear());return(await ne.StreamReport.start({configuration:t,json:this.json,stdout:this.context.stdout,includeLogs:!0},async o=>{await r.install({cache:s,report:o,persistProject:!1})})).exitCode()}};me.paths=[["workspaces","focus"]],me.usage=le.Command.Usage({category:"Workspace-related commands",description:"install a single workspace and its dependencies",details:"\n This command will run an install as if the specified workspaces (and all other workspaces they depend on) were the only ones in the project. If no workspaces are explicitly listed, the active one will be assumed.\n\n Note that this command is only very moderately useful when using zero-installs, since the cache will contain all the packages anyway - meaning that the only difference between a full install and a focused install would just be a few extra lines in the `.pnp.cjs` file, at the cost of introducing an extra complexity.\n\n If the `-A,--all` flag is set, the entire project will be installed. Combine with `--production` to replicate the old `yarn install --production`.\n "});var nt=me;var Ne=Q(require("@yarnpkg/cli")),Ie=Q(require("@yarnpkg/core")),be=Q(require("@yarnpkg/core")),Z=Q(require("@yarnpkg/core")),Rr=Q(require("@yarnpkg/plugin-git")),G=Q(require("clipanion")),Be=Q(hr()),yr=Q(require("os")),_r=Q(Ar()),te=Q(require("typanion")),Ee=class extends Ne.BaseCommand{constructor(){super(...arguments);this.recursive=G.Option.Boolean("-R,--recursive",!1,{description:"Find packages via dependencies/devDependencies instead of using the workspaces field"});this.from=G.Option.Array("--from",[],{description:"An array of glob pattern idents from which to base any recursion"});this.all=G.Option.Boolean("-A,--all",!1,{description:"Run the command on all workspaces of a project"});this.verbose=G.Option.Boolean("-v,--verbose",!1,{description:"Prefix each output line with the name of the originating workspace"});this.parallel=G.Option.Boolean("-p,--parallel",!1,{description:"Run the commands in parallel"});this.interlaced=G.Option.Boolean("-i,--interlaced",!1,{description:"Print the output of commands in real-time instead of buffering it"});this.jobs=G.Option.String("-j,--jobs",{description:"The maximum number of parallel tasks that the execution will be limited to; or `unlimited`",validator:te.isOneOf([te.isEnum(["unlimited"]),te.applyCascade(te.isNumber(),[te.isInteger(),te.isAtLeast(1)])])});this.topological=G.Option.Boolean("-t,--topological",!1,{description:"Run the command after all workspaces it depends on (regular) have finished"});this.topologicalDev=G.Option.Boolean("--topological-dev",!1,{description:"Run the command after all workspaces it depends on (regular + dev) have finished"});this.include=G.Option.Array("--include",[],{description:"An array of glob pattern idents; only matching workspaces will be traversed"});this.exclude=G.Option.Array("--exclude",[],{description:"An array of glob pattern idents; matching workspaces won't be traversed"});this.publicOnly=G.Option.Boolean("--no-private",{description:"Avoid running the command on private workspaces"});this.since=G.Option.String("--since",{description:"Only include workspaces that have been changed since the specified ref.",tolerateBoolean:!0});this.commandName=G.Option.String();this.args=G.Option.Proxy()}async execute(){let t=await Ie.Configuration.find(this.context.cwd,this.context.plugins),{project:r,workspace:n}=await Ie.Project.find(t,this.context.cwd);if(!this.all&&!n)throw new Ne.WorkspaceRequiredError(r.cwd,this.context.cwd);let s=this.cli.process([this.commandName,...this.args]),a=s.path.length===1&&s.path[0]==="run"&&typeof s.scriptName!="undefined"?s.scriptName:null;if(s.path.length===0)throw new G.UsageError("Invalid subcommand name for iteration - use the 'run' keyword if you wish to execute a script");let i=this.all?r.topLevelWorkspace:n,o=this.since?Array.from(await Rr.gitUtils.fetchChangedWorkspaces({ref:this.since,project:r})):[i,...this.from.length>0?i.getRecursiveWorkspaceChildren():[]],h=g=>Be.default.isMatch(Z.structUtils.stringifyIdent(g.locator),this.from),m=this.from.length>0?o.filter(h):o,f=new Set([...m,...m.map(g=>[...this.recursive?this.since?g.getRecursiveWorkspaceDependents():g.getRecursiveWorkspaceDependencies():g.getRecursiveWorkspaceChildren()]).flat()]),R=[],p=!1;if(a==null?void 0:a.includes(":")){for(let g of r.workspaces)if(g.manifest.scripts.has(a)&&(p=!p,p===!1))break}for(let g of f)a&&!g.manifest.scripts.has(a)&&!p||a===process.env.npm_lifecycle_event&&g.cwd===n.cwd||this.include.length>0&&!Be.default.isMatch(Z.structUtils.stringifyIdent(g.locator),this.include)||this.exclude.length>0&&Be.default.isMatch(Z.structUtils.stringifyIdent(g.locator),this.exclude)||this.publicOnly&&g.manifest.private===!0||R.push(g);let v=this.parallel?this.jobs==="unlimited"?Infinity:this.jobs||Math.max(1,(0,yr.cpus)().length/2):1,_=v===1?!1:this.parallel,y=_?this.interlaced:!0,b=(0,_r.default)(v),E=new Map,H=new Set,L=0,k=null,J=!1,ie=await be.StreamReport.start({configuration:t,stdout:this.context.stdout},async g=>{let w=async(D,{commandIndex:W})=>{if(J)return-1;!_&&this.verbose&&W>1&&g.reportSeparator();let l=zn(D,{configuration:t,verbose:this.verbose,commandIndex:W}),[x,T]=br(g,{prefix:l,interlaced:y}),[U,u]=br(g,{prefix:l,interlaced:y});try{this.verbose&&g.reportInfo(null,`${l} Process started`);let c=Date.now(),$=await this.cli.run([this.commandName,...this.args],{cwd:D.cwd,stdout:x,stderr:U})||0;x.end(),U.end(),await T,await u;let B=Date.now();if(this.verbose){let Y=t.get("enableTimers")?`, completed in ${Z.formatUtils.pretty(t,B-c,Z.formatUtils.Type.DURATION)}`:"";g.reportInfo(null,`${l} Process exited (exit code ${$})${Y}`)}return $===130&&(J=!0,k=$),$}catch(c){throw x.end(),U.end(),await T,await u,c}};for(let D of R)E.set(D.anchoredLocator.locatorHash,D);for(;E.size>0&&!g.hasErrors();){let D=[];for(let[x,T]of E){if(H.has(T.anchoredDescriptor.descriptorHash))continue;let U=!0;if(this.topological||this.topologicalDev){let u=this.topologicalDev?new Map([...T.manifest.dependencies,...T.manifest.devDependencies]):T.manifest.dependencies;for(let c of u.values()){let $=r.tryWorkspaceByDescriptor(c);if(U=$===null||!E.has($.anchoredLocator.locatorHash),!U)break}}if(!!U&&(H.add(T.anchoredDescriptor.descriptorHash),D.push(b(async()=>{let u=await w(T,{commandIndex:++L});return E.delete(x),H.delete(T.anchoredDescriptor.descriptorHash),u})),!_))break}if(D.length===0){let x=Array.from(E.values()).map(T=>Z.structUtils.prettyLocator(t,T.anchoredLocator)).join(", ");g.reportError(be.MessageName.CYCLIC_DEPENDENCIES,`Dependency cycle detected (${x})`);return}let l=(await Promise.all(D)).find(x=>x!==0);k===null&&(k=typeof l!="undefined"?1:k),(this.topological||this.topologicalDev)&&typeof l!="undefined"&&g.reportError(be.MessageName.UNNAMED,"The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph")}});return k!==null?k:ie.exitCode()}};Ee.paths=[["workspaces","foreach"]],Ee.usage=G.Command.Usage({category:"Workspace-related commands",description:"run a command on all workspaces",details:"\n This command will run a given sub-command on current and all its descendant workspaces. Various flags can alter the exact behavior of the command:\n\n - If `-p,--parallel` is set, the commands will be ran in parallel; they'll by default be limited to a number of parallel tasks roughly equal to half your core number, but that can be overridden via `-j,--jobs`, or disabled by setting `-j unlimited`.\n\n - If `-p,--parallel` and `-i,--interlaced` are both set, Yarn will print the lines from the output as it receives them. If `-i,--interlaced` wasn't set, it would instead buffer the output from each process and print the resulting buffers only after their source processes have exited.\n\n - If `-t,--topological` is set, Yarn will only run the command after all workspaces that it depends on through the `dependencies` field have successfully finished executing. If `--topological-dev` is set, both the `dependencies` and `devDependencies` fields will be considered when figuring out the wait points.\n\n - If `-A,--all` is set, Yarn will run the command on all the workspaces of a project. By default yarn runs the command only on current and all its descendant workspaces.\n\n - If `-R,--recursive` is set, Yarn will find workspaces to run the command on by recursively evaluating `dependencies` and `devDependencies` fields, instead of looking at the `workspaces` fields.\n\n - If `--from` is set, Yarn will use the packages matching the 'from' glob as the starting point for any recursive search.\n\n - If `--since` is set, Yarn will only run the command on workspaces that have been modified since the specified ref. By default Yarn will use the refs specified by the `changesetBaseRefs` configuration option.\n\n - The command may apply to only some workspaces through the use of `--include` which acts as a whitelist. The `--exclude` flag will do the opposite and will be a list of packages that mustn't execute the script. Both flags accept glob patterns (if valid Idents and supported by [micromatch](https://github.com/micromatch/micromatch)). Make sure to escape the patterns, to prevent your own shell from trying to expand them.\n\n Adding the `-v,--verbose` flag will cause Yarn to print more information; in particular the name of the workspace that generated the output will be printed at the front of each line.\n\n If the command is `run` and the script being run does not exist the child workspace will be skipped without error.\n ",examples:[["Publish current and all descendant packages","yarn workspaces foreach npm publish --tolerate-republish"],["Run build script on current and all descendant packages","yarn workspaces foreach run build"],["Run build script on current and all descendant packages in parallel, building package dependencies first","yarn workspaces foreach -pt run build"],["Run build script on several packages and all their dependencies, building dependencies first","yarn workspaces foreach -ptR --from '{workspace-a,workspace-b}' run build"]]});var Er=Ee;function br(e,{prefix:t,interlaced:r}){let n=e.createStreamReporter(t),s=new Z.miscUtils.DefaultStream;s.pipe(n,{end:!1}),s.on("finish",()=>{n.end()});let a=new Promise(o=>{n.on("finish",()=>{o(s.active)})});if(r)return[s,a];let i=new Z.miscUtils.BufferStream;return i.pipe(s,{end:!1}),i.on("finish",()=>{s.end()}),[i,a]}function zn(e,{configuration:t,commandIndex:r,verbose:n}){if(!n)return null;let s=Z.structUtils.convertToIdent(e.locator),i=`[${Z.structUtils.stringifyIdent(s)}]:`,o=["#2E86AB","#A23B72","#F18F01","#C73E1D","#CCE2A3"],h=o[r%o.length];return Z.formatUtils.pretty(t,i,h)}var Jn={commands:[nt,Er]},es=Jn;return Vn;})();
/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/
/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/
return plugin;
}
};
================================================
FILE: .yarn/releases/yarn-1.22.17.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 = 549);
/******/ })
/************************************************************************/
/******/ ([
/* 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__(227);
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__(46));
}
var _path;
function _load_path() {
return _path = _interopRequireDefault(__webpack_require__(0));
}
var _blockingQueue;
function _load_blockingQueue() {
return _blockingQueue = _interopRequireDefault(__webpack_require__(111));
}
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__(29));
}
var _fsNormalized;
function _load_fsNormalized() {
return _fsNormalized = __webpack_require__(219);
}
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 {}
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__(46);
const path = __webpack_require__(0);
const userHome = __webpack_require__(67).default;
var _require = __webpack_require__(225);
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__(28);
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__(230);
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__(591);
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 */ else
/* nomin */ 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';
} else
// ~1.2.3 == >=1.2.3 <1.3.0
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,
open
gitextract__bqhh5jc/ ├── .github/ │ └── workflows/ │ ├── checks.yml │ ├── documentation.yml │ └── publish.yml ├── .gitignore ├── .husky/ │ └── pre-commit ├── .prettierignore ├── .vscode/ │ └── launch.json ├── .yarn/ │ ├── plugins/ │ │ └── @yarnpkg/ │ │ └── plugin-workspace-tools.cjs │ └── releases/ │ └── yarn-1.22.17.cjs ├── .yarnarc ├── .yarnrc.yml ├── LICENSE ├── README.md ├── archive/ │ ├── figma-paperclip/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bin/ │ │ │ └── figma-paperclip │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── api.ts │ │ │ ├── cli.ts │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ ├── memo.ts │ │ │ ├── state.ts │ │ │ ├── translate-pc.ts │ │ │ ├── translate-utils.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── gatsby-plugin-paperclip/ │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── package.json │ │ ├── src/ │ │ │ ├── gatsby-node.ts │ │ │ ├── index.ts │ │ │ └── resolve.ts │ │ └── tsconfig.json │ ├── paperclip-docco/ │ │ ├── .eslintrc.json │ │ ├── README.md │ │ ├── brainstorm/ │ │ │ └── ui/ │ │ │ ├── app.pc │ │ │ ├── colors.pc │ │ │ ├── test.html │ │ │ └── typography.pc │ │ ├── package.json │ │ ├── paperclip.config.json │ │ └── src/ │ │ └── front-end/ │ │ └── index.ts │ └── paperclip-playground/ │ ├── package.json │ ├── paperclip.config.json │ ├── src/ │ │ ├── frontend/ │ │ │ ├── actions/ │ │ │ │ ├── base.ts │ │ │ │ └── index.ts │ │ │ ├── api/ │ │ │ │ └── index.ts │ │ │ ├── components/ │ │ │ │ ├── Button/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── Main/ │ │ │ │ │ ├── CodeMode/ │ │ │ │ │ │ ├── Slim.tsx │ │ │ │ │ │ ├── Toolbar/ │ │ │ │ │ │ │ └── index.pc │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── prism.css │ │ │ │ │ ├── DesignMode/ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── EditableLabel/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── Menu/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── NoBrowserSupportModal/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── PasswordModal/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── ProjectLoadingModal/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── Projects/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── ShareModal/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── Toolbar/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── auth/ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── oauth.ts │ │ │ │ │ ├── index.pc │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── test.pc │ │ │ │ ├── Modal/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ └── Theme/ │ │ │ │ ├── breakpoints.pc │ │ │ │ └── index.pc │ │ │ ├── entry.tsx │ │ │ ├── hocs/ │ │ │ │ └── withAppStore/ │ │ │ │ └── index.tsx │ │ │ ├── hooks/ │ │ │ │ ├── resources.ts │ │ │ │ ├── useAppStore/ │ │ │ │ │ └── index.ts │ │ │ │ └── useQuery.ts │ │ │ ├── reducers/ │ │ │ │ └── index.ts │ │ │ ├── sagas/ │ │ │ │ ├── api.ts │ │ │ │ ├── engine-worker.ts │ │ │ │ ├── engine.ts │ │ │ │ ├── index.ts │ │ │ │ ├── location.ts │ │ │ │ ├── resources.ts │ │ │ │ └── utils.ts │ │ │ ├── state/ │ │ │ │ └── index.ts │ │ │ └── utils/ │ │ │ └── string-editor.ts │ │ ├── index.html │ │ └── index.ts │ ├── todos.md │ ├── tsconfig.json │ └── webpack.config.js ├── examples/ │ ├── react-basic/ │ │ ├── README.md │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── sandbox.config.json │ │ ├── src/ │ │ │ ├── CustomGroceryList.pc │ │ │ ├── GroceryList.pc │ │ │ ├── GroceryList.tsx │ │ │ ├── breakpoints.pc │ │ │ ├── entry.tsx │ │ │ └── index.html │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── syntax-basic/ │ │ ├── README.md │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── sandbox.config.json │ │ └── src/ │ │ └── hello.pc │ ├── tailwind/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── sandbox.config.json │ │ ├── src/ │ │ │ ├── index.pc │ │ │ └── tailwind.scss │ │ └── tailwind.config.js │ ├── tailwind-and-animate/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── css-modules/ │ │ │ └── animate.css │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── sandbox.config.json │ │ ├── src/ │ │ │ ├── hello-paperclip.pc │ │ │ └── tailwind.scss │ │ └── tailwind.config.js │ └── tailwind-and-bootstrap-example/ │ ├── .gitignore │ ├── css-modules/ │ │ └── bootstrap/ │ │ ├── bootstrap-grid.css │ │ ├── bootstrap-grid.rtl.css │ │ ├── bootstrap-reboot.css │ │ ├── bootstrap-reboot.rtl.css │ │ ├── bootstrap-utilities.css │ │ ├── bootstrap-utilities.rtl.css │ │ ├── bootstrap.css │ │ └── bootstrap.rtl.css │ ├── package.json │ ├── paperclip.config.json │ ├── src/ │ │ ├── hello-paperclip.pc │ │ └── tailwind.scss │ └── tailwind.config.js ├── lerna.json ├── package.json ├── packages/ │ ├── avocode-paperclip/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── package.json │ │ ├── src/ │ │ │ ├── api.ts │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── figma-paperclip/ │ │ ├── LICENSE │ │ ├── bin/ │ │ │ └── figma-paperclip │ │ ├── examples/ │ │ │ └── wrapper-module/ │ │ │ ├── .gitignore │ │ │ ├── figma-paperclip.config.js │ │ │ ├── figma-paperclip.json.backup │ │ │ ├── package.json │ │ │ └── paperclip.config.json │ │ ├── package.json │ │ ├── src/ │ │ │ ├── api.ts │ │ │ ├── constants.ts │ │ │ ├── graph.ts │ │ │ ├── index.ts │ │ │ ├── init.ts │ │ │ ├── memo.ts │ │ │ ├── pull.ts │ │ │ ├── state.ts │ │ │ ├── translate/ │ │ │ │ ├── context.ts │ │ │ │ ├── index.ts │ │ │ │ ├── modules.ts │ │ │ │ ├── pages.ts │ │ │ │ └── utils.ts │ │ │ ├── translate2/ │ │ │ │ ├── context.ts │ │ │ │ ├── index.ts │ │ │ │ ├── pages.ts │ │ │ │ └── state.ts │ │ │ └── utils.ts │ │ ├── todos.md │ │ └── tsconfig.json │ ├── jest-paperclip/ │ │ ├── LICENSE │ │ ├── package.json │ │ ├── src/ │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── paperclip-autocomplete/ │ │ ├── .eslintrc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ ├── string-scanner.ts │ │ │ ├── suggest-context.ts │ │ │ ├── test/ │ │ │ │ ├── suggest-context-test.ts │ │ │ │ └── tokenize-test.ts │ │ │ └── tokenizer.ts │ │ └── tsconfig.json │ ├── paperclip-builder/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── build.ts │ │ │ ├── errors.ts │ │ │ ├── index.ts │ │ │ ├── resolve-compilers.ts │ │ │ ├── test/ │ │ │ │ ├── basic-test.ts │ │ │ │ ├── build-test.ts │ │ │ │ ├── resolve-compilers-test.ts │ │ │ │ └── utils.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-cli/ │ │ ├── .eslintrc.json │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin/ │ │ │ └── paperclip │ │ ├── package.json │ │ ├── src/ │ │ │ ├── cli.ts │ │ │ ├── coverage.ts │ │ │ ├── dev.ts │ │ │ ├── init.ts │ │ │ ├── install-module.ts │ │ │ ├── pretty-message.ts │ │ │ ├── scaffolding/ │ │ │ │ ├── generators/ │ │ │ │ │ ├── base.ts │ │ │ │ │ ├── files/ │ │ │ │ │ │ ├── .babelrc │ │ │ │ │ │ ├── entry-tsx │ │ │ │ │ │ ├── hello-paperclip.pc │ │ │ │ │ │ ├── tsconfig.json │ │ │ │ │ │ └── webpack.config-js │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── javascript.ts │ │ │ │ │ ├── node.ts │ │ │ │ │ ├── percy.ts │ │ │ │ │ ├── react.ts │ │ │ │ │ ├── root.ts │ │ │ │ │ ├── typescript.ts │ │ │ │ │ ├── utils.ts │ │ │ │ │ └── webpack.ts │ │ │ │ └── index.ts │ │ │ └── test/ │ │ │ └── basic-test.ts │ │ └── tsconfig.json │ ├── paperclip-cli-minimal/ │ │ ├── .eslintrc.json │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin/ │ │ │ └── paperclip │ │ ├── package.json │ │ ├── src/ │ │ │ ├── build.ts │ │ │ ├── cli.ts │ │ │ └── tm.d.ts │ │ └── tsconfig.json │ ├── paperclip-cli-utils/ │ │ ├── .eslintrc.json │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin/ │ │ │ └── paperclip │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ └── pretty-message.ts │ │ └── tsconfig.json │ ├── paperclip-common/ │ │ ├── LICENSE │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── bindable/ │ │ │ │ └── index.ts │ │ │ ├── disposable.ts │ │ │ ├── em.ts │ │ │ ├── events.ts │ │ │ ├── immutable-store.ts │ │ │ ├── index.ts │ │ │ ├── kernel.ts │ │ │ ├── log.ts │ │ │ ├── promise.ts │ │ │ ├── remote-channel.ts │ │ │ ├── rpc/ │ │ │ │ ├── adapters.ts │ │ │ │ ├── chan.ts │ │ │ │ ├── index.ts │ │ │ │ └── spy.ts │ │ │ ├── services.ts │ │ │ ├── string-editor.ts │ │ │ └── test-utils/ │ │ │ ├── index.ts │ │ │ └── tmp-fixtures.ts │ │ └── tsconfig.json │ ├── paperclip-compiler-base-jsx/ │ │ ├── .eslintrc.json │ │ ├── package.json │ │ ├── src/ │ │ │ ├── code-compiler.ts │ │ │ ├── definition-compiler.ts │ │ │ ├── index.ts │ │ │ ├── test/ │ │ │ │ ├── index.ts │ │ │ │ ├── test-suite.ts │ │ │ │ └── utils.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-compiler-html/ │ │ ├── .eslintrc.json │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ ├── test/ │ │ │ │ └── basic-test.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-compiler-php/ │ │ └── examples/ │ │ └── test/ │ │ └── src/ │ │ └── test.pc.php │ ├── paperclip-compiler-react/ │ │ ├── .eslintrc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── inernals.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ └── test/ │ │ │ ├── basic-test.tsx │ │ │ └── css-test.tsx │ │ └── tsconfig.json │ ├── paperclip-core/ │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── babel.config.json │ │ ├── browser.d.ts │ │ ├── browser.js │ │ ├── examples/ │ │ │ ├── codepen/ │ │ │ │ ├── bird-game.pc │ │ │ │ ├── pure-css-accordion.pc │ │ │ │ └── pure-css-buttons.pc │ │ │ ├── paperclip.config.json │ │ │ └── test.css │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── native/ │ │ │ ├── Cargo.toml │ │ │ ├── artifacts.json │ │ │ ├── build.rsx │ │ │ ├── bundler/ │ │ │ │ ├── paperclip.d.ts │ │ │ │ ├── paperclip.js │ │ │ │ ├── paperclip_bg.js │ │ │ │ ├── paperclip_bg.wasm │ │ │ │ └── paperclip_bg.wasm.d.ts │ │ │ ├── rustfmt.toml │ │ │ └── src/ │ │ │ ├── annotation/ │ │ │ │ ├── ast.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parser.rs │ │ │ │ ├── runtime.rs │ │ │ │ └── tokenizer.rs │ │ │ ├── base/ │ │ │ │ ├── ast.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parser.rs │ │ │ │ ├── runtime.rs │ │ │ │ ├── string_scanner.rs │ │ │ │ ├── tokenizer.rs │ │ │ │ └── utils.rs │ │ │ ├── core/ │ │ │ │ ├── ast.rs │ │ │ │ ├── diagnostics.rs │ │ │ │ ├── eval.rs │ │ │ │ ├── eval_utils.rs │ │ │ │ ├── graph.rs │ │ │ │ ├── id_generator.rs │ │ │ │ ├── mod.rs │ │ │ │ └── vfs.rs │ │ │ ├── coverage/ │ │ │ │ ├── mod.rs │ │ │ │ └── reporter.rs │ │ │ ├── css/ │ │ │ │ ├── ast.rs │ │ │ │ ├── base.rs │ │ │ │ ├── declaration_value_ast.rs │ │ │ │ ├── declaration_value_parser.rs │ │ │ │ ├── media_ast.rs │ │ │ │ ├── media_parser.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parser.rs │ │ │ │ ├── runtime/ │ │ │ │ │ ├── cache.rs │ │ │ │ │ ├── diff.rs │ │ │ │ │ ├── evaluator.rs │ │ │ │ │ ├── export.rs │ │ │ │ │ ├── media_match.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── mutation.rs │ │ │ │ │ ├── specificity.rs │ │ │ │ │ └── virt.rs │ │ │ │ └── tokenizer.rs │ │ │ ├── engine/ │ │ │ │ ├── diagnostics.rs │ │ │ │ ├── engine.rs │ │ │ │ ├── errors.rs │ │ │ │ ├── mod.rs │ │ │ │ └── test_utils.rs │ │ │ ├── lib.rs │ │ │ ├── pc/ │ │ │ │ ├── ast.rs │ │ │ │ ├── get_info.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parser.rs │ │ │ │ ├── runtime/ │ │ │ │ │ ├── annotation_evaluator.rs │ │ │ │ │ ├── cache.rs │ │ │ │ │ ├── diff.rs │ │ │ │ │ ├── evaluator.rs │ │ │ │ │ ├── export.rs │ │ │ │ │ ├── inspect_node_styles.rs │ │ │ │ │ ├── inspect_selector_info.rs │ │ │ │ │ ├── inspector.rs │ │ │ │ │ ├── lint.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── mutation.rs │ │ │ │ │ ├── selector_match.rs │ │ │ │ │ └── virt.rs │ │ │ │ └── tokenizer.rs │ │ │ └── script/ │ │ │ ├── ast.rs │ │ │ ├── mod.rs │ │ │ ├── parser.rs │ │ │ ├── runtime/ │ │ │ │ ├── evaluator.rs │ │ │ │ ├── mod.rs │ │ │ │ └── virt.rs │ │ │ └── tokenizer.rs │ │ ├── package.json │ │ ├── pkg/ │ │ │ └── index.js │ │ ├── src/ │ │ │ ├── core/ │ │ │ │ ├── delegate.ts │ │ │ │ ├── index.ts │ │ │ │ ├── infer.ts │ │ │ │ └── utils.ts │ │ │ ├── node/ │ │ │ │ ├── async-delegate.ts │ │ │ │ ├── delegate-worker.ts │ │ │ │ ├── index.ts │ │ │ │ └── sync-delegate.ts │ │ │ └── test/ │ │ │ ├── file-system/ │ │ │ │ ├── pc-test.ts │ │ │ │ └── resolve-test.ts │ │ │ ├── utils.ts │ │ │ └── virtual/ │ │ │ ├── annotate-test.ts │ │ │ ├── css-compile-test.ts │ │ │ ├── css-test.ts │ │ │ ├── error-test.ts │ │ │ ├── infer-test.ts │ │ │ ├── inspect-test.ts │ │ │ ├── lint-test.ts │ │ │ ├── pc-test.ts │ │ │ └── raws-test.ts │ │ ├── test-fixtures/ │ │ │ ├── .vscode/ │ │ │ │ └── settings.json │ │ │ ├── modules/ │ │ │ │ ├── @nested/ │ │ │ │ │ └── in/ │ │ │ │ │ └── a/ │ │ │ │ │ └── folder/ │ │ │ │ │ ├── package.json │ │ │ │ │ ├── paperclip.config.json │ │ │ │ │ └── src/ │ │ │ │ │ ├── component.pc │ │ │ │ │ ├── imp-mod-a.pc │ │ │ │ │ ├── module.pc │ │ │ │ │ └── test.pc │ │ │ │ └── module-a/ │ │ │ │ ├── package.json │ │ │ │ ├── paperclip.config.json │ │ │ │ └── src/ │ │ │ │ ├── component.pc │ │ │ │ ├── module.pc │ │ │ │ └── test.pc │ │ │ ├── paperclip.config.json │ │ │ └── src/ │ │ │ ├── bad-css-url.pc │ │ │ ├── bad-import.pc │ │ │ ├── good-import.pc │ │ │ ├── hello-world.pc │ │ │ ├── mod-a-import.pc │ │ │ ├── mod-import.pc │ │ │ ├── module.pc │ │ │ └── nested-mod-import.pc │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json │ ├── paperclip-coverage/ │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── src/ │ │ │ ├── constants.ts │ │ │ ├── generate/ │ │ │ │ ├── html/ │ │ │ │ │ ├── index.ts │ │ │ │ │ └── ui/ │ │ │ │ │ ├── atoms.pc │ │ │ │ │ ├── file-report.pc │ │ │ │ │ ├── page.pc │ │ │ │ │ └── report.pc │ │ │ │ └── stdout/ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── state.ts │ │ └── tsconfig.json │ ├── paperclip-diff/ │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── src/ │ │ │ ├── cli.ts │ │ │ ├── core.ts │ │ │ ├── index.ts │ │ │ ├── report/ │ │ │ │ ├── html/ │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── page.pc │ │ │ │ │ └── report.pc │ │ │ │ ├── index.ts │ │ │ │ └── stdout/ │ │ │ │ └── index.ts │ │ │ ├── snapshots.ts │ │ │ ├── state.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-diff-utils/ │ │ ├── bin/ │ │ │ └── paperclip-diff │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ ├── pc-document.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-editor-engine/ │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── client/ │ │ │ │ ├── client.ts │ │ │ │ ├── documents/ │ │ │ │ │ ├── base.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── pc/ │ │ │ │ │ ├── index.ts │ │ │ │ │ └── source.ts │ │ │ │ └── internal-client.ts │ │ │ ├── core/ │ │ │ │ ├── channels/ │ │ │ │ │ ├── document.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── virtual-object.ts │ │ │ │ ├── crdt-document.ts │ │ │ │ ├── documents.ts │ │ │ │ ├── index.ts │ │ │ │ ├── string-editor.ts │ │ │ │ ├── utils.ts │ │ │ │ └── virtual-object-edit.ts │ │ │ ├── host/ │ │ │ │ ├── connection.ts │ │ │ │ ├── documents/ │ │ │ │ │ ├── base.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── manager.ts │ │ │ │ │ ├── pc-document-editor.ts │ │ │ │ │ ├── pc-source.ts │ │ │ │ │ └── pc.ts │ │ │ │ └── host.ts │ │ │ ├── index.ts │ │ │ └── test/ │ │ │ ├── basic-test.ts │ │ │ ├── preview-test.ts │ │ │ ├── utils.ts │ │ │ └── virtual-edit-test.ts │ │ └── tsconfig.json │ ├── paperclip-interim/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ ├── state/ │ │ │ │ ├── assets.ts │ │ │ │ ├── css.ts │ │ │ │ ├── html.ts │ │ │ │ ├── index.ts │ │ │ │ ├── module.ts │ │ │ │ ├── options.ts │ │ │ │ └── script.ts │ │ │ ├── test/ │ │ │ │ ├── basic-test.ts │ │ │ │ └── utils.ts │ │ │ └── translate/ │ │ │ ├── assets.ts │ │ │ ├── css.ts │ │ │ ├── html.ts │ │ │ ├── index.ts │ │ │ ├── module.ts │ │ │ ├── options.ts │ │ │ ├── script.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-language-service/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── autocomplete.ts │ │ │ ├── collect-ast-info.ts │ │ │ ├── completion-items.ts │ │ │ ├── css-color-names.ts │ │ │ ├── css-decl-name-constants.ts │ │ │ ├── css-decl-value-constants.ts │ │ │ ├── error-service.ts │ │ │ ├── index.ts │ │ │ ├── language-service.ts │ │ │ ├── state.ts │ │ │ ├── tag-name-constants.ts │ │ │ ├── test/ │ │ │ │ ├── basic-test.ts │ │ │ │ ├── colors-test.ts │ │ │ │ ├── definitions-test.ts │ │ │ │ ├── links-test.ts │ │ │ │ └── suggestion-test.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── paperclip-loader/ │ │ ├── .eslintrc.json │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ └── test/ │ │ │ └── basic-test.ts │ │ └── tsconfig.json │ ├── paperclip-monaco/ │ │ ├── LICENSE │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ └── languages/ │ │ │ ├── adapter.ts │ │ │ ├── html.ts │ │ │ ├── pcss.ts │ │ │ ├── register.ts │ │ │ ├── script.ts │ │ │ ├── service/ │ │ │ │ ├── ast-info.ts │ │ │ │ ├── async-provider.ts │ │ │ │ ├── autocomplete.ts │ │ │ │ ├── base.ts │ │ │ │ ├── channel.ts │ │ │ │ ├── css-color-names.ts │ │ │ │ ├── css-constants.ts │ │ │ │ ├── css-declaration-constants.ts │ │ │ │ ├── index.ts │ │ │ │ └── worker.ts │ │ │ └── worker.ts │ │ └── tsconfig.json │ ├── paperclip-repl/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── src/ │ │ │ ├── app.ts │ │ │ ├── controllers/ │ │ │ │ ├── channel-handler.ts │ │ │ │ ├── channels.ts │ │ │ │ ├── designer/ │ │ │ │ │ └── index.ts │ │ │ │ ├── paperclip.ts │ │ │ │ ├── parent.ts │ │ │ │ ├── worker/ │ │ │ │ │ ├── designer-channel-handler.ts │ │ │ │ │ ├── entry.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── io.ts │ │ │ │ │ └── paperclip.ts │ │ │ │ └── worker-connection.ts │ │ │ ├── entry.tsx │ │ │ ├── index.html │ │ │ └── index.ts │ │ ├── tsconfig.json │ │ └── webpack/ │ │ ├── webpack.config-base.js │ │ ├── webpack.config-esm.js │ │ ├── webpack.config-web.js │ │ └── webpack.config.js │ ├── paperclip-source-writer/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── package.json │ │ ├── src/ │ │ │ ├── index.ts │ │ │ ├── mutations.ts │ │ │ ├── string-editor.ts │ │ │ ├── test/ │ │ │ │ ├── basic-test.ts │ │ │ │ └── utils.ts │ │ │ └── writer.ts │ │ └── tsconfig.json │ ├── paperclip-test-utils/ │ │ ├── LICENSE │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── paperclip-utils/ │ │ ├── .eslintrc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── base/ │ │ │ │ ├── ast.ts │ │ │ │ └── virt.ts │ │ │ ├── core/ │ │ │ │ ├── actions.ts │ │ │ │ ├── ast.ts │ │ │ │ ├── config.ts │ │ │ │ ├── constants.ts │ │ │ │ ├── diagnostics.ts │ │ │ │ ├── errors.ts │ │ │ │ ├── events.ts │ │ │ │ ├── graph.ts │ │ │ │ ├── memo.ts │ │ │ │ ├── module-ast.ts │ │ │ │ ├── promise.ts │ │ │ │ ├── report.ts │ │ │ │ ├── resolve.ts │ │ │ │ ├── url.ts │ │ │ │ └── utils.ts │ │ │ ├── css/ │ │ │ │ ├── ast.ts │ │ │ │ ├── decl-value-ast.ts │ │ │ │ ├── exports.ts │ │ │ │ ├── patcher.ts │ │ │ │ ├── stringify-sheet.ts │ │ │ │ ├── style-inspection.ts │ │ │ │ ├── virt-mutation.ts │ │ │ │ └── virt.ts │ │ │ ├── html/ │ │ │ │ ├── ast.ts │ │ │ │ ├── exports.ts │ │ │ │ ├── patcher.ts │ │ │ │ ├── stringify-virt-node.ts │ │ │ │ ├── tree.ts │ │ │ │ ├── virt-mtuation.ts │ │ │ │ └── virt.ts │ │ │ ├── index.ts │ │ │ ├── node/ │ │ │ │ └── source-watcher.ts │ │ │ ├── script/ │ │ │ │ ├── ast.ts │ │ │ │ └── virt.ts │ │ │ └── test/ │ │ │ ├── basic-test.ts │ │ │ └── config-test.ts │ │ └── tsconfig.json │ ├── paperclip-vscode/ │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── .nycrc.json │ │ ├── .vscodeignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── languages/ │ │ │ ├── paperclip-css-language-configuration.json │ │ │ └── paperclip-html-language-configuration.json │ │ ├── package.json │ │ ├── paperclip/ │ │ │ ├── .vscodeignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── language-configuration.json │ │ │ ├── package.json │ │ │ └── syntaxes/ │ │ │ └── paperclip.tmLanguage.json │ │ ├── scripts/ │ │ │ ├── scrape-css-declarations.js │ │ │ └── utils.js │ │ ├── src/ │ │ │ ├── extension/ │ │ │ │ ├── channels.ts │ │ │ │ ├── command-manager.ts │ │ │ │ ├── document-manager.ts │ │ │ │ ├── index.ts │ │ │ │ ├── language/ │ │ │ │ │ ├── client.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── server/ │ │ │ │ │ ├── connection.ts │ │ │ │ │ ├── design-server.ts │ │ │ │ │ ├── documents.ts │ │ │ │ │ ├── events.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── resolver.ts │ │ │ │ ├── preview/ │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── live-window-manager.ts │ │ │ │ │ ├── live-window.ts │ │ │ │ │ └── service.ts │ │ │ │ ├── rpc/ │ │ │ │ │ └── index.ts │ │ │ │ ├── utils.ts │ │ │ │ └── version-check.ts │ │ │ └── scripts/ │ │ │ ├── build.ts │ │ │ └── theme.ts │ │ ├── syntaxes/ │ │ │ ├── highlight-test.pc │ │ │ ├── paperclip-css.json │ │ │ ├── paperclip-css.yml │ │ │ ├── paperclip-html.json │ │ │ ├── paperclip-html.yaml │ │ │ └── paperclip.tmLanguage.json │ │ └── tsconfig.json │ ├── paperclip-web-renderer/ │ │ ├── .eslintrc.json │ │ ├── .yo-rc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── browser.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── base.ts │ │ │ ├── cssom-patcher.ts │ │ │ ├── dom-patcher.ts │ │ │ ├── frame-renderer.ts │ │ │ ├── frame2-renderer.ts │ │ │ ├── frames-patcher.ts │ │ │ ├── index.ts │ │ │ ├── native-renderer.ts │ │ │ ├── renderer.ts │ │ │ ├── test/ │ │ │ │ ├── change-test.ts │ │ │ │ ├── frame-test.ts │ │ │ │ ├── fuzzy-test.ts │ │ │ │ ├── random/ │ │ │ │ │ ├── document.ts │ │ │ │ │ ├── html.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── styles.ts │ │ │ │ │ └── utils.ts │ │ │ │ └── utils.ts │ │ │ └── utils/ │ │ │ ├── index.ts │ │ │ └── misc.ts │ │ ├── tsconfig.json │ │ ├── uis/ │ │ │ ├── loader.pc │ │ │ └── paperclip.config.json │ │ └── webpack.config.js │ ├── paperclip-website/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── babel.config.js │ │ ├── blog/ │ │ │ └── 2020-03-01-introducing-paperclip.md │ │ ├── docs/ │ │ │ ├── configure-jest.md │ │ │ ├── configure-paperclip.md │ │ │ ├── configure-percy.md │ │ │ ├── configure-prettier.md │ │ │ ├── configure-webpack.md │ │ │ ├── getting-started-cofigure.md │ │ │ ├── getting-started-cra.md │ │ │ ├── getting-started-first-ui.md │ │ │ ├── getting-started-new-project.md │ │ │ ├── getting-started-vscode.md │ │ │ ├── getting-started-webpack.md │ │ │ ├── guide-compiler.md │ │ │ ├── guide-dynamic-styles.md │ │ │ ├── guide-how-to-use.md │ │ │ ├── guide-migrating-to-paperclip.md │ │ │ ├── guide-modules.md │ │ │ ├── guide-organization.md │ │ │ ├── guide-theming.md │ │ │ ├── guide-theming2.md │ │ │ ├── guide-thinking-in-paperclip.md │ │ │ ├── guide-third-party-libraries.md │ │ │ ├── guide-visual-tools.md │ │ │ ├── guide-vscode.md │ │ │ ├── guide-why.md │ │ │ ├── guide-workarounds.md │ │ │ ├── guide-writing-components.md │ │ │ ├── guide-writing-previews.md │ │ │ ├── installation.md │ │ │ ├── introduction.md │ │ │ ├── usage-cli.md │ │ │ ├── usage-react.md │ │ │ ├── usage-syntax.md │ │ │ ├── usage-troubleshooting.md │ │ │ ├── visual-regression-tooling.md │ │ │ └── visual-tooling.md │ │ ├── docusaurus.config.js │ │ ├── draft/ │ │ │ ├── 2021-01-05-scoped-css.md │ │ │ ├── 2021-12-31-avoiding-vendor-lock-in.md │ │ │ └── 2021-scoped-css-for-everyone.md │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── plugins/ │ │ │ ├── live-editor.js │ │ │ ├── paperclip.js │ │ │ ├── shim/ │ │ │ │ └── index.js │ │ │ └── theme/ │ │ │ └── CodeBlock/ │ │ │ └── index.jsx │ │ ├── sidebars.js │ │ ├── src/ │ │ │ ├── css/ │ │ │ │ └── custom.css │ │ │ ├── demos/ │ │ │ │ ├── ice-cream-loader.js │ │ │ │ ├── import-code.js │ │ │ │ ├── main.js │ │ │ │ ├── simple-pc.js │ │ │ │ ├── site-demo.js │ │ │ │ ├── tailwind-and-animate.js │ │ │ │ ├── tailwind.css.js │ │ │ │ └── third-party-css.js │ │ │ ├── pages/ │ │ │ │ ├── index-old.js │ │ │ │ ├── index.js │ │ │ │ ├── repl.js │ │ │ │ └── styles.module.css │ │ │ └── styles/ │ │ │ ├── button.pc │ │ │ ├── colors.pc │ │ │ ├── fonts/ │ │ │ │ ├── open-sans/ │ │ │ │ │ └── font-face.pc │ │ │ │ ├── preview.pc │ │ │ │ ├── roboto/ │ │ │ │ │ └── font-face.pc │ │ │ │ └── sora/ │ │ │ │ └── font-face.pc │ │ │ ├── icons/ │ │ │ │ └── icons.pc │ │ │ ├── index-backend.pc │ │ │ ├── index.pc │ │ │ ├── index2.pc │ │ │ ├── layout.pc │ │ │ ├── test.pc │ │ │ ├── test2.pc │ │ │ ├── test3.pc │ │ │ └── typography.pc │ │ └── static/ │ │ ├── .nojekyll │ │ └── CNAME │ ├── percy-paperclip/ │ │ ├── .eslintrc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin/ │ │ │ └── percy-paperclip │ │ ├── package.json │ │ ├── src/ │ │ │ ├── cli.ts │ │ │ ├── static-server.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── prettier-plugin-paperclip/ │ │ ├── LICENSE │ │ ├── examples/ │ │ │ ├── test.css │ │ │ └── test.pc │ │ ├── fixtures/ │ │ │ ├── .prettierignore │ │ │ ├── basic-comment-in.pc │ │ │ ├── basic-comment-out.pc │ │ │ ├── basic-in.pc │ │ │ ├── basic-out.pc │ │ │ ├── basic-style-in.pc │ │ │ └── basic-style-out.pc │ │ ├── package.json │ │ ├── src/ │ │ │ ├── embed.ts │ │ │ ├── index.ts │ │ │ ├── options.ts │ │ │ ├── print.ts │ │ │ ├── test/ │ │ │ │ └── print-test.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── tandem-common/ │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── disposable.ts │ │ │ ├── http-server.ts │ │ │ ├── index.ts │ │ │ ├── logger.ts │ │ │ ├── mime.ts │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── tandem-design-system/ │ │ ├── .gitignore │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── src/ │ │ │ ├── Button.pc │ │ │ ├── Page.pc │ │ │ ├── TextInput.pc │ │ │ ├── TextInput.tsx │ │ │ ├── atoms.pc │ │ │ ├── index.tsx │ │ │ ├── open-sans/ │ │ │ │ └── font-face.pc │ │ │ └── roboto/ │ │ │ └── index.pc │ │ └── tsconfig.json │ ├── tandem-designer/ │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── README.md │ │ ├── babel.config.js │ │ ├── brainstorm/ │ │ │ └── ui/ │ │ │ └── index.pc │ │ ├── gitignore │ │ ├── jest.config.ts │ │ ├── package.json │ │ ├── paperclip.config.json │ │ ├── src/ │ │ │ ├── __TEST__/ │ │ │ │ ├── basic.test.tsx │ │ │ │ ├── edit.test.tsx │ │ │ │ ├── hotkeys.test.tsx │ │ │ │ ├── ui.test.tsx │ │ │ │ └── utils.ts │ │ │ ├── actions/ │ │ │ │ ├── base.ts │ │ │ │ ├── external-actions.ts │ │ │ │ ├── index.ts │ │ │ │ ├── instance-actions.ts │ │ │ │ ├── server-actions.ts │ │ │ │ ├── ui-actions.ts │ │ │ │ ├── util.ts │ │ │ │ └── workspace-actions.ts │ │ │ ├── app.tsx │ │ │ ├── components/ │ │ │ │ ├── Box/ │ │ │ │ │ └── index.pc │ │ │ │ ├── Field/ │ │ │ │ │ └── index.pc │ │ │ │ ├── FrameContainer/ │ │ │ │ │ └── index.tsx │ │ │ │ ├── Grid/ │ │ │ │ │ └── index.pc │ │ │ │ ├── InfiniteScroller/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── List/ │ │ │ │ │ └── index.pc │ │ │ │ ├── Main/ │ │ │ │ │ ├── CodeMode/ │ │ │ │ │ │ ├── MonacoEditor/ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── SlimEditor/ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ ├── prism.css │ │ │ │ │ │ │ ├── theme.css │ │ │ │ │ │ │ └── theme.ts │ │ │ │ │ │ ├── Toolbar/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── DesignMode/ │ │ │ │ │ │ ├── Birdseye/ │ │ │ │ │ │ │ ├── Cell.tsx │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── Canvas/ │ │ │ │ │ │ │ ├── Frames/ │ │ │ │ │ │ │ │ ├── Frame.tsx │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ ├── Preview/ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ ├── Tools/ │ │ │ │ │ │ │ │ ├── Distance/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── Empty/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── Frames/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── Pixels/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── Selectable/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── TextEditor/ │ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── normalize-wheel.ts │ │ │ │ │ │ ├── ErrorBanner/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── Footer/ │ │ │ │ │ │ │ ├── Breadcrumbs/ │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ ├── Layers/ │ │ │ │ │ │ │ │ ├── Children.tsx │ │ │ │ │ │ │ │ ├── Element.tsx │ │ │ │ │ │ │ │ ├── Node.tsx │ │ │ │ │ │ │ │ ├── Text.tsx │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── LeftSidebar/ │ │ │ │ │ │ │ └── index.pc │ │ │ │ │ │ ├── MediaPreview/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── Quickfind/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── RightSidebar/ │ │ │ │ │ │ │ ├── CSSInspector/ │ │ │ │ │ │ │ │ ├── ComputedInspector/ │ │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ │ └── squash-inspection.ts │ │ │ │ │ │ │ │ ├── Declaration/ │ │ │ │ │ │ │ │ │ ├── Name.tsx │ │ │ │ │ │ │ │ │ ├── Value.tsx │ │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ │ ├── useDeclarationPart.ts │ │ │ │ │ │ │ │ │ └── utils.ts │ │ │ │ │ │ │ │ ├── DeclarationList.tsx │ │ │ │ │ │ │ │ ├── RuleInspector/ │ │ │ │ │ │ │ │ │ ├── StyleRule.tsx │ │ │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ └── inputs/ │ │ │ │ │ │ │ │ └── ColorPicker/ │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ ├── styles.pc │ │ │ │ │ │ │ │ └── utils.ts │ │ │ │ │ │ │ ├── Inspector/ │ │ │ │ │ │ │ │ └── index.pc │ │ │ │ │ │ │ ├── MoreStyles/ │ │ │ │ │ │ │ │ └── index.pc │ │ │ │ │ │ │ ├── PrettyStyler/ │ │ │ │ │ │ │ │ └── index.pc │ │ │ │ │ │ │ ├── computed-styles.pc │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── Toolbar/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── index2.pc │ │ │ │ │ │ ├── WindowResizer/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── LeftSidebar/ │ │ │ │ │ │ ├── Header/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── files/ │ │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.pc │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── symbols/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── Pane/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── TextEditor/ │ │ │ │ │ │ └── index.pc │ │ │ │ │ ├── create-app-store.ts │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── Modal/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── Pane/ │ │ │ │ │ └── index.pc │ │ │ │ ├── Prompt/ │ │ │ │ │ └── index.tsx │ │ │ │ ├── ResizableContainer/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── Select/ │ │ │ │ │ ├── index.pc │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── index2.pc │ │ │ │ ├── Spinner/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── TextInput/ │ │ │ │ │ ├── base.tsx │ │ │ │ │ ├── blended.pc │ │ │ │ │ ├── blended.tsx │ │ │ │ │ ├── filter.pc │ │ │ │ │ └── index.tsx │ │ │ │ ├── Toggle/ │ │ │ │ │ └── index.pc │ │ │ │ ├── Tooltip/ │ │ │ │ │ └── index.pc │ │ │ │ ├── Tree/ │ │ │ │ │ ├── index.pc │ │ │ │ │ └── index.tsx │ │ │ │ └── icons/ │ │ │ │ └── index.pc │ │ │ ├── constants/ │ │ │ │ └── index.ts │ │ │ ├── contexts/ │ │ │ │ └── index.ts │ │ │ ├── engines/ │ │ │ │ ├── base.ts │ │ │ │ ├── index.ts │ │ │ │ ├── utils.ts │ │ │ │ └── workspace/ │ │ │ │ ├── index.ts │ │ │ │ ├── managers/ │ │ │ │ │ ├── documents.ts │ │ │ │ │ ├── edit.ts │ │ │ │ │ ├── main-document.ts │ │ │ │ │ ├── paperclip-engine.ts │ │ │ │ │ └── project.ts │ │ │ │ └── utils.ts │ │ │ ├── entry.tsx │ │ │ ├── global.d.ts │ │ │ ├── hooks/ │ │ │ │ ├── useAppStore/ │ │ │ │ │ └── index.ts │ │ │ │ ├── useCache/ │ │ │ │ │ └── index.ts │ │ │ │ ├── useDragger/ │ │ │ │ │ └── index.ts │ │ │ │ ├── useFrame/ │ │ │ │ │ └── index.ts │ │ │ │ ├── useFrameContainer/ │ │ │ │ │ └── index.ts │ │ │ │ ├── useFrameMount/ │ │ │ │ │ └── index.ts │ │ │ │ └── useFrameUrlResolver/ │ │ │ │ └── index.ts │ │ │ ├── index.html │ │ │ ├── index.ts │ │ │ ├── reducers/ │ │ │ │ ├── designer.ts │ │ │ │ ├── history.ts │ │ │ │ ├── index.ts │ │ │ │ └── shared.ts │ │ │ ├── rpc/ │ │ │ │ └── channels.ts │ │ │ ├── sagas/ │ │ │ │ ├── canvas.ts │ │ │ │ ├── hotkeys.ts │ │ │ │ ├── index.ts │ │ │ │ ├── rpc/ │ │ │ │ │ ├── channels.ts │ │ │ │ │ ├── connection.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── ui.ts │ │ │ │ ├── utils.ts │ │ │ │ └── workspace/ │ │ │ │ └── index.ts │ │ │ ├── state/ │ │ │ │ ├── geom.ts │ │ │ │ ├── index.ts │ │ │ │ └── result.ts │ │ │ ├── styles/ │ │ │ │ ├── atoms.pc │ │ │ │ ├── index.pc │ │ │ │ └── utils.pc │ │ │ └── utils/ │ │ │ ├── dnd.ts │ │ │ └── index.ts │ │ ├── test/ │ │ │ └── jest.setup.js │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── tandem-workspace/ │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── bin/ │ │ │ └── tandem-workspace │ │ ├── examples/ │ │ │ └── todo/ │ │ │ └── index.pc │ │ ├── package.json │ │ ├── src/ │ │ │ ├── controllers/ │ │ │ │ ├── designer.ts │ │ │ │ ├── git.ts │ │ │ │ ├── package.ts │ │ │ │ ├── paperclip.ts │ │ │ │ ├── project.ts │ │ │ │ ├── rpc.ts │ │ │ │ ├── ssh.ts │ │ │ │ ├── vfs.ts │ │ │ │ └── workspace.ts │ │ │ ├── core/ │ │ │ │ ├── kernel.ts │ │ │ │ └── options.ts │ │ │ ├── index.ts │ │ │ ├── routes/ │ │ │ │ └── index.ts │ │ │ ├── server.ts │ │ │ ├── test/ │ │ │ │ ├── basic-test.ts │ │ │ │ └── utils.ts │ │ │ └── todos.pc │ │ └── tsconfig.json │ ├── tandem-workspace-client/ │ │ ├── package.json │ │ ├── src/ │ │ │ ├── connection.ts │ │ │ ├── index.ts │ │ │ ├── paperclip.ts │ │ │ └── project.ts │ │ └── tsconfig.json │ ├── tandem-workspace-core/ │ │ ├── package.json │ │ ├── src/ │ │ │ ├── channels.ts │ │ │ ├── index.ts │ │ │ └── state.ts │ │ └── tsconfig.json │ └── zeplin-paperclip/ │ ├── .eslintrc.json │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── bin/ │ │ └── zeplin-paperclip │ ├── examples/ │ │ └── test/ │ │ ├── .gitignore │ │ └── package.json │ ├── package.json │ ├── src/ │ │ ├── api.ts │ │ ├── cast.ts │ │ ├── cli.ts │ │ ├── contants.ts │ │ ├── pc-compiler.ts │ │ ├── pull.ts │ │ ├── state.ts │ │ └── utils.ts │ └── tsconfig.json └── todos.md
Showing preview only (637K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (8103 symbols across 404 files)
FILE: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
function Ir (line 6) | function Ir(e,t,r){let n=Pe(e,t,"-",!1,r)||[],s=Pe(t,e,"",!1,r)||[],a=Pe...
function Mr (line 6) | function Mr(e,t){let r=1,n=1,s=ft(e,r),a=new Set([t]);for(;e<=s&&s<=t;)a...
function Gr (line 6) | function Gr(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=Pr...
function lt (line 6) | function lt(e,t,r,n){let s=Mr(e,t),a=[],i=e,o;for(let h=0;h<s.length;h++...
function Pe (line 6) | function Pe(e,t,r,n,s){let a=[];for(let i of e){let{string:o}=i;!n&&!gt(...
function Pr (line 6) | function Pr(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]])...
function Br (line 6) | function Br(e,t){return e>t?1:t>e?-1:0}
function gt (line 6) | function gt(e,t,r){return e.some(n=>n[t]===r)}
function ft (line 6) | function ft(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}
function ht (line 6) | function ht(e,t){return e-e%Math.pow(10,t)}
function dt (line 6) | function dt(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}
function Dr (line 6) | function Dr(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}
function pt (line 6) | function pt(e){return/^-?(0+)\d/.test(e)}
function Ur (line 6) | function Ur(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-Strin...
method extglobChars (line 7) | extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e....
method globChars (line 7) | globChars(e){return e===!0?vn:jt}
method constructor (line 7) | constructor(){super(...arguments);this.json=le.Option.Boolean("--json",!...
method execute (line 7) | async execute(){let t=await ne.Configuration.find(this.context.cwd,this....
method constructor (line 7) | constructor(){super(...arguments);this.recursive=G.Option.Boolean("-R,--...
method execute (line 7) | async execute(){let t=await Ie.Configuration.find(this.context.cwd,this....
function br (line 7) | function br(e,{prefix:t,interlaced:r}){let n=e.createStreamReporter(t),s...
function zn (line 7) | function zn(e,{configuration:t,commandIndex:r,verbose:n}){if(!n)return n...
FILE: .yarn/releases/yarn-1.22.17.cjs
function __webpack_require__ (line 8) | function __webpack_require__(moduleId) {
function __extends (line 124) | function __extends(d, b) {
function __rest (line 141) | function __rest(s, e) {
function __decorate (line 151) | function __decorate(decorators, target, key, desc) {
function __param (line 158) | function __param(paramIndex, decorator) {
function __metadata (line 162) | function __metadata(metadataKey, metadataValue) {
function __awaiter (line 166) | function __awaiter(thisArg, _arguments, P, generator) {
function __generator (line 175) | function __generator(thisArg, body) {
function __exportStar (line 203) | function __exportStar(m, exports) {
function __values (line 207) | function __values(o) {
function __read (line 218) | function __read(o, n) {
function __spread (line 235) | function __spread() {
function __await (line 241) | function __await(v) {
function __asyncGenerator (line 245) | function __asyncGenerator(thisArg, _arguments, generator) {
function __asyncDelegator (line 257) | function __asyncDelegator(o) {
function __asyncValues (line 263) | function __asyncValues(o) {
function __makeTemplateObject (line 271) | function __makeTemplateObject(cooked, raw) {
function __importStar (line 276) | function __importStar(mod) {
function __importDefault (line 284) | function __importDefault(mod) {
function _interopRequireDefault (line 302) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function step (line 308) | function step(key, arg) {
function _load_asyncToGenerator (line 359) | function _load_asyncToGenerator() {
function onDone (line 552) | function onDone() {
function onDone (line 844) | function onDone() {
function _load_fs (line 1401) | function _load_fs() {
function _load_glob (line 1407) | function _load_glob() {
function _load_os (line 1413) | function _load_os() {
function _load_path (line 1419) | function _load_path() {
function _load_blockingQueue (line 1425) | function _load_blockingQueue() {
function _load_promise (line 1431) | function _load_promise() {
function _load_promise2 (line 1437) | function _load_promise2() {
function _load_map (line 1443) | function _load_map() {
function _load_fsNormalized (line 1449) | function _load_fsNormalized() {
function _interopRequireWildcard (line 1453) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 1455) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function copy (line 1494) | function copy(src, dest, reporter) {
function _readFile (line 1498) | function _readFile(loc, encoding) {
function readFile (line 1510) | function readFile(loc) {
function readFileRaw (line 1514) | function readFileRaw(loc) {
function normalizeOS (line 1518) | function normalizeOS(body) {
class MessageError (line 1535) | class MessageError extends Error {
method constructor (line 1536) | constructor(msg, code) {
class ProcessSpawnError (line 1544) | class ProcessSpawnError extends MessageError {
method constructor (line 1545) | constructor(msg, code, process) {
class SecurityError (line 1553) | class SecurityError extends MessageError {}
class ProcessTermError (line 1556) | class ProcessTermError extends MessageError {}
class ResponseError (line 1559) | class ResponseError extends Error {
method constructor (line 1560) | constructor(msg, responseCode) {
class OneTimePasswordError (line 1568) | class OneTimePasswordError extends Error {}
function Subscriber (line 1595) | function Subscriber(destinationOrNext, error, complete) {
function SafeSubscriber (line 1688) | function SafeSubscriber(_parentSubscriber, observerOrNext, error, comple...
function getPreferredCacheDirectories (line 1881) | function getPreferredCacheDirectories() {
function getYarnBinPath (line 1904) | function getYarnBinPath() {
function getPathKey (line 1936) | function getPathKey(platform, env) {
function compileStyleAliases (line 2049) | function compileStyleAliases(map) {
function Type (line 2063) | function Type(tag, options) {
function Observable (line 2115) | function Observable(subscribe) {
function getPromiseCtor (line 2214) | function getPromiseCtor(promiseCtor) {
function OuterSubscriber (line 2239) | function OuterSubscriber() {
function subscribeToResult (line 2268) | function subscribeToResult(outerSubscriber, result, outerValue, outerInd...
function _capitalize (line 2384) | function _capitalize(str) {
function _toss (line 2388) | function _toss(name, expected, oper, arg, actual) {
function _getClass (line 2398) | function _getClass(arg) {
function noop (line 2402) | function noop() {
function _setExports (line 2465) | function _setExports(ndebug) {
function sortAlpha (line 2615) | function sortAlpha(a, b) {
function sortOptionsByFlags (line 2628) | function sortOptionsByFlags(a, b) {
function entries (line 2634) | function entries(obj) {
function removePrefix (line 2644) | function removePrefix(pattern, prefix) {
function removeSuffix (line 2652) | function removeSuffix(pattern, suffix) {
function addSuffix (line 2660) | function addSuffix(pattern, suffix) {
function hyphenate (line 2668) | function hyphenate(str) {
function camelCase (line 2674) | function camelCase(str) {
function compareSortedArrays (line 2682) | function compareSortedArrays(array1, array2) {
function sleep (line 2694) | function sleep(ms) {
function _load_asyncToGenerator (line 2714) | function _load_asyncToGenerator() {
function _load_parse (line 2720) | function _load_parse() {
function _load_stringify (line 2733) | function _load_stringify() {
function _load_misc (line 2748) | function _load_misc() {
function _load_normalizePattern (line 2754) | function _load_normalizePattern() {
function _load_parse2 (line 2760) | function _load_parse2() {
function _load_constants (line 2766) | function _load_constants() {
function _load_fs (line 2772) | function _load_fs() {
function _interopRequireWildcard (line 2776) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 2778) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getName (line 2785) | function getName(pattern) {
function blankObjectUndefined (line 2789) | function blankObjectUndefined(obj) {
function keyForRemote (line 2793) | function keyForRemote(remote) {
function serializeIntegrity (line 2797) | function serializeIntegrity(integrity) {
function implodeEntry (line 2803) | function implodeEntry(pattern, obj) {
function explodeEntry (line 2823) | function explodeEntry(pattern, obj) {
class Lockfile (line 2837) | class Lockfile {
method constructor (line 2838) | constructor({ cache, source, parseResultType } = {}) {
method hasEntriesExistWithoutIntegrity (line 2848) | hasEntriesExistWithoutIntegrity() {
method fromDirectory (line 2863) | static fromDirectory(dir, reporter) {
method getLocked (line 2898) | getLocked(pattern) {
method removePattern (line 2916) | removePattern(pattern) {
method getLockfile (line 2924) | getLockfile(patterns) {
function _interopRequireDefault (line 3006) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function parse (line 3290) | function parse(version, loose) {
function valid (line 3312) | function valid(version, loose) {
function clean (line 3319) | function clean(version, loose) {
function SemVer (line 3326) | function SemVer(version, loose) {
function inc (line 3539) | function inc(version, release, loose, identifier) {
function diff (line 3553) | function diff(version1, version2) {
function compareIdentifiers (line 3582) | function compareIdentifiers(a, b) {
function rcompareIdentifiers (line 3599) | function rcompareIdentifiers(a, b) {
function major (line 3604) | function major(a, loose) {
function minor (line 3609) | function minor(a, loose) {
function patch (line 3614) | function patch(a, loose) {
function compare (line 3619) | function compare(a, b, loose) {
function compareLoose (line 3624) | function compareLoose(a, b) {
function rcompare (line 3629) | function rcompare(a, b, loose) {
function sort (line 3634) | function sort(list, loose) {
function rsort (line 3641) | function rsort(list, loose) {
function gt (line 3648) | function gt(a, b, loose) {
function lt (line 3653) | function lt(a, b, loose) {
function eq (line 3658) | function eq(a, b, loose) {
function neq (line 3663) | function neq(a, b, loose) {
function gte (line 3668) | function gte(a, b, loose) {
function lte (line 3673) | function lte(a, b, loose) {
function cmp (line 3678) | function cmp(a, op, b, loose) {
function Comparator (line 3703) | function Comparator(comp, loose) {
function Range (line 3802) | function Range(range, loose) {
function toComparators (line 3906) | function toComparators(range, loose) {
function parseComparator (line 3917) | function parseComparator(comp, loose) {
function isX (line 3930) | function isX(id) {
function replaceTildes (line 3940) | function replaceTildes(comp, loose) {
function replaceTilde (line 3946) | function replaceTilde(comp, loose) {
function replaceCarets (line 3981) | function replaceCarets(comp, loose) {
function replaceCaret (line 3987) | function replaceCaret(comp, loose) {
function replaceXRanges (line 4036) | function replaceXRanges(comp, loose) {
function replaceXRange (line 4043) | function replaceXRange(comp, loose) {
function replaceStars (line 4109) | function replaceStars(comp, loose) {
function hyphenReplace (line 4120) | function hyphenReplace($0,
function testSet (line 4163) | function testSet(set, version) {
function satisfies (line 4197) | function satisfies(version, range, loose) {
function maxSatisfying (line 4207) | function maxSatisfying(versions, range, loose) {
function minSatisfying (line 4227) | function minSatisfying(versions, range, loose) {
function validRange (line 4247) | function validRange(range, loose) {
function ltr (line 4259) | function ltr(version, range, loose) {
function gtr (line 4265) | function gtr(version, range, loose) {
function outside (line 4270) | function outside(version, range, hilo, loose) {
function prerelease (line 4340) | function prerelease(version, loose) {
function intersects (line 4346) | function intersects(r1, r2, loose) {
function coerce (line 4353) | function coerce(version) {
function Subscription (line 4401) | function Subscription(unsubscribe) {
function flattenUnsubscriptionErrors (line 4521) | function flattenUnsubscriptionErrors(errors) {
function isCompatible (line 4566) | function isCompatible(obj, klass, needVer) {
function assertCompatible (line 4591) | function assertCompatible(obj, klass, needVer, name) {
function opensslKeyDeriv (line 4624) | function opensslKeyDeriv(cipher, salt, passphrase, count) {
function countZeros (line 4656) | function countZeros(buf) {
function bufferSplit (line 4671) | function bufferSplit(buf, chr) {
function ecNormalize (line 4699) | function ecNormalize(buf, addZero) {
function readBitString (line 4725) | function readBitString(der, tag) {
function writeBitString (line 4734) | function writeBitString(der, buf, tag) {
function mpNormalize (line 4743) | function mpNormalize(buf) {
function mpDenormalize (line 4756) | function mpDenormalize(buf) {
function zeroPadToLength (line 4763) | function zeroPadToLength(buf, len) {
function bigintToMpBuf (line 4779) | function bigintToMpBuf(bigint) {
function calculateDSAPublic (line 4785) | function calculateDSAPublic(g, p, x) {
function calculateED25519Public (line 4803) | function calculateED25519Public(k) {
function calculateX25519Public (line 4813) | function calculateX25519Public(k) {
function addRSAMissing (line 4823) | function addRSAMissing(key) {
function publicFromPrivateECDSA (line 4854) | function publicFromPrivateECDSA(curveName, priv) {
function opensshCipherInfo (line 4880) | function opensshCipherInfo(cipher) {
function Key (line 4961) | function Key(opts) {
function nullify (line 5220) | function nullify(obj = {}) {
function applyOptions (line 5274) | function applyOptions(obj, options) {
function Chalk (line 5283) | function Chalk(options) {
method get (line 5315) | get() {
method get (line 5323) | get() {
method get (line 5335) | get() {
method get (line 5358) | get() {
function build (line 5375) | function build(_styles, _empty, key) {
function applyStyle (line 5415) | function applyStyle() {
function chalkTag (line 5462) | function chalkTag(chalk, strings) {
function PrivateKey (line 5715) | function PrivateKey(opts) {
function _load_extends (line 5942) | function _load_extends() {
function _load_asyncToGenerator (line 5948) | function _load_asyncToGenerator() {
function _load_objectPath (line 6037) | function _load_objectPath() {
function _load_hooks (line 6043) | function _load_hooks() {
function _load_index (line 6049) | function _load_index() {
function _load_errors (line 6055) | function _load_errors() {
function _load_integrityChecker (line 6061) | function _load_integrityChecker() {
function _load_lockfile (line 6067) | function _load_lockfile() {
function _load_lockfile2 (line 6073) | function _load_lockfile2() {
function _load_packageFetcher (line 6079) | function _load_packageFetcher() {
function _load_packageInstallScripts (line 6085) | function _load_packageInstallScripts() {
function _load_packageCompatibility (line 6091) | function _load_packageCompatibility() {
function _load_packageResolver (line 6097) | function _load_packageResolver() {
function _load_packageLinker (line 6103) | function _load_packageLinker() {
function _load_index2 (line 6109) | function _load_index2() {
function _load_index3 (line 6115) | function _load_index3() {
function _load_autoclean (line 6121) | function _load_autoclean() {
function _load_constants (line 6127) | function _load_constants() {
function _load_normalizePattern (line 6133) | function _load_normalizePattern() {
function _load_fs (line 6139) | function _load_fs() {
function _load_map (line 6145) | function _load_map() {
function _load_yarnVersion (line 6151) | function _load_yarnVersion() {
function _load_generatePnpMap (line 6157) | function _load_generatePnpMap() {
function _load_workspaceLayout (line 6163) | function _load_workspaceLayout() {
function _load_resolutionMap (line 6169) | function _load_resolutionMap() {
function _load_guessName (line 6175) | function _load_guessName() {
function _load_audit (line 6181) | function _load_audit() {
function _interopRequireWildcard (line 6185) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 6187) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getUpdateCommand (line 6204) | function getUpdateCommand(installationMethod) {
function getUpdateInstaller (line 6240) | function getUpdateInstaller(installationMethod) {
function normalizeFlags (line 6249) | function normalizeFlags(config, rawFlags) {
class Install (line 6306) | class Install {
method constructor (line 6307) | constructor(flags, config, reporter, lockfile) {
method fetchRequestFromCwd (line 6326) | fetchRequestFromCwd(excludePatterns = [], ignoreUnusedPatterns = false) {
method prepareRequests (line 6625) | prepareRequests(requests) {
method preparePatterns (line 6629) | preparePatterns(patterns) {
method preparePatternsForLinking (line 6632) | preparePatternsForLinking(patterns, cwdManifest, cwdIsRoot) {
method prepareManifests (line 6636) | prepareManifests() {
method bailout (line 6645) | bailout(patterns, workspaceLayout) {
method createEmptyManifestFolders (line 6707) | createEmptyManifestFolders() {
method markIgnored (line 6740) | markIgnored(patterns) {
method getFlattenedDeps (line 6769) | getFlattenedDeps() {
method init (line 6792) | init() {
method checkCompatibility (line 7013) | checkCompatibility() {
method persistChanges (line 7025) | persistChanges() {
method applyChanges (line 7038) | applyChanges(manifests) {
method shouldClean (line 7069) | shouldClean() {
method flatten (line 7077) | flatten(patterns) {
method pruneOfflineMirror (line 7198) | pruneOfflineMirror(lockfile) {
method saveLockfileAndIntegrity (line 7248) | saveLockfileAndIntegrity(patterns, workspaceLayout) {
method _logSuccessSaveLockfile (line 7320) | _logSuccessSaveLockfile() {
method hydrate (line 7327) | hydrate(ignoreUnusedPatterns) {
method checkUpdate (line 7394) | checkUpdate() {
method _checkUpdate (line 7421) | _checkUpdate() {
method maybeOutputUpdate (line 7463) | maybeOutputUpdate() {}
function hasWrapper (line 7467) | function hasWrapper(commander, args) {
function setFlags (line 7471) | function setFlags(commander) {
function SubjectSubscriber (line 7520) | function SubjectSubscriber(destination) {
function Subject (line 7530) | function Subject() {
function AnonymousSubject (line 7631) | function AnonymousSubject(destination, source) {
function normalizePattern (line 7686) | function normalizePattern(pattern) {
function apply (line 8193) | function apply(func, thisArg, args) {
function arrayAggregator (line 8213) | function arrayAggregator(array, setter, iteratee, accumulator) {
function arrayEach (line 8233) | function arrayEach(array, iteratee) {
function arrayEachRight (line 8254) | function arrayEachRight(array, iteratee) {
function arrayEvery (line 8275) | function arrayEvery(array, predicate) {
function arrayFilter (line 8296) | function arrayFilter(array, predicate) {
function arrayIncludes (line 8320) | function arrayIncludes(array, value) {
function arrayIncludesWith (line 8334) | function arrayIncludesWith(array, value, comparator) {
function arrayMap (line 8355) | function arrayMap(array, iteratee) {
function arrayPush (line 8374) | function arrayPush(array, values) {
function arrayReduce (line 8397) | function arrayReduce(array, iteratee, accumulator, initAccum) {
function arrayReduceRight (line 8422) | function arrayReduceRight(array, iteratee, accumulator, initAccum) {
function arraySome (line 8443) | function arraySome(array, predicate) {
function asciiToArray (line 8471) | function asciiToArray(string) {
function asciiWords (line 8482) | function asciiWords(string) {
function baseFindKey (line 8497) | function baseFindKey(collection, predicate, eachFunc) {
function baseFindIndex (line 8519) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseIndexOf (line 8540) | function baseIndexOf(array, value, fromIndex) {
function baseIndexOfWith (line 8556) | function baseIndexOfWith(array, value, fromIndex, comparator) {
function baseIsNaN (line 8575) | function baseIsNaN(value) {
function baseMean (line 8588) | function baseMean(array, iteratee) {
function baseProperty (line 8600) | function baseProperty(key) {
function basePropertyOf (line 8613) | function basePropertyOf(object) {
function baseReduce (line 8632) | function baseReduce(collection, iteratee, accumulator, initAccum, eachFu...
function baseSortBy (line 8651) | function baseSortBy(array, comparer) {
function baseSum (line 8670) | function baseSum(array, iteratee) {
function baseTimes (line 8693) | function baseTimes(n, iteratee) {
function baseToPairs (line 8712) | function baseToPairs(object, props) {
function baseUnary (line 8725) | function baseUnary(func) {
function baseValues (line 8741) | function baseValues(object, props) {
function cacheHas (line 8755) | function cacheHas(cache, key) {
function charsStartIndex (line 8768) | function charsStartIndex(strSymbols, chrSymbols) {
function charsEndIndex (line 8785) | function charsEndIndex(strSymbols, chrSymbols) {
function countHolders (line 8800) | function countHolders(array, placeholder) {
function escapeStringChar (line 8838) | function escapeStringChar(chr) {
function getValue (line 8850) | function getValue(object, key) {
function hasUnicode (line 8861) | function hasUnicode(string) {
function hasUnicodeWord (line 8872) | function hasUnicodeWord(string) {
function iteratorToArray (line 8883) | function iteratorToArray(iterator) {
function mapToArray (line 8900) | function mapToArray(map) {
function overArg (line 8918) | function overArg(func, transform) {
function replaceHolders (line 8933) | function replaceHolders(array, placeholder) {
function safeGet (line 8957) | function safeGet(object, key) {
function setToArray (line 8970) | function setToArray(set) {
function setToPairs (line 8987) | function setToPairs(set) {
function strictIndexOf (line 9007) | function strictIndexOf(array, value, fromIndex) {
function strictLastIndexOf (line 9029) | function strictLastIndexOf(array, value, fromIndex) {
function stringSize (line 9046) | function stringSize(string) {
function stringToArray (line 9059) | function stringToArray(string) {
function unicodeSize (line 9081) | function unicodeSize(string) {
function unicodeToArray (line 9096) | function unicodeToArray(string) {
function unicodeWords (line 9107) | function unicodeWords(string) {
function lodash (line 9384) | function lodash(value) {
function object (line 9405) | function object() {}
function baseLodash (line 9425) | function baseLodash() {
function LodashWrapper (line 9436) | function LodashWrapper(value, chainAll) {
function LazyWrapper (line 9521) | function LazyWrapper(value) {
function lazyClone (line 9539) | function lazyClone() {
function lazyReverse (line 9558) | function lazyReverse() {
function lazyValue (line 9578) | function lazyValue() {
function Hash (line 9640) | function Hash(entries) {
method isHash (line 26266) | get isHash () { return true }
method constructor (line 26267) | constructor (hash, opts) {
method hexDigest (line 26285) | hexDigest () {
method toJSON (line 26288) | toJSON () {
method toString (line 26291) | toString (opts) {
function hashClear (line 9658) | function hashClear() {
function hashDelete (line 9673) | function hashDelete(key) {
function hashGet (line 9688) | function hashGet(key) {
function hashHas (line 9706) | function hashHas(key) {
function hashSet (line 9721) | function hashSet(key, value) {
function ListCache (line 9744) | function ListCache(entries) {
function listCacheClear (line 9762) | function listCacheClear() {
function listCacheDelete (line 9776) | function listCacheDelete(key) {
function listCacheGet (line 9802) | function listCacheGet(key) {
function listCacheHas (line 9818) | function listCacheHas(key) {
function listCacheSet (line 9832) | function listCacheSet(key, value) {
function MapCache (line 9861) | function MapCache(entries) {
function mapCacheClear (line 9879) | function mapCacheClear() {
function mapCacheDelete (line 9897) | function mapCacheDelete(key) {
function mapCacheGet (line 9912) | function mapCacheGet(key) {
function mapCacheHas (line 9925) | function mapCacheHas(key) {
function mapCacheSet (line 9939) | function mapCacheSet(key, value) {
function SetCache (line 9965) | function SetCache(values) {
function setCacheAdd (line 9985) | function setCacheAdd(value) {
function setCacheHas (line 9999) | function setCacheHas(value) {
function Stack (line 10016) | function Stack(entries) {
function stackClear (line 10028) | function stackClear() {
function stackDelete (line 10042) | function stackDelete(key) {
function stackGet (line 10059) | function stackGet(key) {
function stackHas (line 10072) | function stackHas(key) {
function stackSet (line 10086) | function stackSet(key, value) {
function arrayLikeKeys (line 10119) | function arrayLikeKeys(value, inherited) {
function arraySample (line 10153) | function arraySample(array) {
function arraySampleSize (line 10166) | function arraySampleSize(array, n) {
function arrayShuffle (line 10177) | function arrayShuffle(array) {
function assignMergeValue (line 10190) | function assignMergeValue(object, key, value) {
function assignValue (line 10207) | function assignValue(object, key, value) {
function assocIndexOf (line 10223) | function assocIndexOf(array, key) {
function baseAggregator (line 10244) | function baseAggregator(collection, setter, iteratee, accumulator) {
function baseAssign (line 10260) | function baseAssign(object, source) {
function baseAssignIn (line 10273) | function baseAssignIn(object, source) {
function baseAssignValue (line 10286) | function baseAssignValue(object, key, value) {
function baseAt (line 10307) | function baseAt(object, paths) {
function baseClamp (line 10328) | function baseClamp(number, lower, upper) {
function baseClone (line 10356) | function baseClone(value, bitmask, customizer, key, object, stack) {
function baseConforms (line 10445) | function baseConforms(source) {
function baseConformsTo (line 10460) | function baseConformsTo(object, source, props) {
function baseDelay (line 10488) | function baseDelay(func, wait, args) {
function baseDifference (line 10506) | function baseDifference(array, values, iteratee, comparator) {
function baseEvery (line 10580) | function baseEvery(collection, predicate) {
function baseExtremum (line 10599) | function baseExtremum(array, iteratee, comparator) {
function baseFill (line 10628) | function baseFill(array, value, start, end) {
function baseFilter (line 10654) | function baseFilter(collection, predicate) {
function baseFlatten (line 10675) | function baseFlatten(array, depth, predicate, isStrict, result) {
function baseForOwn (line 10731) | function baseForOwn(object, iteratee) {
function baseForOwnRight (line 10743) | function baseForOwnRight(object, iteratee) {
function baseFunctions (line 10756) | function baseFunctions(object, props) {
function baseGet (line 10770) | function baseGet(object, path) {
function baseGetAllKeys (line 10793) | function baseGetAllKeys(object, keysFunc, symbolsFunc) {
function baseGetTag (line 10805) | function baseGetTag(value) {
function baseGt (line 10823) | function baseGt(value, other) {
function baseHas (line 10835) | function baseHas(object, key) {
function baseHasIn (line 10847) | function baseHasIn(object, key) {
function baseInRange (line 10860) | function baseInRange(number, start, end) {
function baseIntersection (line 10874) | function baseIntersection(arrays, iteratee, comparator) {
function baseInverter (line 10938) | function baseInverter(object, setter, iteratee, accumulator) {
function baseInvoke (line 10955) | function baseInvoke(object, path, args) {
function baseIsArguments (line 10969) | function baseIsArguments(value) {
function baseIsArrayBuffer (line 10980) | function baseIsArrayBuffer(value) {
function baseIsDate (line 10991) | function baseIsDate(value) {
function baseIsEqual (line 11009) | function baseIsEqual(value, other, bitmask, customizer, stack) {
function baseIsEqualDeep (line 11033) | function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, ...
function baseIsMap (line 11085) | function baseIsMap(value) {
function baseIsMatch (line 11099) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 11151) | function baseIsNative(value) {
function baseIsRegExp (line 11166) | function baseIsRegExp(value) {
function baseIsSet (line 11177) | function baseIsSet(value) {
function baseIsTypedArray (line 11188) | function baseIsTypedArray(value) {
function baseIteratee (line 11200) | function baseIteratee(value) {
function baseKeys (line 11224) | function baseKeys(object) {
function baseKeysIn (line 11244) | function baseKeysIn(object) {
function baseLt (line 11268) | function baseLt(value, other) {
function baseMap (line 11280) | function baseMap(collection, iteratee) {
function baseMatches (line 11297) | function baseMatches(source) {
function baseMatchesProperty (line 11315) | function baseMatchesProperty(path, srcValue) {
function baseMerge (line 11338) | function baseMerge(object, source, srcIndex, customizer, stack) {
function baseMergeDeep (line 11375) | function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customi...
function baseNth (line 11445) | function baseNth(array, n) {
function baseOrderBy (line 11463) | function baseOrderBy(collection, iteratees, orders) {
function basePick (line 11488) | function basePick(object, paths) {
function basePickBy (line 11503) | function basePickBy(object, paths, predicate) {
function basePropertyDeep (line 11526) | function basePropertyDeep(path) {
function basePullAll (line 11543) | function basePullAll(array, values, iteratee, comparator) {
function basePullAt (line 11579) | function basePullAt(array, indexes) {
function baseRandom (line 11606) | function baseRandom(lower, upper) {
function baseRange (line 11621) | function baseRange(start, end, step, fromRight) {
function baseRepeat (line 11641) | function baseRepeat(string, n) {
function baseRest (line 11669) | function baseRest(func, start) {
function baseSample (line 11680) | function baseSample(collection) {
function baseSampleSize (line 11692) | function baseSampleSize(collection, n) {
function baseSet (line 11707) | function baseSet(object, path, value, customizer) {
function baseShuffle (line 11774) | function baseShuffle(collection) {
function baseSlice (line 11787) | function baseSlice(array, start, end) {
function baseSome (line 11817) | function baseSome(collection, predicate) {
function baseSortedIndex (line 11839) | function baseSortedIndex(array, value, retHighest) {
function baseSortedIndexBy (line 11873) | function baseSortedIndexBy(array, value, iteratee, retHighest) {
function baseSortedUniq (line 11922) | function baseSortedUniq(array, iteratee) {
function baseToNumber (line 11948) | function baseToNumber(value) {
function baseToString (line 11966) | function baseToString(value) {
function baseUniq (line 11991) | function baseUniq(array, iteratee, comparator) {
function baseUnset (line 12051) | function baseUnset(object, path) {
function baseUpdate (line 12067) | function baseUpdate(object, path, updater, customizer) {
function baseWhile (line 12082) | function baseWhile(array, predicate, isDrop, fromRight) {
function baseWrapperValue (line 12104) | function baseWrapperValue(value, actions) {
function baseXor (line 12124) | function baseXor(arrays, iteratee, comparator) {
function baseZipObject (line 12154) | function baseZipObject(props, values, assignFunc) {
function castArrayLikeObject (line 12174) | function castArrayLikeObject(value) {
function castFunction (line 12185) | function castFunction(value) {
function castPath (line 12197) | function castPath(value, object) {
function castSlice (line 12224) | function castSlice(array, start, end) {
function cloneBuffer (line 12248) | function cloneBuffer(buffer, isDeep) {
function cloneArrayBuffer (line 12266) | function cloneArrayBuffer(arrayBuffer) {
function cloneDataView (line 12280) | function cloneDataView(dataView, isDeep) {
function cloneRegExp (line 12292) | function cloneRegExp(regexp) {
function cloneSymbol (line 12305) | function cloneSymbol(symbol) {
function cloneTypedArray (line 12317) | function cloneTypedArray(typedArray, isDeep) {
function compareAscending (line 12330) | function compareAscending(value, other) {
function compareMultiple (line 12374) | function compareMultiple(object, other, orders) {
function composeArgs (line 12412) | function composeArgs(args, partials, holders, isCurried) {
function composeArgsRight (line 12447) | function composeArgsRight(args, partials, holders, isCurried) {
function copyArray (line 12481) | function copyArray(source, array) {
function copyObject (line 12502) | function copyObject(source, props, object, customizer) {
function copySymbols (line 12536) | function copySymbols(source, object) {
function copySymbolsIn (line 12548) | function copySymbolsIn(source, object) {
function createAggregator (line 12560) | function createAggregator(setter, initializer) {
function createAssigner (line 12576) | function createAssigner(assigner) {
function createBaseEach (line 12610) | function createBaseEach(eachFunc, fromRight) {
function createBaseFor (line 12638) | function createBaseFor(fromRight) {
function createBind (line 12665) | function createBind(func, bitmask, thisArg) {
function createCaseFirst (line 12683) | function createCaseFirst(methodName) {
function createCompounder (line 12710) | function createCompounder(callback) {
function createCtor (line 12724) | function createCtor(Ctor) {
function createCurry (line 12758) | function createCurry(func, bitmask, arity) {
function createFind (line 12793) | function createFind(findIndexFunc) {
function createFlow (line 12813) | function createFlow(fromRight) {
function createHybrid (line 12886) | function createHybrid(func, bitmask, thisArg, partials, holders, partial...
function createInverter (line 12948) | function createInverter(setter, toIteratee) {
function createMathOperation (line 12962) | function createMathOperation(operator, defaultValue) {
function createOver (line 12995) | function createOver(arrayFunc) {
function createPadding (line 13016) | function createPadding(length, chars) {
function createPartial (line 13041) | function createPartial(func, bitmask, thisArg, partials) {
function createRange (line 13071) | function createRange(fromRight) {
function createRelationalOperation (line 13096) | function createRelationalOperation(operator) {
function createRecurry (line 13123) | function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, pa...
function createRound (line 13156) | function createRound(methodName) {
function createToPairs (line 13192) | function createToPairs(keysFunc) {
function createWrap (line 13230) | function createWrap(func, bitmask, thisArg, partials, holders, argPos, a...
function customDefaultsAssignIn (line 13297) | function customDefaultsAssignIn(objValue, srcValue, key, object) {
function customDefaultsMerge (line 13319) | function customDefaultsMerge(objValue, srcValue, key, object, source, st...
function customOmitClone (line 13338) | function customOmitClone(value) {
function equalArrays (line 13355) | function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
function equalByTag (line 13433) | function equalByTag(object, other, tag, bitmask, customizer, equalFunc, ...
function equalObjects (line 13511) | function equalObjects(object, other, bitmask, customizer, equalFunc, sta...
function flatRest (line 13582) | function flatRest(func) {
function getAllKeys (line 13593) | function getAllKeys(object) {
function getAllKeysIn (line 13605) | function getAllKeysIn(object) {
function getFuncName (line 13627) | function getFuncName(func) {
function getHolder (line 13649) | function getHolder(func) {
function getIteratee (line 13665) | function getIteratee() {
function getMapData (line 13679) | function getMapData(map, key) {
function getMatchData (line 13693) | function getMatchData(object) {
function getNative (line 13714) | function getNative(object, key) {
function getRawTag (line 13726) | function getRawTag(value) {
function getView (line 13822) | function getView(start, end, transforms) {
function getWrapDetails (line 13847) | function getWrapDetails(source) {
function hasPath (line 13861) | function hasPath(object, path, hasFunc) {
function initCloneArray (line 13890) | function initCloneArray(array) {
function initCloneObject (line 13909) | function initCloneObject(object) {
function initCloneByTag (line 13927) | function initCloneByTag(object, tag, isDeep) {
function insertWrapDetails (line 13971) | function insertWrapDetails(source, details) {
function isFlattenable (line 13989) | function isFlattenable(value) {
function isIndex (line 14002) | function isIndex(value, length) {
function isIterateeCall (line 14022) | function isIterateeCall(value, index, object) {
function isKey (line 14044) | function isKey(value, object) {
function isKeyable (line 14064) | function isKeyable(value) {
function isLaziable (line 14079) | function isLaziable(func) {
function isMasked (line 14100) | function isMasked(func) {
function isPrototype (line 14120) | function isPrototype(value) {
function isStrictComparable (line 14135) | function isStrictComparable(value) {
function matchesStrictComparable (line 14148) | function matchesStrictComparable(key, srcValue) {
function memoizeCapped (line 14166) | function memoizeCapped(func) {
function mergeData (line 14194) | function mergeData(data, source) {
function nativeKeysIn (line 14258) | function nativeKeysIn(object) {
function objectToString (line 14275) | function objectToString(value) {
function overRest (line 14288) | function overRest(func, start, transform) {
function parent (line 14317) | function parent(object, path) {
function reorder (line 14331) | function reorder(array, indexes) {
function setWrapToString (line 14391) | function setWrapToString(wrapper, reference, bitmask) {
function shortOut (line 14405) | function shortOut(func) {
function shuffleSelf (line 14433) | function shuffleSelf(array, size) {
function toKey (line 14475) | function toKey(value) {
function toSource (line 14490) | function toSource(func) {
function updateWrapDetails (line 14510) | function updateWrapDetails(details, bitmask) {
function wrapperClone (line 14527) | function wrapperClone(wrapper) {
function chunk (line 14561) | function chunk(array, size, guard) {
function compact (line 14596) | function compact(array) {
function concat (line 14633) | function concat() {
function drop (line 14769) | function drop(array, n, guard) {
function dropRight (line 14803) | function dropRight(array, n, guard) {
function dropRightWhile (line 14848) | function dropRightWhile(array, predicate) {
function dropWhile (line 14889) | function dropWhile(array, predicate) {
function fill (line 14924) | function fill(array, value, start, end) {
function findIndex (line 14971) | function findIndex(array, predicate, fromIndex) {
function findLastIndex (line 15018) | function findLastIndex(array, predicate, fromIndex) {
function flatten (line 15047) | function flatten(array) {
function flattenDeep (line 15066) | function flattenDeep(array) {
function flattenDepth (line 15091) | function flattenDepth(array, depth) {
function fromPairs (line 15115) | function fromPairs(pairs) {
function head (line 15145) | function head(array) {
function indexOf (line 15172) | function indexOf(array, value, fromIndex) {
function initial (line 15198) | function initial(array) {
function join (line 15313) | function join(array, separator) {
function last (line 15331) | function last(array) {
function lastIndexOf (line 15357) | function lastIndexOf(array, value, fromIndex) {
function nth (line 15393) | function nth(array, n) {
function pullAll (line 15442) | function pullAll(array, values) {
function pullAllBy (line 15471) | function pullAllBy(array, values, iteratee) {
function pullAllWith (line 15500) | function pullAllWith(array, values, comparator) {
function remove (line 15569) | function remove(array, predicate) {
function reverse (line 15613) | function reverse(array) {
function slice (line 15633) | function slice(array, start, end) {
function sortedIndex (line 15666) | function sortedIndex(array, value) {
function sortedIndexBy (line 15695) | function sortedIndexBy(array, value, iteratee) {
function sortedIndexOf (line 15715) | function sortedIndexOf(array, value) {
function sortedLastIndex (line 15744) | function sortedLastIndex(array, value) {
function sortedLastIndexBy (line 15773) | function sortedLastIndexBy(array, value, iteratee) {
function sortedLastIndexOf (line 15793) | function sortedLastIndexOf(array, value) {
function sortedUniq (line 15819) | function sortedUniq(array) {
function sortedUniqBy (line 15841) | function sortedUniqBy(array, iteratee) {
function tail (line 15861) | function tail(array) {
function take (line 15891) | function take(array, n, guard) {
function takeRight (line 15924) | function takeRight(array, n, guard) {
function takeRightWhile (line 15969) | function takeRightWhile(array, predicate) {
function takeWhile (line 16010) | function takeWhile(array, predicate) {
function uniq (line 16112) | function uniq(array) {
function uniqBy (line 16139) | function uniqBy(array, iteratee) {
function uniqWith (line 16163) | function uniqWith(array, comparator) {
function unzip (line 16187) | function unzip(array) {
function unzipWith (line 16224) | function unzipWith(array, iteratee) {
function zipObject (line 16377) | function zipObject(props, values) {
function zipObjectDeep (line 16396) | function zipObjectDeep(props, values) {
function chain (line 16459) | function chain(value) {
function tap (line 16488) | function tap(value, interceptor) {
function thru (line 16516) | function thru(value, interceptor) {
function wrapperChain (line 16587) | function wrapperChain() {
function wrapperCommit (line 16617) | function wrapperCommit() {
function wrapperNext (line 16643) | function wrapperNext() {
function wrapperToIterator (line 16671) | function wrapperToIterator() {
function wrapperPlant (line 16699) | function wrapperPlant(value) {
function wrapperReverse (line 16739) | function wrapperReverse() {
function wrapperValue (line 16771) | function wrapperValue() {
function every (line 16848) | function every(collection, predicate, guard) {
function filter (line 16893) | function filter(collection, predicate) {
function flatMap (line 16978) | function flatMap(collection, iteratee) {
function flatMapDeep (line 17002) | function flatMapDeep(collection, iteratee) {
function flatMapDepth (line 17027) | function flatMapDepth(collection, iteratee, depth) {
function forEach (line 17062) | function forEach(collection, iteratee) {
function forEachRight (line 17087) | function forEachRight(collection, iteratee) {
function includes (line 17153) | function includes(collection, value, fromIndex, guard) {
function map (line 17274) | function map(collection, iteratee) {
function orderBy (line 17308) | function orderBy(collection, iteratees, orders, guard) {
function reduce (line 17399) | function reduce(collection, iteratee, accumulator) {
function reduceRight (line 17428) | function reduceRight(collection, iteratee, accumulator) {
function reject (line 17469) | function reject(collection, predicate) {
function sample (line 17488) | function sample(collection) {
function sampleSize (line 17513) | function sampleSize(collection, n, guard) {
function shuffle (line 17538) | function shuffle(collection) {
function size (line 17564) | function size(collection) {
function some (line 17614) | function some(collection, predicate, guard) {
function after (line 17712) | function after(n, func) {
function ary (line 17741) | function ary(func, n, guard) {
function before (line 17764) | function before(n, func) {
function curry (line 17920) | function curry(func, arity, guard) {
function curryRight (line 17965) | function curryRight(func, arity, guard) {
function debounce (line 18026) | function debounce(func, wait, options) {
function flip (line 18213) | function flip(func) {
function memoize (line 18261) | function memoize(func, resolver) {
function negate (line 18304) | function negate(predicate) {
function once (line 18338) | function once(func) {
function rest (line 18516) | function rest(func, start) {
function spread (line 18558) | function spread(func, start) {
function throttle (line 18618) | function throttle(func, wait, options) {
function unary (line 18651) | function unary(func) {
function wrap (line 18677) | function wrap(value, wrapper) {
function castArray (line 18716) | function castArray() {
function clone (line 18750) | function clone(value) {
function cloneWith (line 18785) | function cloneWith(value, customizer) {
function cloneDeep (line 18808) | function cloneDeep(value) {
function cloneDeepWith (line 18840) | function cloneDeepWith(value, customizer) {
function conformsTo (line 18869) | function conformsTo(object, source) {
function eq (line 18905) | function eq(value, other) {
function isArrayLike (line 19053) | function isArrayLike(value) {
function isArrayLikeObject (line 19082) | function isArrayLikeObject(value) {
function isBoolean (line 19103) | function isBoolean(value) {
function isElement (line 19163) | function isElement(value) {
function isEmpty (line 19200) | function isEmpty(value) {
function isEqual (line 19252) | function isEqual(value, other) {
function isEqualWith (line 19288) | function isEqualWith(value, other, customizer) {
function isError (line 19312) | function isError(value) {
function isFinite (line 19347) | function isFinite(value) {
function isFunction (line 19368) | function isFunction(value) {
function isInteger (line 19404) | function isInteger(value) {
function isLength (line 19434) | function isLength(value) {
function isObject (line 19464) | function isObject(value) {
function isObjectLike (line 19493) | function isObjectLike(value) {
function isMatch (line 19544) | function isMatch(object, source) {
function isMatchWith (line 19580) | function isMatchWith(object, source, customizer) {
function isNaN (line 19613) | function isNaN(value) {
function isNative (line 19646) | function isNative(value) {
function isNull (line 19670) | function isNull(value) {
function isNil (line 19694) | function isNil(value) {
function isNumber (line 19724) | function isNumber(value) {
function isPlainObject (line 19757) | function isPlainObject(value) {
function isSafeInteger (line 19816) | function isSafeInteger(value) {
function isString (line 19856) | function isString(value) {
function isSymbol (line 19878) | function isSymbol(value) {
function isUndefined (line 19919) | function isUndefined(value) {
function isWeakMap (line 19940) | function isWeakMap(value) {
function isWeakSet (line 19961) | function isWeakSet(value) {
function toArray (line 20040) | function toArray(value) {
function toFinite (line 20079) | function toFinite(value) {
function toInteger (line 20117) | function toInteger(value) {
function toLength (line 20151) | function toLength(value) {
function toNumber (line 20178) | function toNumber(value) {
function toPlainObject (line 20223) | function toPlainObject(value) {
function toSafeInteger (line 20251) | function toSafeInteger(value) {
function toString (line 20278) | function toString(value) {
function create (line 20481) | function create(prototype, properties) {
function findKey (line 20597) | function findKey(object, predicate) {
function findLastKey (line 20636) | function findLastKey(object, predicate) {
function forIn (line 20668) | function forIn(object, iteratee) {
function forInRight (line 20700) | function forInRight(object, iteratee) {
function forOwn (line 20734) | function forOwn(object, iteratee) {
function forOwnRight (line 20764) | function forOwnRight(object, iteratee) {
function functions (line 20791) | function functions(object) {
function functionsIn (line 20818) | function functionsIn(object) {
function get (line 20847) | function get(object, path, defaultValue) {
function has (line 20879) | function has(object, path) {
function hasIn (line 20909) | function hasIn(object, path) {
function keys (line 21027) | function keys(object) {
function keysIn (line 21054) | function keysIn(object) {
function mapKeys (line 21079) | function mapKeys(object, iteratee) {
function mapValues (line 21117) | function mapValues(object, iteratee) {
function omitBy (line 21259) | function omitBy(object, predicate) {
function pickBy (line 21302) | function pickBy(object, predicate) {
function result (line 21344) | function result(object, path, defaultValue) {
function set (line 21394) | function set(object, path, value) {
function setWith (line 21422) | function setWith(object, path, value, customizer) {
function transform (line 21509) | function transform(object, iteratee, accumulator) {
function unset (line 21559) | function unset(object, path) {
function update (line 21590) | function update(object, path, updater) {
function updateWith (line 21618) | function updateWith(object, path, updater, customizer) {
function values (line 21649) | function values(object) {
function valuesIn (line 21677) | function valuesIn(object) {
function clamp (line 21702) | function clamp(number, lower, upper) {
function inRange (line 21756) | function inRange(number, start, end) {
function random (line 21799) | function random(lower, upper, floating) {
function capitalize (line 21880) | function capitalize(string) {
function deburr (line 21902) | function deburr(string) {
function endsWith (line 21930) | function endsWith(string, target, position) {
function escape (line 21972) | function escape(string) {
function escapeRegExp (line 21994) | function escapeRegExp(string) {
function pad (line 22092) | function pad(string, length, chars) {
function padEnd (line 22131) | function padEnd(string, length, chars) {
function padStart (line 22164) | function padStart(string, length, chars) {
function parseInt (line 22198) | function parseInt(string, radix, guard) {
function repeat (line 22229) | function repeat(string, n, guard) {
function replace (line 22257) | function replace() {
function split (line 22308) | function split(string, separator, limit) {
function startsWith (line 22377) | function startsWith(string, target, position) {
function template (line 22491) | function template(string, options, guard) {
function toLower (line 22620) | function toLower(value) {
function toUpper (line 22645) | function toUpper(value) {
function trim (line 22671) | function trim(string, chars, guard) {
function trimEnd (line 22706) | function trimEnd(string, chars, guard) {
function trimStart (line 22739) | function trimStart(string, chars, guard) {
function truncate (line 22790) | function truncate(string, options) {
function unescape (line 22865) | function unescape(string) {
function words (line 22934) | function words(string, pattern, guard) {
function cond (line 23039) | function cond(pairs) {
function conforms (line 23085) | function conforms(source) {
function constant (line 23108) | function constant(value) {
function defaultTo (line 23134) | function defaultTo(value, defaultValue) {
function identity (line 23201) | function identity(value) {
function iteratee (line 23247) | function iteratee(func) {
function matches (line 23279) | function matches(source) {
function matchesProperty (line 23309) | function matchesProperty(path, srcValue) {
function mixin (line 23408) | function mixin(object, source, options) {
function noConflict (line 23457) | function noConflict() {
function noop (line 23476) | function noop() {
function nthArg (line 23500) | function nthArg(n) {
function property (line 23601) | function property(path) {
function propertyOf (line 23626) | function propertyOf(object) {
function stubArray (line 23731) | function stubArray() {
function stubFalse (line 23748) | function stubFalse() {
function stubObject (line 23770) | function stubObject() {
function stubString (line 23787) | function stubString() {
function stubTrue (line 23804) | function stubTrue() {
function times (line 23827) | function times(n, iteratee) {
function toPath (line 23862) | function toPath(value) {
function uniqueId (line 23886) | function uniqueId(prefix) {
function max (line 23995) | function max(array) {
function maxBy (line 24024) | function maxBy(array, iteratee) {
function mean (line 24044) | function mean(array) {
function meanBy (line 24071) | function meanBy(array, iteratee) {
function min (line 24093) | function min(array) {
function minBy (line 24122) | function minBy(array, iteratee) {
function sum (line 24203) | function sum(array) {
function sumBy (line 24232) | function sumBy(array, iteratee) {
function empty (line 24844) | function empty(scheduler) {
function emptyScheduled (line 24847) | function emptyScheduled(scheduler) {
function isNothing (line 24901) | function isNothing(subject) {
function isObject (line 24906) | function isObject(subject) {
function toArray (line 24911) | function toArray(sequence) {
function extend (line 24919) | function extend(target, source) {
function repeat (line 24935) | function repeat(string, count) {
function isNegativeZero (line 24946) | function isNegativeZero(number) {
function compileList (line 24973) | function compileList(schema, name, result) {
function compileMap (line 24996) | function compileMap(/* lists... */) {
function Schema (line 25015) | function Schema(definition) {
function copyProps (line 25083) | function copyProps (src, dst) {
function SafeBuffer (line 25096) | function SafeBuffer (arg, encodingOrOffset, length) {
function map (line 25160) | function map(project, thisArg) {
function MapOperator (line 25169) | function MapOperator(project, thisArg) {
function MapSubscriber (line 25181) | function MapSubscriber(destination, project, thisArg) {
function isScheduler (line 25222) | function isScheduler(value) {
function _load_constants (line 25246) | function _load_constants() {
function _load_blockingQueue (line 25252) | function _load_blockingQueue() {
function _load_errors (line 25258) | function _load_errors() {
function _load_promise (line 25264) | function _load_promise() {
function _interopRequireDefault (line 25268) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _interopRequireWildcard (line 25270) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function validate (line 25285) | function validate(program, opts = {}) {
function forkp (line 25316) | function forkp(program, args, opts) {
function spawnp (line 25333) | function spawnp(program, args, opts) {
function forwardSignalToSpawnedProcesses (line 25352) | function forwardSignalToSpawnedProcesses(signal) {
function spawn (line 25371) | function spawn(program, args, opts = {}, onData) {
function wait (line 25458) | function wait(delay) {
function promisify (line 25464) | function promisify(fn, firstData) {
function queue (line 25491) | function queue(arr, promiseProducer, concurrency = Infinity) {
function YAMLException (line 25563) | function YAMLException(reason, mark) {
function tryCatcher (line 25649) | function tryCatcher() {
function tryCatch (line 25658) | function tryCatch(fn) {
function _load_yarnRegistry (line 25679) | function _load_yarnRegistry() {
function _load_npmRegistry (line 25685) | function _load_npmRegistry() {
function _interopRequireDefault (line 25689) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _load_asyncToGenerator (line 25711) | function _load_asyncToGenerator() {
function setFlags (line 25756) | function setFlags(commander) {
function hasWrapper (line 25760) | function hasWrapper(commander, args) {
function _load_errors (line 25773) | function _load_errors() {
function _load_misc (line 25779) | function _load_misc() {
function _interopRequireDefault (line 25783) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function from (line 25893) | function from(input, scheduler) {
class Hash (line 26265) | class Hash {
method isHash (line 26266) | get isHash () { return true }
method constructor (line 26267) | constructor (hash, opts) {
method hexDigest (line 26285) | hexDigest () {
method toJSON (line 26288) | toJSON () {
method toString (line 26291) | toString (opts) {
class Integrity (line 26319) | class Integrity {
method isIntegrity (line 26320) | get isIntegrity () { return true }
method toJSON (line 26321) | toJSON () {
method toString (line 26324) | toString (opts) {
method concat (line 26337) | concat (integrity, opts) {
method hexDigest (line 26343) | hexDigest () {
method match (line 26346) | match (integrity, opts) {
method pickAlgorithm (line 26359) | pickAlgorithm (opts) {
function parse (line 26374) | function parse (sri, opts) {
function _parse (line 26387) | function _parse (integrity, opts) {
function stringify (line 26405) | function stringify (obj, opts) {
function fromHex (line 26416) | function fromHex (hexDigest, algorithm, opts) {
function fromData (line 26428) | function fromData (data, opts) {
function fromStream (line 26450) | function fromStream (stream, opts) {
function checkData (line 26466) | function checkData (data, sri, opts) {
function checkStream (line 26505) | function checkStream (stream, sri, opts) {
function integrityStream (line 26523) | function integrityStream (opts) {
function createIntegrity (line 26579) | function createIntegrity (opts) {
function getPrioritizedHash (line 26625) | function getPrioritizedHash (algo1, algo2) {
function _load_rootUser (line 26672) | function _load_rootUser() {
function _interopRequireDefault (line 26676) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function FingerprintFormatError (line 26806) | function FingerprintFormatError(fp, format) {
function InvalidAlgorithmError (line 26820) | function InvalidAlgorithmError(alg) {
function KeyParseError (line 26829) | function KeyParseError(name, format, innerErr) {
function SignatureParseError (line 26841) | function SignatureParseError(type, format, innerErr) {
function CertificateParseError (line 26853) | function CertificateParseError(name, format, innerErr) {
function KeyEncryptedError (line 26865) | function KeyEncryptedError(name, format) {
function Signature (line 26907) | function Signature(opts) {
function parseOneNum (line 27072) | function parseOneNum(data, type, format, opts) {
function parseDSAasn1 (line 27115) | function parseDSAasn1(data, type, format, opts) {
function parseDSA (line 27127) | function parseDSA(data, type, format, opts) {
function parseECDSA (line 27142) | function parseECDSA(data, type, format, opts) {
function ts64 (line 27241) | function ts64(x, i, h, l) {
function vn (line 27252) | function vn(x, xi, y, yi, n) {
function crypto_verify_16 (line 27258) | function crypto_verify_16(x, xi, y, yi) {
function crypto_verify_32 (line 27262) | function crypto_verify_32(x, xi, y, yi) {
function core_salsa20 (line 27266) | function core_salsa20(o, p, k, c) {
function core_hsalsa20 (line 27459) | function core_hsalsa20(o,p,k,c) {
function crypto_core_salsa20 (line 27596) | function crypto_core_salsa20(out,inp,k,c) {
function crypto_core_hsalsa20 (line 27600) | function crypto_core_hsalsa20(out,inp,k,c) {
function crypto_stream_salsa20_xor (line 27607) | function crypto_stream_salsa20_xor(c,cpos,m,mpos,b,n,k) {
function crypto_stream_salsa20 (line 27632) | function crypto_stream_salsa20(c,cpos,b,n,k) {
function crypto_stream (line 27656) | function crypto_stream(c,cpos,d,n,k) {
function crypto_stream_xor (line 27664) | function crypto_stream_xor(c,cpos,m,mpos,d,n,k) {
function crypto_onetimeauth (line 28029) | function crypto_onetimeauth(out, outpos, m, mpos, n, k) {
function crypto_onetimeauth_verify (line 28036) | function crypto_onetimeauth_verify(h, hpos, m, mpos, n, k) {
function crypto_secretbox (line 28042) | function crypto_secretbox(c,m,d,n,k) {
function crypto_secretbox_open (line 28051) | function crypto_secretbox_open(m,c,d,n,k) {
function set25519 (line 28062) | function set25519(r, a) {
function car25519 (line 28067) | function car25519(o) {
function sel25519 (line 28077) | function sel25519(p, q, b) {
function pack25519 (line 28086) | function pack25519(o, n) {
function neq25519 (line 28110) | function neq25519(a, b) {
function par25519 (line 28117) | function par25519(a) {
function unpack25519 (line 28123) | function unpack25519(o, n) {
function A (line 28129) | function A(o, a, b) {
function Z (line 28133) | function Z(o, a, b) {
function M (line 28137) | function M(o, a, b) {
function S (line 28508) | function S(o, a) {
function inv25519 (line 28512) | function inv25519(o, i) {
function pow2523 (line 28523) | function pow2523(o, i) {
function crypto_scalarmult (line 28534) | function crypto_scalarmult(q, n, p) {
function crypto_scalarmult_base (line 28587) | function crypto_scalarmult_base(q, n) {
function crypto_box_keypair (line 28591) | function crypto_box_keypair(y, x) {
function crypto_box_beforenm (line 28596) | function crypto_box_beforenm(k, y, x) {
function crypto_box (line 28605) | function crypto_box(c, m, d, n, y, x) {
function crypto_box_open (line 28611) | function crypto_box_open(m, c, d, n, y, x) {
function crypto_hashblocks_hl (line 28660) | function crypto_hashblocks_hl(hh, hl, m, n) {
function crypto_hash (line 29021) | function crypto_hash(out, m, n) {
function add (line 29061) | function add(p, q) {
function cswap (line 29087) | function cswap(p, q, b) {
function pack (line 29094) | function pack(r, p) {
function scalarmult (line 29103) | function scalarmult(p, q, s) {
function scalarbase (line 29118) | function scalarbase(p, s) {
function crypto_sign_keypair (line 29127) | function crypto_sign_keypair(pk, sk, seeded) {
function modL (line 29147) | function modL(r, x) {
function reduce (line 29172) | function reduce(r) {
function crypto_sign (line 29180) | function crypto_sign(sm, m, n, sk) {
function unpackneg (line 29215) | function unpackneg(r, p) {
function crypto_sign_open (line 29253) | function crypto_sign_open(m, sm, n, pk) {
function checkLengths (line 29348) | function checkLengths(k, n) {
function checkBoxLengths (line 29353) | function checkBoxLengths(pk, sk) {
function checkArrayTypes (line 29358) | function checkArrayTypes() {
function cleanup (line 29366) | function cleanup(arr) {
function _load_baseResolver (line 29623) | function _load_baseResolver() {
function _load_npmResolver (line 29629) | function _load_npmResolver() {
function _load_yarnResolver (line 29635) | function _load_yarnResolver() {
function _load_gitResolver (line 29641) | function _load_gitResolver() {
function _load_tarballResolver (line 29647) | function _load_tarballResolver() {
function _load_githubResolver (line 29653) | function _load_githubResolver() {
function _load_fileResolver (line 29659) | function _load_fileResolver() {
function _load_linkResolver (line 29665) | function _load_linkResolver() {
function _load_gitlabResolver (line 29671) | function _load_gitlabResolver() {
function _load_gistResolver (line 29677) | function _load_gistResolver() {
function _load_bitbucketResolver (line 29683) | function _load_bitbucketResolver() {
function _load_hostedGitResolver (line 29689) | function _load_hostedGitResolver() {
function _load_registryResolver (line 29695) | function _load_registryResolver() {
function _interopRequireDefault (line 29699) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getExoticResolver (line 29710) | function getExoticResolver(pattern) {
function hostedGitFragmentToGitUrl (line 29740) | function hostedGitFragmentToGitUrl(fragment, reporter) {
class Prompt (line 29779) | class Prompt {
method constructor (line 29780) | constructor(question, rl, answers) {
method run (line 29820) | run() {
method _run (line 29827) | _run(cb) {
method throwParamError (line 29837) | throwParamError(name) {
method close (line 29844) | close() {
method handleSubmitEvents (line 29853) | handleSubmitEvents(submit) {
method getQuestion (line 29891) | getQuestion() {
function normalizeKeypressEvents (line 29925) | function normalizeKeypressEvents(value, key) {
function BigInteger (line 29996) | function BigInteger(a,b,c) {
function nbi (line 30004) | function nbi() { return new BigInteger(null); }
function am1 (line 30014) | function am1(i,x,w,j,c,n) {
function am2 (line 30025) | function am2(i,x,w,j,c,n) {
function am3 (line 30039) | function am3(i,x,w,j,c,n) {
function int2char (line 30085) | function int2char(n) { return BI_RM.charAt(n); }
function intAt (line 30086) | function intAt(s,i) {
function bnpCopyTo (line 30092) | function bnpCopyTo(r) {
function bnpFromInt (line 30099) | function bnpFromInt(x) {
function nbv (line 30108) | function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
function bnpFromString (line 30111) | function bnpFromString(s,b) {
function bnpClamp (line 30150) | function bnpClamp() {
function bnToString (line 30156) | function bnToString(b) {
function bnNegate (line 30186) | function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); retu...
function bnAbs (line 30189) | function bnAbs() { return (this.s<0)?this.negate():this; }
function bnCompareTo (line 30192) | function bnCompareTo(a) {
function nbits (line 30203) | function nbits(x) {
function bnBitLength (line 30214) | function bnBitLength() {
function bnpDLShiftTo (line 30220) | function bnpDLShiftTo(n,r) {
function bnpDRShiftTo (line 30229) | function bnpDRShiftTo(n,r) {
function bnpLShiftTo (line 30236) | function bnpLShiftTo(n,r) {
function bnpRShiftTo (line 30253) | function bnpRShiftTo(n,r) {
function bnpSubTo (line 30271) | function bnpSubTo(a,r) {
function bnpMultiplyTo (line 30305) | function bnpMultiplyTo(a,r) {
function bnpSquareTo (line 30317) | function bnpSquareTo(r) {
function bnpDivRemTo (line 30335) | function bnpDivRemTo(m,q,r) {
function bnMod (line 30383) | function bnMod(a) {
function Classic (line 30391) | function Classic(m) { this.m = m; }
function cConvert (line 30392) | function cConvert(x) {
function cRevert (line 30396) | function cRevert(x) { return x; }
function cReduce (line 30397) | function cReduce(x) { x.divRemTo(this.m,null,x); }
function cMulTo (line 30398) | function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
function cSqrTo (line 30399) | function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
function bnpInvDigit (line 30417) | function bnpInvDigit() {
function Montgomery (line 30433) | function Montgomery(m) {
function montConvert (line 30443) | function montConvert(x) {
function montRevert (line 30452) | function montRevert(x) {
function montReduce (line 30460) | function montReduce(x) {
function montSqrTo (line 30479) | function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
function montMulTo (line 30482) | function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
function bnpIsEven (line 30491) | function bnpIsEven() { return ((this.t>0)?(this[0]&1):this.s) == 0; }
function bnpExp (line 30494) | function bnpExp(e,z) {
function bnModPowInt (line 30507) | function bnModPowInt(e,m) {
function bnClone (line 30553) | function bnClone() { var r = nbi(); this.copyTo(r); return r; }
function bnIntValue (line 30556) | function bnIntValue() {
function bnByteValue (line 30568) | function bnByteValue() { return (this.t==0)?this.s:(this[0]<<24)>>24; }
function bnShortValue (line 30571) | function bnShortValue() { return (this.t==0)?this.s:(this[0]<<16)>>16; }
function bnpChunkSize (line 30574) | function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r...
function bnSigNum (line 30577) | function bnSigNum() {
function bnpToRadix (line 30584) | function bnpToRadix(b) {
function bnpFromRadix (line 30599) | function bnpFromRadix(s,b) {
function bnpFromNumber (line 30626) | function bnpFromNumber(a,b,c) {
function bnToByteArray (line 30652) | function bnToByteArray() {
function bnEquals (line 30676) | function bnEquals(a) { return(this.compareTo(a)==0); }
function bnMin (line 30677) | function bnMin(a) { return(this.compareTo(a)<0)?this:a; }
function bnMax (line 30678) | function bnMax(a) { return(this.compareTo(a)>0)?this:a; }
function bnpBitwiseTo (line 30681) | function bnpBitwiseTo(a,op,r) {
function op_and (line 30699) | function op_and(x,y) { return x&y; }
function bnAnd (line 30700) | function bnAnd(a) { var r = nbi(); this.bitwiseTo(a,op_and,r); return r; }
function op_or (line 30703) | function op_or(x,y) { return x|y; }
function bnOr (line 30704) | function bnOr(a) { var r = nbi(); this.bitwiseTo(a,op_or,r); return r; }
function op_xor (line 30707) | function op_xor(x,y) { return x^y; }
function bnXor (line 30708) | function bnXor(a) { var r = nbi(); this.bitwiseTo(a,op_xor,r); return r; }
function op_andnot (line 30711) | function op_andnot(x,y) { return x&~y; }
function bnAndNot (line 30712) | function bnAndNot(a) { var r = nbi(); this.bitwiseTo(a,op_andnot,r); ret...
function bnNot (line 30715) | function bnNot() {
function bnShiftLeft (line 30724) | function bnShiftLeft(n) {
function bnShiftRight (line 30731) | function bnShiftRight(n) {
function lbit (line 30738) | function lbit(x) {
function bnGetLowestSetBit (line 30750) | function bnGetLowestSetBit() {
function cbit (line 30758) | function cbit(x) {
function bnBitCount (line 30765) | function bnBitCount() {
function bnTestBit (line 30772) | function bnTestBit(n) {
function bnpChangeBit (line 30779) | function bnpChangeBit(n,op) {
function bnSetBit (line 30786) | function bnSetBit(n) { return this.changeBit(n,op_or); }
function bnClearBit (line 30789) | function bnClearBit(n) { return this.changeBit(n,op_andnot); }
function bnFlipBit (line 30792) | function bnFlipBit(n) { return this.changeBit(n,op_xor); }
function bnpAddTo (line 30795) | function bnpAddTo(a,r) {
function bnAdd (line 30828) | function bnAdd(a) { var r = nbi(); this.addTo(a,r); return r; }
function bnSubtract (line 30831) | function bnSubtract(a) { var r = nbi(); this.subTo(a,r); return r; }
function bnMultiply (line 30834) | function bnMultiply(a) { var r = nbi(); this.multiplyTo(a,r); return r; }
function bnSquare (line 30837) | function bnSquare() { var r = nbi(); this.squareTo(r); return r; }
function bnDivide (line 30840) | function bnDivide(a) { var r = nbi(); this.divRemTo(a,r,null); return r; }
function bnRemainder (line 30843) | function bnRemainder(a) { var r = nbi(); this.divRemTo(a,null,r); return...
function bnDivideAndRemainder (line 30846) | function bnDivideAndRemainder(a) {
function bnpDMultiply (line 30853) | function bnpDMultiply(n) {
function bnpDAddOffset (line 30860) | function bnpDAddOffset(n,w) {
function NullExp (line 30872) | function NullExp() {}
function nNop (line 30873) | function nNop(x) { return x; }
function nMulTo (line 30874) | function nMulTo(x,y,r) { x.multiplyTo(y,r); }
function nSqrTo (line 30875) | function nSqrTo(x,r) { x.squareTo(r); }
function bnPow (line 30883) | function bnPow(e) { return this.exp(e,new NullExp()); }
function bnpMultiplyLowerTo (line 30887) | function bnpMultiplyLowerTo(a,n,r) {
function bnpMultiplyUpperTo (line 30900) | function bnpMultiplyUpperTo(a,n,r) {
function Barrett (line 30912) | function Barrett(m) {
function barrettConvert (line 30921) | function barrettConvert(x) {
function barrettRevert (line 30927) | function barrettRevert(x) { return x; }
function barrettReduce (line 30930) | function barrettReduce(x) {
function barrettSqrTo (line 30941) | function barrettSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
function barrettMulTo (line 30944) | function barrettMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
function bnModPow (line 30953) | function bnModPow(e,m) {
function bnGCD (line 31012) | function bnGCD(a) {
function bnpModInt (line 31040) | function bnpModInt(n) {
function bnModInverse (line 31050) | function bnModInverse(m) {
function bnIsProbablePrime (line 31095) | function bnIsProbablePrime(t) {
function bnpMillerRabin (line 31114) | function bnpMillerRabin(t) {
function rng_seed_int (line 31214) | function rng_seed_int(x) {
function rng_seed_time (line 31223) | function rng_seed_time() {
function rng_get_byte (line 31258) | function rng_get_byte() {
function rng_get_bytes (line 31272) | function rng_get_bytes(ba) {
function SecureRandom (line 31277) | function SecureRandom() {}
function Arcfour (line 31283) | function Arcfour() {
function ARC4init (line 31290) | function ARC4init(key) {
function ARC4next (line 31305) | function ARC4next() {
function prng_newstate (line 31319) | function prng_newstate() {
function charSet (line 31382) | function charSet (s) {
function filter (line 31393) | function filter (pattern, options) {
function ext (line 31400) | function ext (a, b) {
function minimatch (line 31434) | function minimatch (p, pattern, options) {
function Minimatch (line 31452) | function Minimatch (pattern, options) {
function make (line 31484) | function make () {
function parseNegate (line 31540) | function parseNegate () {
function braceExpand (line 31575) | function braceExpand (pattern, options) {
function parse (line 31613) | function parse (pattern, isSub) {
function makeRe (line 31984) | function makeRe () {
function match (line 32042) | function match (f, partial) {
function globUnescape (line 32259) | function globUnescape (s) {
function regExpEscape (line 32263) | function regExpEscape (s) {
function once (line 32292) | function once (fn) {
function onceStrict (line 32302) | function onceStrict (fn) {
function InnerSubscriber (line 32329) | function InnerSubscriber(parent, outerValue, outerIndex) {
function fromArray (line 32367) | function fromArray(input, scheduler) {
function read (line 32423) | function read(buf, options, forceType) {
function write (line 32531) | function write(key, options, type) {
function _load_extends (line 32610) | function _load_extends() {
function _load_asyncToGenerator (line 32616) | function _load_asyncToGenerator() {
function _load_constants (line 32622) | function _load_constants() {
function _load_fs (line 32628) | function _load_fs() {
function _load_npmResolver (line 32634) | function _load_npmResolver() {
function _load_envReplace (line 32640) | function _load_envReplace() {
function _load_baseRegistry (line 32646) | function _load_baseRegistry() {
function _load_misc (line 32652) | function _load_misc() {
function _load_path (line 32658) | function _load_path() {
function _load_normalizeUrl (line 32664) | function _load_normalizeUrl() {
function _load_userHomeDir (line 32670) | function _load_userHomeDir() {
function _load_userHomeDir2 (line 32676) | function _load_userHomeDir2() {
function _load_errors (line 32682) | function _load_errors() {
function _load_login (line 32688) | function _load_login() {
function _load_path2 (line 32694) | function _load_path2() {
function _load_url (line 32700) | function _load_url() {
function _load_ini (line 32706) | function _load_ini() {
function _interopRequireWildcard (line 32710) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 32712) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getGlobalPrefix (line 32731) | function getGlobalPrefix() {
function isPathConfigOption (line 32752) | function isPathConfigOption(key) {
function normalizePath (line 32756) | function normalizePath(val) {
function urlParts (line 32768) | function urlParts(requestUrl) {
class NpmRegistry (line 32776) | class NpmRegistry extends (_baseRegistry || _load_baseRegistry()).default {
method constructor (line 32777) | constructor(cwd, registries, requestManager, reporter, enableDefaultRc...
method escapeName (line 32782) | static escapeName(name) {
method isScopedPackage (line 32787) | isScopedPackage(packageIdent) {
method getRequestUrl (line 32791) | getRequestUrl(registry, pathname) {
method isRequestToRegistry (line 32805) | isRequestToRegistry(requestUrl, registryUrl) {
method request (line 32819) | request(pathname, opts = {}, packageName) {
method requestNeedsAuth (line 32882) | requestNeedsAuth(requestUrl) {
method checkOutdated (line 32897) | checkOutdated(config, name, range) {
method getPossibleConfigLocations (line 32936) | getPossibleConfigLocations(filename, reporter) {
method getConfigEnv (line 33006) | static getConfigEnv(env = process.env) {
method normalizeConfig (line 33014) | static normalizeConfig(config) {
method loadConfig (line 33028) | loadConfig() {
method getScope (line 33066) | getScope(packageIdent) {
method getRegistry (line 33071) | getRegistry(packageIdent) {
method getAuthByRegistry (line 33093) | getAuthByRegistry(registry) {
method getAuth (line 33117) | getAuth(packageIdent) {
method getScopedOption (line 33154) | getScopedOption(scope, option) {
method getRegistryOption (line 33158) | getRegistryOption(registry, option) {
method getRegistryOrGlobalOption (line 33171) | getRegistryOrGlobalOption(registry, option) {
function _load_baseResolver (line 33191) | function _load_baseResolver() {
function _interopRequireDefault (line 33195) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class ExoticResolver (line 33197) | class ExoticResolver extends (_baseResolver || _load_baseResolver()).def...
method isVersion (line 33199) | static isVersion(pattern) {
function _load_normalizePattern (line 33223) | function _load_normalizePattern() {
class WorkspaceLayout (line 33229) | class WorkspaceLayout {
method constructor (line 33230) | constructor(workspaces, config) {
method getWorkspaceManifest (line 33235) | getWorkspaceManifest(key) {
method getManifestByPattern (line 33239) | getManifestByPattern(pattern) {
function PromiseCapability (line 33294) | function PromiseCapability(C) {
function glob (line 33426) | function glob (pattern, options, cb) {
function extend (line 33445) | function extend (origin, add) {
function Glob (line 33481) | function Glob (pattern, options, cb) {
function next (line 33575) | function next () {
function lstatcb_ (line 33869) | function lstatcb_ (er, lstat) {
function readdirCb (line 33911) | function readdirCb (self, abs, cb) {
function lstatcb_ (line 34114) | function lstatcb_ (er, lstat) {
function posix (line 34185) | function posix(path) {
function win32 (line 34189) | function win32(path) {
function algToKeyType (line 34257) | function algToKeyType(alg) {
function keyTypeToAlg (line 34273) | function keyTypeToAlg(key) {
function read (line 34289) | function read(partial, type, buf, options) {
function write (line 34370) | function write(key, options) {
function _load_asyncToGenerator (line 34422) | function _load_asyncToGenerator() {
function _load_fs (line 34459) | function _load_fs() {
function _load_fs2 (line 34465) | function _load_fs2() {
function _load_path (line 34471) | function _load_path() {
function _interopRequireDefault (line 34475) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _load_util (line 34505) | function _load_util() {
function _load_invariant (line 34511) | function _load_invariant() {
function _load_stripBom (line 34517) | function _load_stripBom() {
function _load_constants (line 34523) | function _load_constants() {
function _load_errors (line 34529) | function _load_errors() {
function _load_map (line 34535) | function _load_map() {
function _interopRequireDefault (line 34539) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function isValidPropValueToken (line 34567) | function isValidPropValueToken(token) {
function buildToken (line 34576) | function buildToken(type, value) {
class Parser (line 34688) | class Parser {
method constructor (line 34689) | constructor(input, fileLoc = 'lockfile') {
method onComment (line 34695) | onComment(token) {
method next (line 34712) | next() {
method unexpected (line 34729) | unexpected(msg = 'Unexpected token') {
method expect (line 34733) | expect(tokType) {
method eat (line 34741) | eat(tokType) {
method parse (line 34750) | parse(indent = 0) {
function extractConflictVariants (line 34875) | function extractConflictVariants(str) {
function hasMergeConflicts (line 34918) | function hasMergeConflicts(str) {
function parse (line 34925) | function parse(str, fileLoc) {
function parseWithConflict (line 34956) | function parseWithConflict(str, fileLoc) {
function copy (line 35004) | function copy(o, to) {
function checkDataType (line 35011) | function checkDataType(dataType, data, negate) {
function checkDataTypes (line 35030) | function checkDataTypes(dataTypes, data) {
function coerceToTypes (line 35053) | function coerceToTypes(optionCoerceTypes, dataTypes) {
function toHash (line 35070) | function toHash(arr) {
function getProperty (line 35079) | function getProperty(key) {
function escapeQuotes (line 35088) | function escapeQuotes(str) {
function varOccurences (line 35097) | function varOccurences(str, dataVar) {
function varReplace (line 35104) | function varReplace(str, dataVar, expr) {
function cleanUpCode (line 35114) | function cleanUpCode(out) {
function finalCleanUpCode (line 35131) | function finalCleanUpCode(out, async) {
function schemaHasRules (line 35147) | function schemaHasRules(schema, rules) {
function schemaHasRulesExcept (line 35153) | function schemaHasRulesExcept(schema, rules, exceptKeyword) {
function toQuotedString (line 35159) | function toQuotedString(str) {
function getPathExpr (line 35164) | function getPathExpr(currentPath, expr, jsonPointers, isNumber) {
function getPath (line 35172) | function getPath(currentPath, prop, jsonPointers) {
function getData (line 35182) | function getData($data, lvl, paths) {
function joinPaths (line 35217) | function joinPaths (a, b) {
function unescapeFragment (line 35223) | function unescapeFragment(str) {
function escapeFragment (line 35228) | function escapeFragment(str) {
function escapeJsonPointer (line 35233) | function escapeJsonPointer(str) {
function unescapeJsonPointer (line 35238) | function unescapeJsonPointer(str) {
function _load_asyncToGenerator (line 35257) | function _load_asyncToGenerator() {
function revoke (line 35378) | function revoke() {
function _load_errors (line 35410) | function _load_errors() {
function _interopRequireDefault (line 35414) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getOneTimePassword (line 35416) | function getOneTimePassword(reporter) {
function hasWrapper (line 35420) | function hasWrapper(commander, args) {
function setFlags (line 35424) | function setFlags(commander) {
function _load_asyncToGenerator (line 35441) | function _load_asyncToGenerator() {
function _load_format (line 35449) | function _load_format() {
function _load_index (line 35455) | function _load_index() {
function _load_isCi (line 35461) | function _load_isCi() {
function _load_os (line 35467) | function _load_os() {
function _interopRequireWildcard (line 35471) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 35473) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function stringifyLangArgs (line 35480) | function stringifyLangArgs(args) {
class BaseReporter (line 35502) | class BaseReporter {
method constructor (line 35503) | constructor(opts = {}) {
method lang (line 35523) | lang(key, ...args) {
method rawText (line 35543) | rawText(str) {
method verbose (line 35551) | verbose(msg) {
method verboseInspect (line 35557) | verboseInspect(val) {
method _verbose (line 35563) | _verbose(msg) {}
method _verboseInspect (line 35564) | _verboseInspect(val) {}
method _getStandardInput (line 35566) | _getStandardInput() {
method initPeakMemoryCounter (line 35583) | initPeakMemoryCounter() {
method checkPeakMemory (line 35592) | checkPeakMemory() {
method close (line 35602) | close() {
method getTotalTime (line 35609) | getTotalTime() {
method list (line 35614) | list(key, items, hints) {}
method tree (line 35617) | tree(key, obj, { force = false } = {}) {}
method step (line 35620) | step(current, total, message, emoji) {}
method error (line 35624) | error(message) {}
method info (line 35627) | info(message) {}
method warn (line 35630) | warn(message) {}
method success (line 35633) | success(message) {}
method log (line 35637) | log(message, { force = false } = {}) {}
method command (line 35640) | command(command) {}
method inspect (line 35643) | inspect(value) {}
method header (line 35646) | header(command, pkg) {}
method footer (line 35649) | footer(showPeakMemory) {}
method table (line 35652) | table(head, body) {}
method auditAction (line 35655) | auditAction(recommendation) {}
method auditManualReview (line 35658) | auditManualReview() {}
method auditAdvisory (line 35661) | auditAdvisory(resolution, auditAdvisory) {}
method auditSummary (line 35664) | auditSummary(auditMetadata) {}
method activity (line 35667) | activity() {
method activitySet (line 35675) | activitySet(total, workers) {
method question (line 35688) | question(question, options = {}) {
method questionAffirm (line 35693) | questionAffirm(question) {
method select (line 35721) | select(header, question, options) {
method progress (line 35726) | progress(total) {
method disableProgress (line 35731) | disableProgress() {
method prompt (line 35736) | prompt(message, choices, options = {}) {
function _load_asyncToGenerator (line 35755) | function _load_asyncToGenerator() {
function _load_errors (line 35763) | function _load_errors() {
function _load_index (line 35769) | function _load_index() {
function _load_gitResolver (line 35775) | function _load_gitResolver() {
function _load_exoticResolver (line 35781) | function _load_exoticResolver() {
function _load_git (line 35787) | function _load_git() {
function _load_guessName (line 35793) | function _load_guessName() {
function _interopRequireDefault (line 35797) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function parseHash (line 35799) | function parseHash(fragment) {
function explodeHostedGitFragment (line 35804) | function explodeHostedGitFragment(fragment, reporter) {
class HostedGitResolver (line 35831) | class HostedGitResolver extends (_exoticResolver || _load_exoticResolver...
method constructor (line 35832) | constructor(request, fragment) {
method getTarballUrl (line 35845) | static getTarballUrl(exploded, commit) {
method getGitHTTPUrl (line 35851) | static getGitHTTPUrl(exploded) {
method getGitHTTPBaseUrl (line 35856) | static getGitHTTPBaseUrl(exploded) {
method getGitSSHUrl (line 35861) | static getGitSSHUrl(exploded) {
method getHTTPFileUrl (line 35866) | static getHTTPFileUrl(exploded, filename, commit) {
method getRefOverHTTP (line 35873) | getRefOverHTTP(url) {
method resolveOverHTTP (line 35909) | resolveOverHTTP(url) {
method hasHTTPCapability (line 35981) | hasHTTPCapability(url) {
method resolve (line 35994) | resolve() {
function _load_map (line 36048) | function _load_map() {
function _interopRequireDefault (line 36052) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class BlockingQueue (line 36056) | class BlockingQueue {
method constructor (line 36057) | constructor(alias, maxConcurrency = Infinity) {
method stillActive (line 36071) | stillActive() {
method stuckTick (line 36083) | stuckTick() {
method push (line 36090) | push(key, factory) {
method shift (line 36108) | shift(key) {
method maybePushConcurrencyQueue (line 36161) | maybePushConcurrencyQueue(run) {
method shiftConcurrencyQueue (line 36169) | shiftConcurrencyQueue() {
function _load_extends (line 36194) | function _load_extends() {
function _load_asyncToGenerator (line 36200) | function _load_asyncToGenerator() {
function _load_errors (line 36588) | function _load_errors() {
function _load_constants (line 36594) | function _load_constants() {
function _load_child (line 36600) | function _load_child() {
function _load_fs (line 36606) | function _load_fs() {
function _load_dynamicRequire (line 36612) | function _load_dynamicRequire() {
function _load_portableScript (line 36618) | function _load_portableScript() {
function _load_fixCmdWinSlashes (line 36624) | function _load_fixCmdWinSlashes() {
function _load_global (line 36630) | function _load_global() {
function _interopRequireWildcard (line 36634) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 36636) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function checkForGypIfNeeded (line 36660) | function checkForGypIfNeeded(config, cmd, paths) {
function isArray (line 36713) | function isArray(arg) {
function isBoolean (line 36721) | function isBoolean(arg) {
function isNull (line 36726) | function isNull(arg) {
function isNullOrUndefined (line 36731) | function isNullOrUndefined(arg) {
function isNumber (line 36736) | function isNumber(arg) {
function isString (line 36741) | function isString(arg) {
function isSymbol (line 36746) | function isSymbol(arg) {
function isUndefined (line 36751) | function isUndefined(arg) {
function isRegExp (line 36756) | function isRegExp(re) {
function isObject (line 36761) | function isObject(arg) {
function isDate (line 36766) | function isDate(d) {
function isError (line 36771) | function isError(e) {
function isFunction (line 36776) | function isFunction(arg) {
function isPrimitive (line 36781) | function isPrimitive(arg) {
function objectToString (line 36793) | function objectToString(o) {
function micromatch (line 36825) | function micromatch(files, patterns, opts) {
function match (line 36864) | function match(files, pattern, opts) {
function filter (line 36941) | function filter(patterns, opts) {
function isMatch (line 36987) | function isMatch(fp, pattern, opts) {
function contains (line 37004) | function contains(fp, pattern, opts) {
function any (line 37029) | function any(fp, patterns, opts) {
function matchKeys (line 37056) | function matchKeys(obj, glob, options) {
function matcher (line 37081) | function matcher(pattern, opts) {
function toRegex (line 37130) | function toRegex(glob, options) {
function wrapGlob (line 37167) | function wrapGlob(glob, opts) {
function makeRe (line 37187) | function makeRe(glob, opts) {
function msg (line 37209) | function msg(method, what, type) {
function Duplex (line 37304) | function Duplex(options) {
function onend (line 37331) | function onend() {
function onEndNT (line 37341) | function onEndNT(self) {
function multicast (line 37383) | function multicast(subjectOrSubjectFactory, selector) {
function MulticastOperator (line 37404) | function MulticastOperator(subjectFactory, selector) {
function identity (line 37439) | function identity(x) {
function _load_asyncToGenerator (line 37473) | function _load_asyncToGenerator() {
function throwPermError (line 37624) | function throwPermError(err, dest) {
function _load_errors (line 37744) | function _load_errors() {
function _load_index (line 37750) | function _load_index() {
function _load_baseReporter (line 37756) | function _load_baseReporter() {
function _load_buildSubCommands (line 37762) | function _load_buildSubCommands() {
function _load_lockfile (line 37768) | function _load_lockfile() {
function _load_install (line 37774) | function _load_install() {
function _load_add (line 37780) | function _load_add() {
function _load_remove (line 37786) | function _load_remove() {
function _load_upgrade (line 37792) | function _load_upgrade() {
function _load_upgradeInteractive (line 37798) | function _load_upgradeInteractive() {
function _load_packageLinker (line 37804) | function _load_packageLinker() {
function _load_constants (line 37810) | function _load_constants() {
function _load_fs (line 37816) | function _load_fs() {
function _interopRequireWildcard (line 37820) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 37822) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class GlobalAdd (line 37824) | class GlobalAdd extends (_add || _load_add()).Add {
method constructor (line 37825) | constructor(args, flags, config, reporter, lockfile) {
method maybeOutputSaveTree (line 37831) | maybeOutputSaveTree() {
method _logSuccessSaveLockfile (line 37852) | _logSuccessSaveLockfile() {
function hasWrapper (line 37859) | function hasWrapper(flags, args) {
function ls (line 37863) | function ls(manifest, reporter, saved) {
method add (line 37879) | add(config, reporter, flags, args) {
method bin (line 37898) | bin(config, reporter, flags, args) {
method dir (line 37904) | dir(config, reporter, flags, args) {
method ls (line 37909) | ls(config, reporter, flags, args) {
method list (line 37916) | list(config, reporter, flags, args) {
method remove (line 37922) | remove(config, reporter, flags, args) {
method upgrade (line 37936) | upgrade(config, reporter, flags, args) {
method upgradeInteractive (line 37950) | upgradeInteractive(config, reporter, flags, args) {
function setFlags (line 37968) | function setFlags(commander) {
function _load_asyncToGenerator (line 37988) | function _load_asyncToGenerator() {
function _load_path (line 37994) | function _load_path() {
function _load_invariant (line 38000) | function _load_invariant() {
function _load_semver (line 38006) | function _load_semver() {
function _load_validate (line 38012) | function _load_validate() {
function _load_lockfile (line 38018) | function _load_lockfile() {
function _load_packageReference (line 38024) | function _load_packageReference() {
function _load_index (line 38030) | function _load_index() {
function _load_errors (line 38036) | function _load_errors() {
function _load_constants (line 38042) | function _load_constants() {
function _load_version (line 38048) | function _load_version() {
function _load_workspaceResolver (line 38054) | function _load_workspaceResolver() {
function _load_fs (line 38060) | function _load_fs() {
function _load_normalizePattern (line 38066) | function _load_normalizePattern() {
function _interopRequireWildcard (line 38070) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 38072) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class PackageRequest (line 38076) | class PackageRequest {
method constructor (line 38077) | constructor(req, resolver) {
method init (line 38091) | init() {
method getLocked (line 38095) | getLocked(remoteType) {
method findVersionOnRegistry (line 38132) | findVersionOnRegistry(pattern) {
method getRegistryResolver (line 38177) | getRegistryResolver() {
method normalizeRange (line 38186) | normalizeRange(pattern) {
method normalize (line 38209) | normalize(pattern) {
method findExoticVersionInfo (line 38228) | findExoticVersionInfo(ExoticResolver, range) {
method findVersionInfo (line 38238) | findVersionInfo() {
method reportResolvedRangeMatch (line 38263) | reportResolvedRangeMatch(info, resolved) {}
method resolveToExistingVersion (line 38270) | resolveToExistingVersion(info) {
method find (line 38292) | find({ fresh, frozen }) {
method validateVersionInfo (line 38432) | static validateVersionInfo(info, reporter) {
method getPackageVersion (line 38462) | static getPackageVersion(info) {
method getOutdatedPackages (line 38471) | static getOutdatedPackages(lockfile, install, config, reporter, filter...
class BaseResolver (line 38566) | class BaseResolver {
method constructor (line 38567) | constructor(request, fragment) {
method fork (line 38577) | fork(Resolver, resolveArg, ...args) {
method resolve (line 38583) | resolve(resolveArg) {
function _load_asyncToGenerator (line 38602) | function _load_asyncToGenerator() {
function _load_index (line 38608) | function _load_index() {
function _load_misc (line 38614) | function _load_misc() {
function _load_version (line 38620) | function _load_version() {
function _load_guessName (line 38626) | function _load_guessName() {
function _load_index2 (line 38632) | function _load_index2() {
function _load_exoticResolver (line 38638) | function _load_exoticResolver() {
function _load_git (line 38644) | function _load_git() {
function _interopRequireWildcard (line 38648) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 38650) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class GitResolver (line 38658) | class GitResolver extends (_exoticResolver || _load_exoticResolver()).de...
method constructor (line 38659) | constructor(request, fragment) {
method isVersion (line 38671) | static isVersion(pattern) {
method resolve (line 38705) | resolve(forked) {
function _load_errors (line 38895) | function _load_errors() {
function _load_util (line 38901) | function _load_util() {
function _load_typos (line 38907) | function _load_typos() {
function _interopRequireDefault (line 38911) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function isValidName (line 38927) | function isValidName(name) {
function isValidScopedName (line 38931) | function isValidScopedName(name) {
function isValidPackageName (line 38940) | function isValidPackageName(name) {
function cleanDependencies (line 38944) | function cleanDependencies(info, isRoot, reporter, warn) {
function selectColor (line 39420) | function selectColor(namespace) {
function createDebug (line 39439) | function createDebug(namespace) {
function destroy (line 39511) | function destroy () {
function enable (line 39529) | function enable(namespaces) {
function disable (line 39561) | function disable() {
function enabled (line 39573) | function enabled(name) {
function coerce (line 39599) | function coerce(val) {
function ECFieldElementFp (line 39621) | function ECFieldElementFp(q,x) {
function feFpEquals (line 39627) | function feFpEquals(other) {
function feFpToBigInteger (line 39632) | function feFpToBigInteger() {
function feFpNegate (line 39636) | function feFpNegate() {
function feFpAdd (line 39640) | function feFpAdd(b) {
function feFpSubtract (line 39644) | function feFpSubtract(b) {
function feFpMultiply (line 39648) | function feFpMultiply(b) {
function feFpSquare (line 39652) | function feFpSquare() {
function feFpDivide (line 39656) | function feFpDivide(b) {
function ECPointFp (line 39673) | function ECPointFp(curve,x,y,z) {
function pointFpGetX (line 39689) | function pointFpGetX() {
function pointFpGetY (line 39698) | function pointFpGetY() {
function pointFpEquals (line 39707) | function pointFpEquals(other) {
function pointFpIsInfinity (line 39720) | function pointFpIsInfinity() {
function pointFpNegate (line 39725) | function pointFpNegate() {
function pointFpAdd (line 39729) | function pointFpAdd(b) {
function pointFpTwice (line 39766) | function pointFpTwice() {
function pointFpMultiply (line 39798) | function pointFpMultiply(k) {
function pointFpMultiplyTwo (line 39824) | function pointFpMultiplyTwo(j,x,k) {
function ECCurveFp (line 39868) | function ECCurveFp(q,a,b) {
function curveFpGetQ (line 39876) | function curveFpGetQ() {
function curveFpGetA (line 39880) | function curveFpGetA() {
function curveFpGetB (line 39884) | function curveFpGetB() {
function curveFpEquals (line 39888) | function curveFpEquals(other) {
function curveFpGetInfinity (line 39893) | function curveFpGetInfinity() {
function curveFpFromBigInteger (line 39897) | function curveFpFromBigInteger(x) {
function curveReduce (line 39901) | function curveReduce(x) {
function curveFpDecodePointHex (line 39906) | function curveFpDecodePointHex(s) {
function curveFpEncodePointHex (line 39930) | function curveFpEncodePointHex(p) {
function newError (line 40191) | function newError (er) {
function realpath (line 40199) | function realpath (p, cache, cb) {
function realpathSync (line 40217) | function realpathSync (p, cache) {
function monkeypatch (line 40233) | function monkeypatch () {
function unmonkeypatch (line 40238) | function unmonkeypatch () {
function ownProp (line 40258) | function ownProp (obj, field) {
function alphasorti (line 40267) | function alphasorti (a, b) {
function alphasort (line 40271) | function alphasort (a, b) {
function setupIgnores (line 40275) | function setupIgnores (self, options) {
function ignoreMap (line 40287) | function ignoreMap (pattern) {
function setopts (line 40300) | function setopts (self, pattern, options) {
function finish (line 40369) | function finish (self) {
function mark (line 40426) | function mark (self, p) {
function makeAbs (line 40450) | function makeAbs (self, f) {
function isIgnored (line 40471) | function isIgnored (self, path) {
function childrenIgnored (line 40480) | function childrenIgnored (self, path) {
function mkdirP (line 40569) | function mkdirP (p, opts, f, made) {
function defaultIfEmpty (line 40674) | function defaultIfEmpty(defaultValue) {
function DefaultIfEmptyOperator (line 40681) | function DefaultIfEmptyOperator(defaultValue) {
function DefaultIfEmptySubscriber (line 40691) | function DefaultIfEmptySubscriber(destination, defaultValue) {
function filter (line 40723) | function filter(predicate, thisArg) {
function FilterOperator (line 40729) | function FilterOperator(predicate, thisArg) {
function FilterSubscriber (line 40740) | function FilterSubscriber(destination, predicate, thisArg) {
function mergeMap (line 40786) | function mergeMap(project, resultSelector, concurrent) {
function MergeMapOperator (line 40799) | function MergeMapOperator(project, concurrent) {
function MergeMapSubscriber (line 40814) | function MergeMapSubscriber(destination, project, concurrent) {
function AsyncAction (line 40894) | function AsyncAction(scheduler, work) {
function AsyncScheduler (line 40998) | function AsyncScheduler(SchedulerAction, now) {
function getSymbolIterator (line 41062) | function getSymbolIterator() {
function ArgumentOutOfRangeErrorImpl (line 41080) | function ArgumentOutOfRangeErrorImpl() {
function EmptyErrorImpl (line 41098) | function EmptyErrorImpl() {
function isFunction (line 41116) | function isFunction(x) {
function Certificate (line 41151) | function Certificate(opts) {
function Fingerprint (line 41526) | function Fingerprint(opts) {
function addColons (line 41642) | function addColons(s) {
function base64Strip (line 41647) | function base64Strip(s) {
function sshBase64Format (line 41652) | function sshBase64Format(alg, h) {
function read (line 41699) | function read(buf, options) {
function write (line 41703) | function write(key, options) {
function readMPInt (line 41708) | function readMPInt(der, nm) {
function readPkcs8 (line 41714) | function readPkcs8(alg, type, der) {
function readPkcs8RSAPublic (line 41760) | function readPkcs8RSAPublic(der) {
function readPkcs8RSAPrivate (line 41783) | function readPkcs8RSAPrivate(der) {
function readPkcs8DSAPublic (line 41818) | function readPkcs8DSAPublic(der) {
function readPkcs8DSAPrivate (line 41845) | function readPkcs8DSAPrivate(der) {
function readECDSACurve (line 41872) | function readECDSACurve(der) {
function readPkcs8ECDSAPrivate (line 41969) | function readPkcs8ECDSAPrivate(der) {
function readPkcs8ECDSAPublic (line 41997) | function readPkcs8ECDSAPublic(der) {
function readPkcs8EdDSAPublic (line 42015) | function readPkcs8EdDSAPublic(der) {
function readPkcs8X25519Public (line 42031) | function readPkcs8X25519Public(der) {
function readPkcs8EdDSAPrivate (line 42044) | function readPkcs8EdDSAPrivate(der) {
function readPkcs8X25519Private (line 42071) | function readPkcs8X25519Private(der) {
function writePkcs8 (line 42092) | function writePkcs8(der, key) {
function writePkcs8RSAPrivate (line 42137) | function writePkcs8RSAPrivate(key, der) {
function writePkcs8RSAPublic (line 42162) | function writePkcs8RSAPublic(key, der) {
function writePkcs8DSAPrivate (line 42177) | function writePkcs8DSAPrivate(key, der) {
function writePkcs8DSAPublic (line 42191) | function writePkcs8DSAPublic(key, der) {
function writeECDSACurve (line 42205) | function writeECDSACurve(key, der) {
function writePkcs8ECDSAPublic (line 42247) | function writePkcs8ECDSAPublic(key, der) {
function writePkcs8ECDSAPrivate (line 42255) | function writePkcs8ECDSAPrivate(key, der) {
function writePkcs8EdDSAPublic (line 42276) | function writePkcs8EdDSAPublic(key, der) {
function writePkcs8EdDSAPrivate (line 42282) | function writePkcs8EdDSAPrivate(key, der) {
function Identity (line 42331) | function Identity(opts) {
function globMatch (line 42461) | function globMatch(a, b) {
function SSHBuffer (line 42598) | function SSHBuffer(opts) {
function wrappy (line 42773) | function wrappy (fn, cb) {
function _load_extends (line 42815) | function _load_extends() {
function _load_asyncToGenerator (line 42821) | function _load_asyncToGenerator() {
function _load_executeLifecycleScript (line 42829) | function _load_executeLifecycleScript() {
function _load_path (line 42835) | function _load_path() {
function _load_conversion (line 42841) | function _load_conversion() {
function _load_index (line 42847) | function _load_index() {
function _load_errors (line 42853) | function _load_errors() {
function _load_fs (line 42859) | function _load_fs() {
function _load_constants (line 42865) | function _load_constants() {
function _load_packageConstraintResolver (line 42871) | function _load_packageConstraintResolver() {
function _load_requestManager (line 42877) | function _load_requestManager() {
function _load_index2 (line 42883) | function _load_index2() {
function _load_index3 (line 42889) | function _load_index3() {
function _load_map (line 42895) | function _load_map() {
function _interopRequireWildcard (line 42899) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 42901) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function sortObject (line 42910) | function sortObject(object) {
class Config (line 42918) | class Config {
method constructor (line 42919) | constructor(reporter) {
method getCache (line 42988) | getCache(key, factory) {
method getOption (line 43004) | getOption(key, resolve = false) {
method resolveConstraints (line 43018) | resolveConstraints(versions, range) {
method init (line 43026) | init(opts = {}) {
method _init (line 43252) | _init(opts) {
method generateUniquePackageSlug (line 43301) | generateUniquePackageSlug(pkg) {
method generateModuleCachePath (line 43337) | generateModuleCachePath(pkg) {
method getUnpluggedPath (line 43348) | getUnpluggedPath() {
method generatePackageUnpluggedPath (line 43355) | generatePackageUnpluggedPath(pkg) {
method listUnpluggedPackageFolders (line 43363) | listUnpluggedPackageFolders() {
method executeLifecycleScript (line 43404) | executeLifecycleScript(commandName, cwd) {
method getTemp (line 43416) | getTemp(filename) {
method getOfflineMirrorPath (line 43427) | getOfflineMirrorPath(packageFilename) {
method isValidModuleDest (line 43468) | isValidModuleDest(dest) {
method readPackageMetadata (line 43486) | readPackageMetadata(dir) {
method readManifest (line 43508) | readManifest(dir, priorityRegistry, isRoot = false) {
method maybeReadManifest (line 43527) | maybeReadManifest(dir, priorityRegistry, isRoot = false) {
method readRootManifest (line 43584) | readRootManifest() {
method tryManifest (line 43592) | tryManifest(dir, registry, isRoot) {
method findManifest (line 43610) | findManifest(dir, isRoot) {
method findWorkspaceRoot (line 43639) | findWorkspaceRoot(initial) {
method resolveWorkspaces (line 43669) | resolveWorkspaces(root, rootManifest) {
method getWorkspaces (line 43745) | getWorkspaces(manifest, shouldThrow = false) {
method getFolder (line 43793) | getFolder(pkg) {
method getRootManifests (line 43807) | getRootManifests() {
method saveRootManifests (line 43849) | saveRootManifests(manifests) {
method readJson (line 43903) | readJson(loc, factory = (_fs || _load_fs()).readJson) {
method create (line 43915) | static create(opts = {}, reporter = new (_index3 || _load_index3()).No...
function extractWorkspaces (line 43925) | function extractWorkspaces(manifest) {
function _load_asyncToGenerator (line 43989) | function _load_asyncToGenerator() {
function _load_extends (line 43995) | function _load_extends() {
function _load_lockfile (line 44023) | function _load_lockfile() {
function _load_normalizePattern (line 44029) | function _load_normalizePattern() {
function _load_workspaceLayout (line 44035) | function _load_workspaceLayout() {
function _load_index (line 44041) | function _load_index() {
function _load_list (line 44047) | function _load_list() {
function _load_install (line 44053) | function _load_install() {
function _load_errors (line 44059) | function _load_errors() {
function _load_constants (line 44065) | function _load_constants() {
function _load_fs (line 44071) | function _load_fs() {
function _load_invariant (line 44077) | function _load_invariant() {
function _load_path (line 44083) | function _load_path() {
function _load_semver (line 44089) | function _load_semver() {
function _interopRequireWildcard (line 44093) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 44095) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class Add (line 44099) | class Add extends (_install || _load_install()).Install {
method constructor (line 44100) | constructor(args, flags, config, reporter, lockfile) {
method prepareRequests (line 44113) | prepareRequests(requests) {
method getPatternVersion (line 44142) | getPatternVersion(pattern, pkg) {
method preparePatterns (line 44176) | preparePatterns(patterns) {
method preparePatternsForLinking (line 44206) | preparePatternsForLinking(patterns, cwdManifest, cwdIsRoot) {
method bailout (line 44246) | bailout(patterns, workspaceLayout) {
method init (line 44268) | init() {
method applyChanges (line 44286) | applyChanges(manifests) {
method fetchRequestFromCwd (line 44315) | fetchRequestFromCwd() {
method maybeOutputSaveTree (line 44323) | maybeOutputSaveTree(patterns) {
method savePackages (line 44388) | savePackages() {
method _iterateAddedPackages (line 44392) | _iterateAddedPackages(f) {
function hasWrapper (line 44432) | function hasWrapper(commander) {
function setFlags (line 44436) | function setFlags(commander) {
function _load_asyncToGenerator (line 44462) | function _load_asyncToGenerator() {
function _load_fs (line 44665) | function _load_fs() {
function _load_filter (line 44671) | function _load_filter() {
function _load_errors (line 44677) | function _load_errors() {
function _interopRequireWildcard (line 44681) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 44683) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function packWithIgnoreAndHeaders (line 44704) | function packWithIgnoreAndHeaders(cwd, ignoreFunction, { mapHeader } = {...
function setFlags (line 44718) | function setFlags(commander) {
function hasWrapper (line 44723) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 44740) | function _load_asyncToGenerator() {
function _load_index (line 44746) | function _load_index() {
function _load_constants (line 44752) | function _load_constants() {
function _load_fs (line 44758) | function _load_fs() {
function _load_mutex (line 44764) | function _load_mutex() {
function _interopRequireWildcard (line 44768) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 44770) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class BaseFetcher (line 44777) | class BaseFetcher {
method constructor (line 44778) | constructor(dest, remote, config) {
method setupMirrorFromCache (line 44789) | setupMirrorFromCache() {
method _fetch (line 44795) | _fetch() {
method fetch (line 44799) | fetch(defaultManifest) {
function hash (line 44898) | function hash(content, type = 'md5') {
class HashStream (line 44902) | class HashStream extends stream.Transform {
method constructor (line 44903) | constructor(options) {
method _transform (line 44909) | _transform(chunk, encoding, callback) {
method getHash (line 44915) | getHash() {
method test (line 44919) | test(sum) {
function _load_url (line 44939) | function _load_url() {
function _interopRequireDefault (line 44943) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function cleanup (line 44945) | function cleanup(name) {
function guessNameFallback (line 44950) | function guessNameFallback(source) {
function guessName (line 44956) | function guessName(source) {
function _load_semver (line 45022) | function _load_semver() {
function _interopRequireDefault (line 45026) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function satisfiesWithPrereleases (line 45033) | function satisfiesWithPrereleases(version, range, loose = false) {
function diffWithUnstable (line 45089) | function diffWithUnstable(version1, version2) {
function HttpSignatureError (line 45291) | function HttpSignatureError(message, caller) {
function InvalidAlgorithmError (line 45300) | function InvalidAlgorithmError(message) {
function validateAlgorithm (line 45305) | function validateAlgorithm(algorithm) {
class Separator (line 45403) | class Separator {
method constructor (line 45404) | constructor(line) {
method toString (line 45413) | toString() {
class Paginator (line 45446) | class Paginator {
method constructor (line 45447) | constructor(screen) {
method paginate (line 45453) | paginate(output, active, pageSize) {
function nextTick (line 45664) | function nextTick(fn, arg1, arg2, arg3) {
function AsyncSubject (line 45951) | function AsyncSubject() {
function Notification (line 46008) | function Notification(kind, value, error) {
method useDeprecatedSynchronousErrorHandling (line 46085) | set useDeprecatedSynchronousErrorHandling(value) {
method useDeprecatedSynchronousErrorHandling (line 46095) | get useDeprecatedSynchronousErrorHandling() {
function concat (line 46117) | function concat() {
function reduce (line 46145) | function reduce(accumulator, seed) {
function defaultErrorFactory (line 46183) | function defaultErrorFactory() {
function ObjectUnsubscribedErrorImpl (line 46196) | function ObjectUnsubscribedErrorImpl() {
function isNumeric (line 46216) | function isNumeric(val) {
function noop (line 46229) | function noop() { }
function read (line 46261) | function read(buf, options) {
function readSSHPrivate (line 46267) | function readSSHPrivate(type, buf, options) {
function write (line 46373) | function write(key, options) {
function validate (line 46832) | function validate (fs, name, root, cb) {
function mkdirfix (line 46841) | function mkdirfix (name, opts, cb) {
function _load_misc (line 46896) | function _load_misc() {
function _load_constants (line 46902) | function _load_constants() {
function _load_package (line 46908) | function _load_package() {
function shouldWrapKey (line 46914) | function shouldWrapKey(str) {
function maybeWrap (line 46918) | function maybeWrap(str) {
function priorityThenAlphaSort (line 46936) | function priorityThenAlphaSort(a, b) {
function _stringify (line 46944) | function _stringify(obj, options) {
function stringify (line 46994) | function stringify(obj, noHeader, enableVersions) {
function _load_consoleReporter (line 47029) | function _load_consoleReporter() {
function _load_bufferReporter (line 47042) | function _load_bufferReporter() {
function _load_eventReporter (line 47055) | function _load_eventReporter() {
function _load_jsonReporter (line 47068) | function _load_jsonReporter() {
function _load_noopReporter (line 47081) | function _load_noopReporter() {
function _load_baseReporter (line 47094) | function _load_baseReporter() {
function _interopRequireDefault (line 47105) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function cmdShimIfExists (line 47138) | function cmdShimIfExists (src, to, opts) {
function rm (line 47147) | function rm (path) {
function cmdShim (line 47151) | function cmdShim (src, to, opts) {
function cmdShim_ (line 47157) | function cmdShim_ (src, to, opts) {
function writeShim (line 47166) | function writeShim (src, to, opts) {
function writeShim_ (line 47188) | function writeShim_ (src, to, opts) {
function chmodShim (line 47346) | function chmodShim (to, {createCmdFile, createPwshFile}) {
function normalizePathEnvVar (line 47358) | function normalizePathEnvVar (nodePath) {
function ValidationError (line 47395) | function ValidationError(errors) {
function MissingRefError (line 47407) | function MissingRefError(baseId, ref, message) {
function errorSubclass (line 47414) | function errorSubclass(Subclass) {
function resolve (line 47451) | function resolve(compile, root, ref) {
function resolveSchema (line 47493) | function resolveSchema(root, ref) {
function resolveRecursive (line 47525) | function resolveRecursive(root, ref, parsedRef) {
function getJsonPointer (line 47541) | function getJsonPointer(parsedRef, baseId, schema, root) {
function inlineRef (line 47583) | function inlineRef(schema, limit) {
function checkNoRef (line 47590) | function checkNoRef(schema) {
function countKeys (line 47608) | function countKeys(schema) {
function getFullPath (line 47632) | function getFullPath(id, normalize) {
function _getFullPath (line 47639) | function _getFullPath(p) {
function normalizeId (line 47646) | function normalizeId(id) {
function resolveUrl (line 47651) | function resolveUrl(baseId, id) {
function resolveIds (line 47658) | function resolveIds(schema) {
function _load_asyncToGenerator (line 47836) | function _load_asyncToGenerator() {
function _load_add (line 47930) | function _load_add() {
function _load_lockfile (line 47936) | function _load_lockfile() {
function _load_packageRequest (line 47942) | function _load_packageRequest() {
function _load_normalizePattern (line 47948) | function _load_normalizePattern() {
function _load_install (line 47954) | function _load_install() {
function _interopRequireDefault (line 47958) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setUserRequestedPackageVersions (line 47971) | function setUserRequestedPackageVersions(deps, args, latest, packagePatt...
function getRangeOperator (line 48022) | function getRangeOperator(version) {
function buildPatternToUpgradeTo (line 48029) | function buildPatternToUpgradeTo(dep, flags) {
function scopeFilter (line 48053) | function scopeFilter(flags, dep) {
function cleanLockfile (line 48065) | function cleanLockfile(lockfile, deps, packagePatterns, reporter) {
function setFlags (line 48084) | function setFlags(commander) {
function hasWrapper (line 48096) | function hasWrapper(commander, args) {
function _load_extends (line 48116) | function _load_extends() {
function _load_asyncToGenerator (line 48122) | function _load_asyncToGenerator() {
function _load_constants (line 48128) | function _load_constants() {
function _load_fs (line 48134) | function _load_fs() {
function _load_misc (line 48140) | function _load_misc() {
function _load_packageNameUtils (line 48146) | function _load_packageNameUtils() {
function _load_workspaceLayout (line 48152) | function _load_workspaceLayout() {
function _interopRequireWildcard (line 48156) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 48158) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class InstallationIntegrityChecker (line 48188) | class InstallationIntegrityChecker {
method constructor (line 48189) | constructor(config) {
method _getModulesRootFolder (line 48197) | _getModulesRootFolder() {
method _getIntegrityFileFolder (line 48211) | _getIntegrityFileFolder() {
method _getIntegrityFileLocation (line 48225) | _getIntegrityFileLocation() {
method _getModulesFolders (line 48246) | _getModulesFolders({ workspaceLayout } = {}) {
method _getIntegrityListing (line 48284) | _getIntegrityListing({ workspaceLayout } = {}) {
method _generateIntegrityFile (line 48349) | _generateIntegrityFile(lockfile, patterns, flags, workspaceLayout, art...
method _getIntegrityFile (line 48512) | _getIntegrityFile(locationPath) {
method _compareIntegrityFiles (line 48524) | _compareIntegrityFiles(actual, expected, checkFiles, workspaceLayout) {
method check (line 48616) | check(patterns, lockfile, flags, workspaceLayout) {
method getArtifacts (line 48673) | getArtifacts() {
method save (line 48697) | save(patterns, lockfile, flags, workspaceLayout, artifacts) {
method removeIntegrityFile (line 48711) | removeIntegrityFile() {
function _load_errors (line 48741) | function _load_errors() {
function _load_map (line 48747) | function _load_map() {
function _load_misc (line 48753) | function _load_misc() {
function _load_yarnVersion (line 48759) | function _load_yarnVersion() {
function _load_semver (line 48765) | function _load_semver() {
function _interopRequireDefault (line 48769) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function isValid (line 48777) | function isValid(items, actual) {
function testEngine (line 48827) | function testEngine(name, range, versions, looseSemver) {
function isValidArch (line 48876) | function isValidArch(archs) {
function isValidPlatform (line 48880) | function isValidPlatform(platforms) {
function checkOne (line 48884) | function checkOne(info, config, ignoreEngines) {
function check (line 48956) | function check(infos, config, ignoreEngines) {
function shouldCheckCpu (line 48975) | function shouldCheckCpu(cpu, ignorePlatform) {
function shouldCheckPlatform (line 48979) | function shouldCheckPlatform(os, ignorePlatform) {
function shouldCheckEngines (line 48983) | function shouldCheckEngines(engines, ignoreEngines) {
function shouldCheck (line 48987) | function shouldCheck(manifest, options) {
function _load_asyncToGenerator (line 49005) | function _load_asyncToGenerator() {
function _load_errors (line 49112) | function _load_errors() {
function _load_index (line 49118) | function _load_index() {
function _load_fs (line 49124) | function _load_fs() {
function _load_promise (line 49130) | function _load_promise() {
function _interopRequireWildcard (line 49134) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 49136) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function fetchOne (line 49140) | function fetchOne(ref, config) {
function fetch (line 49146) | function fetch(pkgs, config) {
function _load_asyncToGenerator (line 49231) | function _load_asyncToGenerator() {
function _load_packageHoister (line 49258) | function _load_packageHoister() {
function _load_constants (line 49264) | function _load_constants() {
function _load_promise (line 49270) | function _load_promise() {
function _load_normalizePattern (line 49276) | function _load_normalizePattern() {
function _load_misc (line 49282) | function _load_misc() {
function _load_fs (line 49288) | function _load_fs() {
function _load_mutex (line 49294) | function _load_mutex() {
function _load_semver (line 49300) | function _load_semver() {
function _load_workspaceLayout (line 49306) | function _load_workspaceLayout() {
function _interopRequireWildcard (line 49310) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 49312) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class PackageLinker (line 49322) | class PackageLinker {
method constructor (line 49323) | constructor(config, resolver) {
method setArtifacts (line 49332) | setArtifacts(artifacts) {
method setTopLevelBinLinking (line 49336) | setTopLevelBinLinking(topLevelBinLinking) {
method linkSelfDependencies (line 49340) | linkSelfDependencies(pkg, pkgLoc, targetBinLoc, override = false) {
method linkBinDependencies (line 49375) | linkBinDependencies(pkg, dir) {
method findNearestInstalledVersionOfPackage (line 49479) | findNearestInstalledVersionOfPackage(pkg, binLoc) {
method getFlatHoistedTree (line 49542) | getFlatHoistedTree(patterns, workspaceLayout, { ignoreOptional } = {}) {
method copyModules (line 49551) | copyModules(patterns, workspaceLayout, { linkDuplicates, ignoreOptiona...
method _buildTreeHash (line 50066) | _buildTreeHash(flatTree) {
method getParentBinLoc (line 50091) | getParentBinLoc(parts, flatTree) {
method determineTopLevelBinLinkOrder (line 50106) | determineTopLevelBinLinkOrder(flatTree) {
method resolvePeerModules (line 50166) | resolvePeerModules() {
method _satisfiesPeerDependency (line 50270) | _satisfiesPeerDependency(range, version) {
method _warnForMissingBundledDependencies (line 50274) | _warnForMissingBundledDependencies(pkg) {
method _isUnplugged (line 50314) | _isUnplugged(pkg, ref) {
method init (line 50342) | init(patterns, workspaceLayout, { linkDuplicates, ignoreOptional } = {...
function _load_tty (line 50374) | function _load_tty() {
function _interopRequireDefault (line 50378) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function clearLine (line 50390) | function clearLine(stdout) {
function toStartOfLine (line 50405) | function toStartOfLine(stdout) {
function writeOnNthLine (line 50414) | function writeOnNthLine(stdout, n, msg) {
function clearNthLine (line 50433) | function clearNthLine(stdout, n) {
function _load_extends (line 50461) | function _load_extends() {
function _load_baseReporter (line 50467) | function _load_baseReporter() {
function _interopRequireDefault (line 50471) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class JSONReporter (line 50473) | class JSONReporter extends (_baseReporter || _load_baseReporter()).defau...
method constructor (line 50474) | constructor(opts) {
method _dump (line 50481) | _dump(type, data, error) {
method _verbose (line 50489) | _verbose(msg) {
method list (line 50493) | list(type, items, hints) {
method tree (line 50497) | tree(type, trees) {
method step (line 50501) | step(current, total, message) {
method inspect (line 50505) | inspect(value) {
method footer (line 50509) | footer(showPeakMemory) {
method log (line 50513) | log(msg) {
method command (line 50517) | command(msg) {
method table (line 50521) | table(head, body) {
method success (line 50525) | success(msg) {
method error (line 50529) | error(msg) {
method warn (line 50533) | warn(msg) {
method info (line 50537) | info(msg) {
method activitySet (line 50541) | activitySet(total, workers) {
method activity (line 50581) | activity() {
method _activity (line 50585) | _activity(data) {
method progress (line 50607) | progress(total) {
method auditAction (line 50628) | auditAction(recommendation) {
method auditAdvisory (line 50632) | auditAdvisory(resolution, auditAdvisory) {
method auditSummary (line 50636) | auditSummary(auditMetadata) {
function _load_semver (line 50656) | function _load_semver() {
function _load_minimatch (line 50662) | function _load_minimatch() {
function _load_map (line 50668) | function _load_map() {
function _load_normalizePattern (line 50674) | function _load_normalizePattern() {
function _load_parsePackagePath (line 50680) | function _load_parsePackagePath() {
function _load_parsePackagePath2 (line 50686) | function _load_parsePackagePath2() {
function _load_resolvers (line 50692) | function _load_resolvers() {
function _interopRequireDefault (line 50696) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class ResolutionMap (line 50701) | class ResolutionMap {
method constructor (line 50702) | constructor(config) {
method init (line 50709) | init(resolutions = {}) {
method addToDelayQueue (line 50720) | addToDelayQueue(req) {
method parsePatternInfo (line 50724) | parsePatternInfo(globPattern, range) {
method find (line 50751) | find(reqPattern, parentNames) {
function _load_asyncToGenerator (line 50804) | function _load_asyncToGenerator() {
function _load_path (line 50810) | function _load_path() {
function _load_invariant (line 50816) | function _load_invariant() {
function _load_uuid (line 50822) | function _load_uuid() {
function _load_errors (line 50828) | function _load_errors() {
function _load_exoticResolver (line 50834) | function _load_exoticResolver() {
function _load_misc (line 50840) | function _load_misc() {
function _load_fs (line 50846) | function _load_fs() {
function _interopRequireWildcard (line 50850) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 50852) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class FileResolver (line 50856) | class FileResolver extends (_exoticResolver || _load_exoticResolver()).d...
method constructor (line 50857) | constructor(request, fragment) {
method isVersion (line 50862) | static isVersion(pattern) {
method resolve (line 50866) | resolve() {
function _load_errors (line 50942) | function _load_errors() {
function _load_gitResolver (line 50948) | function _load_gitResolver() {
function _load_exoticResolver (line 50954) | function _load_exoticResolver() {
function _load_misc (line 50960) | function _load_misc() {
function _interopRequireWildcard (line 50964) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 50966) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function explodeGistFragment (line 50968) | function explodeGistFragment(fragment, reporter) {
class GistResolver (line 50983) | class GistResolver extends (_exoticResolver || _load_exoticResolver()).d...
method constructor (line 50985) | constructor(request, fragment) {
method resolve (line 50997) | resolve() {
function _load_asyncToGenerator (line 51017) | function _load_asyncToGenerator() {
function _load_cache (line 51023) | function _load_cache() {
function _load_errors (line 51029) | function _load_errors() {
function _load_registryResolver (line 51035) | function _load_registryResolver() {
function _load_npmRegistry (line 51041) | function _load_npmRegistry() {
function _load_map (line 51047) | function _load_map() {
function _load_fs (line 51053) | function _load_fs() {
function _load_constants (line 51059) | function _load_constants() {
function _load_packageNameUtils (line 51065) | function _load_packageNameUtils() {
function _interopRequireWildcard (line 51069) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 51071) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class NpmResolver (line 51081) | class NpmResolver extends (_registryResolver || _load_registryResolver()...
method findVersionInRegistryResponse (line 51083) | static findVersionInRegistryResponse(config, name, range, body, reques...
method resolveRequest (line 51132) | resolveRequest(desiredVersion) {
method resolveRequestOffline (line 51155) | resolveRequestOffline() {
method cleanRegistry (line 51212) | cleanRegistry(url) {
method resolve (line 51220) | resolve() {
function _load_asyncToGenerator (line 51307) | function _load_asyncToGenerator() {
function _load_fs (line 51373) | function _load_fs() {
function _load_promise (line 51379) | function _load_promise() {
function _load_fs2 (line 51385) | function _load_fs2() {
function _interopRequireDefault (line 51389) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _load_asyncToGenerator (line 51504) | function _load_asyncToGenerator() {
function _load_extends (line 51510) | function _load_extends() {
function _load_invariant (line 51516) | function _load_invariant() {
function _load_string_decoder (line 51522) | function _load_string_decoder() {
function _load_tarFs (line 51528) | function _load_tarFs() {
function _load_tarStream (line 51534) | function _load_tarStream() {
function _load_url (line 51540) | function _load_url() {
function _load_fs (line 51546) | function _load_fs() {
function _load_errors (line 51552) | function _load_errors() {
function _load_gitSpawn (line 51558) | function _load_gitSpawn() {
function _load_gitRefResolver (line 51564) | function _load_gitRefResolver() {
function _load_crypto (line 51570) | function _load_crypto() {
function _load_fs2 (line 51576) | function _load_fs2() {
function _load_map (line 51582) | function _load_map() {
function _load_misc (line 51588) | function _load_misc() {
function _interopRequireWildcard (line 51592) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 51594) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class Git (line 51636) | class Git {
method constructor (line 51637) | constructor(config, gitUrl, hash) {
method npmUrlToGitUrl (line 51652) | static npmUrlToGitUrl(npmUrl) {
method hasArchiveCapability (line 51694) | static hasArchiveCapability(ref) {
method repoExists (line 51720) | static repoExists(ref) {
method replaceProtocol (line 51738) | static replaceProtocol(ref, protocol) {
method secureGitUrl (line 51749) | static secureGitUrl(ref, hash, reporter) {
method archive (line 51784) | archive(dest) {
method _archiveViaRemoteArchive (line 51792) | _archiveViaRemoteArchive(dest) {
method _archiveViaLocalFetched (line 51813) | _archiveViaLocalFetched(dest) {
method clone (line 51839) | clone(dest) {
method _cloneViaRemoteArchive (line 51847) | _cloneViaRemoteArchive(dest) {
method _cloneViaLocalFetched (line 51867) | _cloneViaLocalFetched(dest) {
method fetch (line 51892) | fetch() {
method getFile (line 51915) | getFile(filename) {
method _getFileFromArchive (line 51923) | _getFileFromArchive(filename) {
method _getFileFromClone (line 51963) | _getFileFromClone(filename) {
method init (line 51985) | init() {
method setRefRemote (line 52004) | setRefRemote() {
method setRefHosted (line 52022) | setRefHosted(hostedRefsList) {
method resolveDefaultBranch (line 52031) | resolveDefaultBranch() {
method resolveCommit (line 52082) | resolveCommit(shaToResolve) {
method setRef (line 52109) | setRef(refs) {
function _load_asyncToGenerator (line 52148) | function _load_asyncToGenerator() {
function _load_resolveRelative (line 52154) | function _load_resolveRelative() {
function _load_validate (line 52160) | function _load_validate() {
function _load_fix (line 52166) | function _load_fix() {
function _interopRequireDefault (line 52170) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function warn (line 52191) | function warn(msg) {
function isValidLicense (line 52247) | function isValidLicense(license) {
function isValidBin (line 52251) | function isValidBin(bin) {
function stringifyPerson (line 52255) | function stringifyPerson(person) {
function parsePerson (line 52278) | function parsePerson(person) {
function normalizePerson (line 52307) | function normalizePerson(person) {
function extractDescription (line 52311) | function extractDescription(readme) {
function extractRepositoryUrl (line 52344) | function extractRepositoryUrl(repository) {
function getPlatformSpecificPackageFilename (line 52363) | function getPlatformSpecificPackageFilename(pkg) {
function getSystemParams (line 52370) | function getSystemParams() {
function getUid (line 52387) | function getUid() {
function isFakeRoot (line 52395) | function isFakeRoot() {
function isRootUser (line 52399) | function isRootUser(uid) {
function getDataDir (line 52422) | function getDataDir() {
function getCacheDir (line 52439) | function getCacheDir() {
function getConfigDir (line 52452) | function getConfigDir() {
function getLocalAppDataDir (line 52465) | function getLocalAppDataDir() {
function explodeHashedUrl (line 52480) | function explodeHashedUrl(url) {
function balanced (line 52502) | function balanced(a, b, str) {
function maybeMatch (line 52517) | function maybeMatch(reg, str) {
function range (line 52523) | function range(a, b, str) {
function numeric (line 52576) | function numeric(str) {
function escapeBraces (line 52582) | function escapeBraces(str) {
function unescapeBraces (line 52590) | function unescapeBraces(str) {
function parseCommaParts (line 52602) | function parseCommaParts(str) {
function expandTop (line 52629) | function expandTop(str) {
function identity (line 52646) | function identity(e) {
function embrace (line 52650) | function embrace(str) {
function isPadded (line 52653) | function isPadded(el) {
function lte (line 52657) | function lte(i, y) {
function gte (line 52660) | function gte(i, y) {
function expand (line 52664) | function expand(str, isTop) {
function preserveCamelCase (line 52775) | function preserveCamelCase(str) {
function Caseless (line 52843) | function Caseless (dict) {
function useColors (line 53926) | function useColors() {
function formatArgs (line 53970) | function formatArgs(args) {
function log (line 54010) | function log() {
function save (line 54025) | function save(namespaces) {
function load (line 54042) | function load() {
function localstorage (line 54073) | function localstorage() {
function useColors (line 54172) | function useColors() {
function formatArgs (line 54205) | function formatArgs(args) {
function getDate (line 54221) | function getDate() {
function log (line 54233) | function log() {
function save (line 54244) | function save(namespaces) {
function load (line 54261) | function load() {
function init (line 54272) | function init (debug) {
function __webpack_require__ (line 54309) | function __webpack_require__(moduleId) {
function parse (line 54380) | function parse(code, options, delegate) {
function parseModule (line 54427) | function parseModule(code, options, delegate) {
function parseScript (line 54433) | function parseScript(code, options, delegate) {
function tokenize (line 54439) | function tokenize(code, options, delegate) {
function CommentHandler (line 54478) | function CommentHandler() {
function __ (line 54713) | function __() { this.constructor = d; }
function getQualifiedElementName (line 54728) | function getQualifiedElementName(elementName) {
function JSXParser (line 54753) | function JSXParser(code, options, delegate) {
function JSXClosingElement (line 55314) | function JSXClosingElement(name) {
function JSXElement (line 55322) | function JSXElement(openingElement, children, closingElement) {
function JSXEmptyExpression (line 55332) | function JSXEmptyExpression() {
function JSXExpressionContainer (line 55339) | function JSXExpressionContainer(expression) {
function JSXIdentifier (line 55347) | function JSXIdentifier(name) {
function JSXMemberExpression (line 55355) | function JSXMemberExpression(object, property) {
function JSXAttribute (line 55364) | function JSXAttribute(name, value) {
function JSXNamespacedName (line 55373) | function JSXNamespacedName(namespace, name) {
function JSXOpeningElement (line 55382) | function JSXOpeningElement(name, selfClosing, attributes) {
function JSXSpreadAttribute (line 55392) | function JSXSpreadAttribute(argument) {
function JSXText (line 55400) | function JSXText(value, raw) {
function ArrayExpression (line 55440) | function ArrayExpression(elements) {
function ArrayPattern (line 55448) | function ArrayPattern(elements) {
function ArrowFunctionExpression (line 55456) | function ArrowFunctionExpression(params, body, expression) {
function AssignmentExpression (line 55469) | function AssignmentExpression(operator, left, right) {
function AssignmentPattern (line 55479) | function AssignmentPattern(left, right) {
function AsyncArrowFunctionExpression (line 55488) | function AsyncArrowFunctionExpression(params, body, expression) {
function AsyncFunctionDeclaration (line 55501) | function AsyncFunctionDeclaration(id, params, body) {
function AsyncFunctionExpression (line 55514) | function AsyncFunctionExpression(id, params, body) {
function AwaitExpression (line 55527) | function AwaitExpression(argument) {
function BinaryExpression (line 55535) | function BinaryExpression(operator, left, right) {
function BlockStatement (line 55546) | function BlockStatement(body) {
function BreakStatement (line 55554) | function BreakStatement(label) {
function CallExpression (line 55562) | function CallExpression(callee, args) {
function CatchClause (line 55571) | function CatchClause(param, body) {
function ClassBody (line 55580) | function ClassBody(body) {
function ClassDeclaration (line 55588) | function ClassDeclaration(id, superClass, body) {
function ClassExpression (line 55598) | function ClassExpression(id, superClass, body) {
function ComputedMemberExpression (line 55608) | function ComputedMemberExpression(object, property) {
function ConditionalExpression (line 55618) | function ConditionalExpression(test, consequent, alternate) {
function ContinueStatement (line 55628) | function ContinueStatement(label) {
function DebuggerStatement (line 55636) | function DebuggerStatement() {
function Directive (line 55643) | function Directive(expression, directive) {
function DoWhileStatement (line 55652) | function DoWhileStatement(body, test) {
function EmptyStatement (line 55661) | function EmptyStatement() {
function ExportAllDeclaration (line 55668) | function ExportAllDeclaration(source) {
function ExportDefaultDeclaration (line 55676) | function ExportDefaultDeclaration(declaration) {
function ExportNamedDeclaration (line 55684) | function ExportNamedDeclaration(declaration, specifiers, source) {
function ExportSpecifier (line 55694) | function ExportSpecifier(local, exported) {
function ExpressionStatement (line 55703) | function ExpressionStatement(expression) {
function ForInStatement (line 55711) | function ForInStatement(left, right, body) {
function ForOfStatement (line 55722) | function ForOfStatement(left, right, body) {
function ForStatement (line 55732) | function ForStatement(init, test, update, body) {
function FunctionDeclaration (line 55743) | function FunctionDeclaration(id, params, body, generator) {
function FunctionExpression (line 55756) | function FunctionExpression(id, params, body, generator) {
function Identifier (line 55769) | function Identifier(name) {
function IfStatement (line 55777) | function IfStatement(test, consequent, alternate) {
function ImportDeclaration (line 55787) | function ImportDeclaration(specifiers, source) {
function ImportDefaultSpecifier (line 55796) | function ImportDefaultSpecifier(local) {
function ImportNamespaceSpecifier (line 55804) | function ImportNamespaceSpecifier(local) {
function ImportSpecifier (line 55812) | function ImportSpecifier(local, imported) {
function LabeledStatement (line 55821) | function LabeledStatement(label, body) {
function Literal (line 55830) | function Literal(value, raw) {
function MetaProperty (line 55839) | function MetaProperty(meta, property) {
function MethodDefinition (line 55848) | function MethodDefinition(key, computed, value, kind, isStatic) {
function Module (line 55860) | function Module(body) {
function NewExpression (line 55869) | function NewExpression(callee, args) {
function ObjectExpression (line 55878) | function ObjectExpression(properties) {
function ObjectPattern (line 55886) | function ObjectPattern(properties) {
function Property (line 55894) | function Property(kind, key, computed, value, method, shorthand) {
function RegexLiteral (line 55907) | function RegexLiteral(value, raw, pattern, flags) {
function RestElement (line 55917) | function RestElement(argument) {
function ReturnStatement (line 55925) | function ReturnStatement(argument) {
function Script (line 55933) | function Script(body) {
function SequenceExpression (line 55942) | function SequenceExpression(expressions) {
function SpreadElement (line 55950) | function SpreadElement(argument) {
function StaticMemberExpression (line 55958) | function StaticMemberExpression(object, property) {
function Super (line 55968) | function Super() {
function SwitchCase (line 55975) | function SwitchCase(test, consequent) {
function SwitchStatement (line 55984) | function SwitchStatement(discriminant, cases) {
function TaggedTemplateExpression (line 55993) | function TaggedTemplateExpression(tag, quasi) {
function TemplateElement (line 56002) | function TemplateElement(value, tail) {
function TemplateLiteral (line 56011) | function TemplateLiteral(quasis, expressions) {
function ThisExpression (line 56020) | function ThisExpression() {
function ThrowStatement (line 56027) | function ThrowStatement(argument) {
function TryStatement (line 56035) | function TryStatement(block, handler, finalizer) {
function UnaryExpression (line 56045) | function UnaryExpression(operator, argument) {
function UpdateExpression (line 56055) | function UpdateExpression(operator, argument, prefix) {
function VariableDeclaration (line 56065) | function VariableDeclaration(declarations, kind) {
function VariableDeclarator (line 56074) | function VariableDeclarator(id, init) {
function WhileStatement (line 56083) | function WhileStatement(test, body) {
function WithStatement (line 56092) | function WithStatement(object, body) {
function YieldExpression (line 56101) | function YieldExpression(argument, delegate) {
function Parser (line 56126) | function Parser(code, options, delegate) {
method constructor (line 34689) | constructor(input, fileLoc = 'lockfile') {
method onComment (line 34695) | onComment(token) {
method next (line 34712) | next() {
method unexpected (line 34729) | unexpected(msg = 'Unexpected token') {
method expect (line 34733) | expect(tokType) {
method eat (line 34741) | eat(tokType) {
method parse (line 34750) | parse(indent = 0) {
function assert (line 59270) | function assert(condition, message) {
function ErrorHandler (line 59287) | function ErrorHandler() {
function hexValue (line 59420) | function hexValue(ch) {
function octalValue (line 59423) | function octalValue(ch) {
function Scanner (line 59427) | function Scanner(code, handler) {
function Reader (line 60854) | function Reader() {
function Tokenizer (line 60921) | function Tokenizer(code, config) {
function rethrow (line 61313) | function rethrow() {
function maybeCallback (line 61348) | function maybeCallback(cb) {
function start (line 61392) | function start() {
function start (line 61494) | function start() {
function LOOP (line 61516) | function LOOP() {
function gotStat (line 61544) | function gotStat(err, stat) {
function gotTarget (line 61573) | function gotTarget(err, target, base) {
function gotResolvedLink (line 61581) | function gotResolvedLink(resolvedLink) {
function globSync (line 61613) | function globSync (pattern, options) {
function GlobSync (line 61621) | function GlobSync (pattern, options) {
function inflight (line 62108) | function inflight (key, cb) {
function makeres (line 62118) | function makeres (key) {
function slice (line 62149) | function slice (args) {
function deprecated (line 62325) | function deprecated(name) {
function compileStyleMap (line 62422) | function compileStyleMap(schema, map) {
function encodeHex (line 62449) | function encodeHex(character) {
function State (line 62470) | function State(options) {
function indentString (line 62494) | function indentString(string, spaces) {
function generateNextLine (line 62520) | function generateNextLine(state, level) {
function testImplicitResolving (line 62524) | function testImplicitResolving(state, str) {
function isWhitespace (line 62539) | function isWhitespace(c) {
function isPrintable (line 62547) | function isPrintable(c) {
function isPlainSafe (line 62555) | function isPlainSafe(c) {
function isPlainSafeFirst (line 62571) | function isPlainSafeFirst(c) {
function needIndentIndicator (line 62602) | function needIndentIndicator(string) {
function chooseScalarStyle (line 62620) | function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineW...
function writeScalar (line 62688) | function writeScalar(state, string, level, iskey) {
function blockHeader (line 62737) | function blockHeader(string, indentPerLevel) {
function dropEndingNewline (line 62749) | function dropEndingNewline(string) {
function foldString (line 62755) | function foldString(string, width) {
function foldLine (line 62792) | function foldLine(line, width) {
function escapeString (line 62832) | function escapeString(string) {
function writeFlowSequence (line 62858) | function writeFlowSequence(state, level, object) {
function writeBlockSequence (line 62876) | function writeBlockSequence(state, level, object, compact) {
function writeFlowMapping (line 62903) | function writeFlowMapping(state, level, object) {
function writeBlockMapping (line 62943) | function writeBlockMapping(state, level, object, compact) {
function detectType (line 63017) | function detectType(state, object, explicit) {
function writeNode (line 63055) | function writeNode(state, level, object, block, compact, iskey) {
function getDuplicateReferences (line 63130) | function getDuplicateReferences(object, state) {
function inspectNode (line 63144) | function inspectNode(object, objects, duplicatesIndexes) {
function dump (line 63173) | function dump(input, options) {
function safeDump (line 63185) | function safeDump(input, options) {
function _class (line 63230) | function _class(obj) { return Object.prototype.toString.call(obj); }
function is_EOL (line 63232) | function is_EOL(c) {
function is_WHITE_SPACE (line 63236) | function is_WHITE_SPACE(c) {
function is_WS_OR_EOL (line 63240) | function is_WS_OR_EOL(c) {
function is_FLOW_INDICATOR (line 63247) | function is_FLOW_INDICATOR(c) {
function fromHexCode (line 63255) | function fromHexCode(c) {
function escapedHexLen (line 63272) | function escapedHexLen(c) {
function fromDecimalCode (line 63279) | function fromDecimalCode(c) {
function simpleEscapeSequence (line 63287) | function simpleEscapeSequence(c) {
function charFromCodepoint (line 63309) | function charFromCodepoint(c) {
function State (line 63329) | function State(input, options) {
function generateError (line 63363) | function generateError(state, message) {
function throwError (line 63369) | function throwError(state, message) {
function throwWarning (line 63373) | function throwWarning(state, message) {
function captureSegment (line 63443) | function captureSegment(state, start, end, checkJson) {
function mergeMappings (line 63465) | function mergeMappings(state, destination, source, overridableKeys) {
function storeMappingPair (line 63484) | function storeMappingPair(state, _result, overridableKeys, keyTag, keyNo...
function readLineBreak (line 63541) | function readLineBreak(state) {
function skipSeparationSpace (line 63561) | function skipSeparationSpace(state, allowComments, checkIndent) {
function testDocumentSeparator (line 63599) | function testDocumentSeparator(state) {
function writeFoldedLines (line 63623) | function writeFoldedLines(state, count) {
function readPlainScalar (line 63632) | function readPlainScalar(state, nodeIndent, withinFlowCollection) {
function readSingleQuotedScalar (line 63741) | function readSingleQuotedScalar(state, nodeIndent) {
function readDoubleQuotedScalar (line 63786) | function readDoubleQuotedScalar(state, nodeIndent) {
function readFlowCollection (line 63865) | function readFlowCollection(state, nodeIndent) {
function readBlockScalar (line 63970) | function readBlockScalar(state, nodeIndent) {
function readBlockSequence (line 64113) | function readBlockSequence(state, nodeIndent) {
function readBlockMapping (line 64175) | function readBlockMapping(state, nodeIndent, flowIndent) {
function readTagProperty (line 64330) | function readTagProperty(state) {
function readAnchorProperty (line 64424) | function readAnchorProperty(state) {
function readAlias (line 64451) | function readAlias(state) {
function composeNode (line 64481) | function composeNode(state, parentIndent, nodeContext, allowToSeek, allo...
function readDocument (line 64635) | function readDocument(state) {
function loadDocuments (line 64743) | function loadDocuments(input, options) {
function loadAll (line 64779) | function loadAll(input, iterator, options) {
function load (line 64792) | function load(input, options) {
function safeLoadAll (line 64805) | function safeLoadAll(input, output, options) {
function safeLoad (line 64814) | function safeLoad(input, options) {
function Mark (line 64836) | function Mark(name, buffer, position, line, column) {
function resolveYamlBinary (line 64932) | function resolveYamlBinary(data) {
function constructYamlBinary (line 64954) | function constructYamlBinary(data) {
function representYamlBinary (line 64998) | function representYamlBinary(object /*, style*/) {
function isBinary (line 65040) | function isBinary(object) {
function resolveYamlBoolean (line 65062) | function resolveYamlBoolean(data) {
function constructYamlBoolean (line 65071) | function constructYamlBoolean(data) {
function isBoolean (line 65077) | function isBoolean(object) {
function resolveYamlFloat (line 65118) | function resolveYamlFloat(data) {
function constructYamlFloat (line 65131) | function constructYamlFloat(data) {
function representYamlFloat (line 65170) | function representYamlFloat(object, style) {
function isFloat (line 65203) | function isFloat(object) {
function isHexCode (line 65228) | function isHexCode(c) {
function isOctCode (line 65234) | function isOctCode(c) {
function isDecCode (line 65238) | function isDecCode(c) {
function resolveYamlInteger (line 65242) | function resolveYamlInteger(data) {
function constructYamlInteger (line 65328) | function constructYamlInteger(data) {
function isInteger (line 65371) | function isInteger(object) {
function resolveJavascriptFunction (line 65425) | function resolveJavascriptFunction(data) {
function constructJavascriptFunction (line 65446) | function constructJavascriptFunction(data) {
function representJavascriptFunction (line 65480) | function representJavascriptFunction(object /*, style*/) {
function isFunction (line 65484) | function isFunction(object) {
function resolveJavascriptRegExp (line 65506) | function resolveJavascriptRegExp(data) {
function constructJavascriptRegExp (line 65527) | function constructJavascriptRegExp(data) {
function representJavascriptRegExp (line 65541) | function representJavascriptRegExp(object /*, style*/) {
function isRegExp (line 65551) | function isRegExp(object) {
function resolveJavascriptUndefined (line 65573) | function resolveJavascriptUndefined() {
function constructJavascriptUndefined (line 65577) | function constructJavascriptUndefined() {
function representJavascriptUndefined (line 65582) | function representJavascriptUndefined() {
function isUndefined (line 65586) | function isUndefined(object) {
function resolveYamlMerge (line 65623) | function resolveYamlMerge(data) {
function resolveYamlNull (line 65642) | function resolveYamlNull(data) {
function constructYamlNull (line 65651) | function constructYamlNull() {
function isNull (line 65655) | function isNull(object) {
function resolveYamlOmap (line 65686) | function resolveYamlOmap(data) {
function constructYamlOmap (line 65714) | function constructYamlOmap(data) {
function resolveYamlPairs (line 65736) | function resolveYamlPairs(data) {
function constructYamlPairs (line 65759) | function constructYamlPairs(data) {
function resolveYamlSet (line 65811) | function resolveYamlSet(data) {
function constructYamlSet (line 65825) | function constructYamlSet(data) {
function resolveYamlTimestamp (line 65877) | function resolveYamlTimestamp(data) {
function constructYamlTimestamp (line 65884) | function constructYamlTimestamp(data) {
function representYamlTimestamp (line 65933) | function representYamlTimestamp(object /*, style*/) {
function parse (line 66152) | function parse(str) {
function fmtShort (line 66213) | function fmtShort(ms) {
function fmtLong (line 66237) | function fmtLong(ms) {
function plural (line 66249) | function plural(ms, n, name) {
function toObject (line 66283) | function toObject(val) {
function shouldUseNative (line 66291) | function shouldUseNative() {
function hasOwnProperty (line 66387) | function hasOwnProperty(obj, prop) {
function isEmpty (line 66395) | function isEmpty(value){
function toString (line 66412) | function toString(type){
function isObject (line 66416) | function isObject(obj){
function isBoolean (line 66425) | function isBoolean(obj){
function getKey (line 66429) | function getKey(key){
function factory (line 66437) | function factory(options) {
function paramsHaveRequestBody (line 66679) | function paramsHaveRequestBody (params) {
function safeStringify (line 66688) | function safeStringify (obj, replacer) {
function md5 (line 66698) | function md5 (str) {
function isReadStream (line 66702) | function isReadStream (rs) {
function toBase64 (line 66706) | function toBase64 (str) {
function copy (line 66710) | function copy (obj) {
function version (line 66718) | function version () {
function specifierIncluded (line 66743) | function specifierIncluded(specifier) {
function matchesRange (line 66765) | function matchesRange(range) {
function versionIncluded (line 66774) | function versionIncluded(specifierValue) {
function defaults (line 66819) | function defaults (options) {
function rimraf (line 66843) | function rimraf (p, options, cb) {
function rimraf_ (line 66927) | function rimraf_ (p, options, cb) {
function fixWinEPERM (line 66961) | function fixWinEPERM (p, options, er, cb) {
function fixWinEPERMSync (line 66983) | function fixWinEPERMSync (p, options, er) {
function rmdir (line 67013) | function rmdir (p, options, originalEr, cb) {
function rmkids (line 67033) | function rmkids(p, options, cb) {
function rimrafSync (line 67061) | function rimrafSync (p, options) {
function rmdirSync (line 67119) | function rmdirSync (p, options, originalEr) {
function rmkidsSync (line 67137) | function rmkidsSync (p, options) {
function ReplaySubject (line 67189) | function ReplaySubject(bufferSize, windowTime, scheduler) {
function ReplayEvent (line 67289) | function ReplayEvent(time, value) {
function combineLatest (line 67320) | function combineLatest() {
function CombineLatestOperator (line 67339) | function CombineLatestOperator(resultSelector) {
function CombineLatestSubscriber (line 67350) | function CombineLatestSubscriber(destination, resultSelector) {
function defer (line 67428) | function defer(observableFactory) {
function of (line 67460) | function of() {
function scalar (line 67493) | function scalar(value) {
function throwError (line 67514) | function throwError(error, scheduler) {
function dispatch (line 67522) | function dispatch(_a) {
function zip (line 67552) | function zip() {
function ZipOperator (line 67564) | function ZipOperator(resultSelector) {
function ZipSubscriber (line 67575) | function ZipSubscriber(destination, resultSelector, values) {
function StaticIterator (line 67673) | function StaticIterator(iterator) {
function StaticArrayIterator (line 67692) | function StaticArrayIterator(array) {
function ZipBufferIterator (line 67716) | function ZipBufferIterator(destination, parent, observable) {
function mergeAll (line 67775) | function mergeAll(concurrent) {
function refCount (line 67795) | function refCount() {
function RefCountOperator (line 67801) | function RefCountOperator(connectable) {
function RefCountSubscriber (line 67818) | function RefCountSubscriber(destination, connectable) {
function scan (line 67863) | function scan(accumulator, seed) {
function ScanOperator (line 67873) | function ScanOperator(accumulator, seed, hasSeed) {
function ScanSubscriber (line 67888) | function ScanSubscriber(destination, accumulator, _seed, hasSeed) {
function switchMap (line 67952) | function switchMap(project, resultSelector) {
function SwitchMapOperator (line 67959) | function SwitchMapOperator(project) {
function SwitchMapSubscriber (line 67969) | function SwitchMapSubscriber(destination, project) {
function take (line 68038) | function take(count) {
function TakeOperator (line 68049) | function TakeOperator(total) {
function TakeSubscriber (line 68062) | function TakeSubscriber(destination, total) {
function takeLast (line 68099) | function takeLast(count) {
function TakeLastOperator (line 68110) | function TakeLastOperator(total) {
function TakeLastSubscriber (line 68123) | function TakeLastSubscriber(destination, total) {
function canReportError (line 68184) | function canReportError(observer) {
function hostReportError (line 68209) | function hostReportError(err) {
function pipe (line 68225) | function pipe() {
function pipeFromArray (line 68232) | function pipeFromArray(fns) {
function DiffieHellman (line 68272) | function DiffieHellman(key) {
function X9ECParameters (line 68533) | function X9ECParameters(name) {
function ECPublic (line 68555) | function ECPublic(params, buffer) {
function ECPrivate (line 68562) | function ECPrivate(params, buffer) {
function generateED25519 (line 68572) | function generateED25519() {
function generateECDSA (line 68593) | function generateECDSA(curve) {
function read (line 68703) | function read(buf, options) {
function readRFC3110 (line 68731) | function readRFC3110(keyString) {
function elementToBuf (line 68784) | function elementToBuf(e) {
function readDNSSECRSAPrivateKey (line 68788) | function readDNSSECRSAPrivateKey(elements) {
function readDNSSECPrivateKey (line 68828) | function readDNSSECPrivateKey(alg, elements) {
function dnssecTimestamp (line 68859) | function dnssecTimestamp(date) {
function rsaAlgFromOptions (line 68868) | function rsaAlgFromOptions(opts) {
function writeRSA (line 68880) | function writeRSA(key, options) {
function writeECDSA (line 68913) | function writeECDSA(key, options) {
function write (line 68936) | function write(key, options) {
function read (line 68985) | function read(buf, options) {
function write (line 68989) | function write(key, options) {
function readMPInt (line 68994) | function readMPInt(der, nm) {
function readPkcs1 (line 69000) | function readPkcs1(alg, type, der) {
function readPkcs1RSAPublic (line 69031) | function readPkcs1RSAPublic(der) {
function readPkcs1RSAPrivate (line 69048) | function readPkcs1RSAPrivate(der) {
function readPkcs1DSAPrivate (line 69080) | function readPkcs1DSAPrivate(der) {
function readPkcs1EdDSAPrivate (line 69105) | function readPkcs1EdDSAPrivate(der) {
function readPkcs1DSAPublic (line 69130) | function readPkcs1DSAPublic(der) {
function readPkcs1ECDSAPublic (line 69149) | function readPkcs1ECDSAPublic(der) {
function readPkcs1ECDSAPrivate (line 69183) | function readPkcs1ECDSAPrivate(der) {
function writePkcs1 (line 69210) | function writePkcs1(der, key) {
function writePkcs1RSAPublic (line 69245) | function writePkcs1RSAPublic(der, key) {
function writePkcs1RSAPrivate (line 69250) | function writePkcs1RSAPrivate(der, key) {
function writePkcs1DSAPrivate (line 69266) | function writePkcs1DSAPrivate(der, key) {
function writePkcs1DSAPublic (line 69277) | function writePkcs1DSAPublic(der, key) {
function writePkcs1ECDSAPublic (line 69284) | function writePkcs1ECDSAPublic(der, key) {
function writePkcs1ECDSAPrivate (line 69299) | function writePkcs1ECDSAPrivate(der, key) {
function writePkcs1EdDSAPrivate (line 69318) | function writePkcs1EdDSAPrivate(der, key) {
function writePkcs1EdDSAPublic (line 69333) | function writePkcs1EdDSAPublic(der, key) {
function _load_constants (line 69516) | function _load_constants() {
function _load_access (line 69522) | function _load_access() {
function _load_add (line 69528) | function _load_add() {
function _load_audit (line 69534) | function _load_audit() {
function _load_autoclean (line 69540) | function _load_autoclean() {
function _load_bin (line 69546) | function _load_bin() {
function _load_cache (line 69552) | function _load_cache() {
function _load_check (line 69558) | function _load_check() {
function _load_config (line 69564) | function _load_config() {
function _load_create (line 69570) | function _load_create() {
function _load_exec (line 69576) | function _load_exec() {
function _load_generateLockEntry (line 69582) | function _load_generateLockEntry() {
function _load_global (line 69588) | function _load_global() {
function _load_help (line 69594) | function _load_help() {
function _load_import (line 69600) | function _load_import() {
function _load_info (line 69606) | function _load_info() {
function _load_init (line 69612) | function _load_init() {
function _load_install (line 69618) | function _load_install() {
function _load_licenses (line 69624) | function _load_licenses() {
function _load_link (line 69630) | function _load_link() {
function _load_login (line 69636) | function _load_login() {
function _load_logout (line 69642) | function _load_logout() {
function _load_list (line 69648) | function _load_list() {
function _load_node (line 69654) | function _load_node() {
function _load_outdated (line 69660) | function _load_outdated() {
function _load_owner (line 69666) | function _load_owner() {
function _load_pack (line 69672) | function _load_pack() {
function _load_policies (line 69678) | function _load_policies() {
function _load_publish (line 69684) | function _load_publish() {
function _load_remove (line 69690) | function _load_remove() {
function _load_run (line 69696) | function _load_run() {
function _load_tag (line 69702) | function _load_tag() {
function _load_team (line 69708) | function _load_team() {
function _load_unplug (line 69714) | function _load_unplug() {
function _load_unlink (line 69720) | function _load_unlink() {
function _load_upgrade (line 69726) | function _load_upgrade() {
function _load_version (line 69732) | function _load_version() {
function _load_versions (line 69738) | function _load_versions() {
function _load_why (line 69744) | function _load_why() {
function _load_workspaces (line 69750) | function _load_workspaces() {
function _load_workspace (line 69756) | function _load_workspace() {
function _load_upgradeInteractive (line 69762) | function _load_upgradeInteractive() {
function _load_useless (line 69768) | function _load_useless() {
function _load_aliases (line 69774) | function _load_aliases() {
function _interopRequireDefault (line 69778) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _interopRequireWildcard (line 69780) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _load_fs (line 69862) | function _load_fs() {
function _load_path (line 69868) | function _load_path() {
function _load_commander (line 69874) | function _load_commander() {
function _load_lockfile (line 69880) | function _load_lockfile() {
function _load_rc (line 69886) | function _load_rc() {
function _interopRequireWildcard (line 69890) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 69892) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function getRcConfigForCwd (line 69900) | function getRcConfigForCwd(cwd, args) {
function getRcConfigForFolder (line 69920) | function getRcConfigForFolder(cwd) {
function loadRcFile (line 69930) | function loadRcFile(fileText, filePath) {
function buildRcArgs (line 69951) | function buildRcArgs(cwd, args) {
function extractCwdArg (line 69988) | function extractCwdArg(args) {
function getRcArgs (line 70001) | function getRcArgs(commandName, args, previousCwds = []) {
function boolify (line 70040) | function boolify(val) {
function boolifyWithDefault (line 70044) | function boolifyWithDefault(val, defaultResult) {
function isOffline (line 70064) | function isOffline() {
function Option (line 70157) | function Option(flags, description) {
function Command (line 70212) | function Command(name) {
function camelcase (line 71281) | function camelcase(flag) {
function pad (line 71296) | function pad(str, width) {
function outputHelpIfNecessary (line 71309) | function outputHelpIfNecessary(cmd, options) {
function humanReadableArgName (line 71327) | function humanReadableArgName(arg) {
function exists (line 71336) | function exists(file) {
function SchemaObject (line 71358) | function SchemaObject(obj) {
function $shouldUseGroup (line 72219) | function $shouldUseGroup($rulesGroup) {
function $shouldUseRule (line 72225) | function $shouldUseRule($rule) {
function $ruleImplementsSomeKeyword (line 72229) | function $ruleImplementsSomeKeyword($rule) {
function abort (line 72257) | function abort(state)
function clean (line 72271) | function clean(key)
function async (line 72296) | function async(callback)
function iterate (line 72339) | function iterate(list, iterator, state, callback)
function runJob (line 72382) | function runJob(iterator, key, item, callback)
function state (line 72417) | function state(list, sortMethod)
function terminator (line 72461) | function terminator(callback)
function serialOrdered (line 72503) | function serialOrdered(list, iterator, sortMethod, callback)
function ascending (line 72542) | function ascending(a, b)
function descending (line 72554) | function descending(a, b)
function _load_asyncToGenerator (line 72589) | function _load_asyncToGenerator() {
function _load_promise (line 72643) | function _load_promise() {
function _load_hoistedTreeBuilder (line 72649) | function _load_hoistedTreeBuilder() {
function _load_getTransitiveDevDependencies (line 72655) | function _load_getTransitiveDevDependencies() {
function _load_install (line 72661) | function _load_install() {
function _load_lockfile (line 72667) | function _load_lockfile() {
function _load_constants (line 72673) | function _load_constants() {
function _interopRequireDefault (line 72677) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setFlags (line 72683) | function setFlags(commander) {
function hasWrapper (line 72691) | function hasWrapper(commander, args) {
class Audit (line 72695) | class Audit {
method constructor (line 72697) | constructor(config, reporter, options) {
method _mapHoistedNodes (line 72705) | _mapHoistedNodes(auditNode, hoistedNodes, transitiveDevDeps) {
method _mapHoistedTreesToAuditTree (line 72753) | _mapHoistedTreesToAuditTree(manifest, hoistedTrees, transitiveDevDeps) {
method _fetchAudit (line 72776) | _fetchAudit(auditTree) {
method _insertWorkspacePackagesIntoManifest (line 72808) | _insertWorkspacePackagesIntoManifest(manifest, resolver) {
method performAudit (line 72819) | performAudit(manifest, lockfile, resolver, linker, patterns) {
method summary (line 72832) | summary() {
method report (line 72839) | report() {
function _load_asyncToGenerator (line 72906) | function _load_asyncToGenerator() {
function _load_index (line 73128) | function _load_index() {
function _load_filter (line 73134) | function _load_filter() {
function _load_constants (line 73140) | function _load_constants() {
function _load_fs (line 73146) | function _load_fs() {
function _interopRequireWildcard (line 73150) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 73152) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setFlags (line 73208) | function setFlags(commander) {
function hasWrapper (line 73215) | function hasWrapper(commander) {
function _load_asyncToGenerator (line 73233) | function _load_asyncToGenerator() {
function _load_buildSubCommands (line 73413) | function _load_buildSubCommands() {
function _load_fs (line 73419) | function _load_fs() {
function _interopRequireWildcard (line 73423) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 73425) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function hasWrapper (line 73431) | function hasWrapper(flags, args) {
function _getMetadataWithPath (line 73435) | function _getMetadataWithPath(getMetadataFn, paths) {
method ls (line 73443) | ls(config, reporter, flags, args) {
method dir (line 73451) | dir(config, reporter) {
function setFlags (line 73461) | function setFlags(commander) {
function _load_asyncToGenerator (line 73481) | function _load_asyncToGenerator() {
function reportError (line 73488) | function reportError(msg, ...vars) {
function reportError (line 73611) | function reportError(msg, ...vars) {
function humaniseLocation (line 73678) | function humaniseLocation(loc) {
function reportError (line 73694) | function reportError(msg, ...vars) {
function _load_errors (line 73930) | function _load_errors() {
function _load_integrityChecker (line 73936) | function _load_integrityChecker() {
function _load_integrityChecker2 (line 73942) | function _load_integrityChecker2() {
function _load_lockfile (line 73948) | function _load_lockfile() {
function _load_fs (line 73954) | function _load_fs() {
function _load_install (line 73960) | function _load_install() {
function _load_normalizePattern (line 73966) | function _load_normalizePattern() {
function _interopRequireWildcard (line 73970) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 73972) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function hasWrapper (line 73980) | function hasWrapper(commander) {
function setFlags (line 73984) | function setFlags(commander) {
function _load_asyncToGenerator (line 74004) | function _load_asyncToGenerator() {
function _load_errors (line 74113) | function _load_errors() {
function _load_fs (line 74119) | function _load_fs() {
function _load_global (line 74125) | function _load_global() {
function _interopRequireWildcard (line 74129) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 74131) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function hasWrapper (line 74138) | function hasWrapper(commander, args) {
function setFlags (line 74142) | function setFlags(commander) {
function _load_asyncToGenerator (line 74160) | function _load_asyncToGenerator() {
function _load_install (line 74406) | function _load_install() {
function _load_lockfile (line 74412) | function _load_lockfile() {
function _interopRequireDefault (line 74416) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function buildCount (line 74424) | function buildCount(trees) {
function getParent (line 74456) | function getParent(key, treesByKey) {
function hasWrapper (line 74461) | function hasWrapper(commander, args) {
function setFlags (line 74465) | function setFlags(commander) {
function getReqDepth (line 74471) | function getReqDepth(inputDepth) {
function filterTree (line 74475) | function filterTree(tree, filters, pattern = '') {
function getDevDeps (line 74488) | function getDevDeps(manifest) {
function _load_extends (line 74510) | function _load_extends() {
function _load_asyncToGenerator (line 74516) | function _load_asyncToGenerator() {
function _load_lockfile (line 74657) | function _load_lockfile() {
function _load_index (line 74663) | function _load_index() {
function _load_install (line 74669) | function _load_install() {
function _load_errors (line 74675) | function _load_errors() {
function _load_index2 (line 74681) | function _load_index2() {
function _load_fs (line 74687) | function _load_fs() {
function _load_constants (line 74693) | function _load_constants() {
function _interopRequireWildcard (line 74697) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 74699) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setFlags (line 74707) | function setFlags(commander) {
function hasWrapper (line 74713) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 74731) | function _load_asyncToGenerator() {
function runCommand (line 74988) | function runCommand([action, ...args]) {
function _load_executeLifecycleScript (line 75049) | function _load_executeLifecycleScript() {
function _load_dynamicRequire (line 75055) | function _load_dynamicRequire() {
function _load_hooks (line 75061) | function _load_hooks() {
function _load_errors (line 75067) | function _load_errors() {
function _load_packageCompatibility (line 75073) | function _load_packageCompatibility() {
function _load_fs (line 75079) | function _load_fs() {
function _load_constants (line 75085) | function _load_constants() {
function _interopRequireWildcard (line 75089) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 75091) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function toObject (line 75105) | function toObject(input) {
function setFlags (line 75130) | function setFlags(commander) {
function hasWrapper (line 75134) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 75152) | function _load_asyncToGenerator() {
function _load_buildSubCommands (line 75247) | function _load_buildSubCommands() {
function _load_login (line 75253) | function _load_login() {
function _load_npmRegistry (line 75259) | function _load_npmRegistry() {
function _load_errors (line 75265) | function _load_errors() {
function _load_normalizePattern (line 75271) | function _load_normalizePattern() {
function _load_validate (line 75277) | function _load_validate() {
function _interopRequireDefault (line 75281) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setFlags (line 75283) | function setFlags(commander) {
method add (line 75288) | add(config, reporter, flags, args) {
method rm (line 75335) | rm(config, reporter, flags, args) {
method remove (line 75342) | remove(config, reporter, flags, args) {
method ls (line 75348) | ls(config, reporter, flags, args) {
method list (line 75355) | list(config, reporter, flags, args) {
function _load_extends (line 75383) | function _load_extends() {
function _load_asyncToGenerator (line 75389) | function _load_asyncToGenerator() {
function _load_inquirer (line 75600) | function _load_inquirer() {
function _load_lockfile (line 75606) | function _load_lockfile() {
function _load_add (line 75612) | function _load_add() {
function _load_upgrade (line 75618) | function _load_upgrade() {
function _load_colorForVersions (line 75624) | function _load_colorForVersions() {
function _load_colorizeDiff (line 75630) | function _load_colorizeDiff() {
function _load_install (line 75636) | function _load_install() {
function _interopRequireDefault (line 75640) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function setFlags (line 75646) | function setFlags(commander) {
function hasWrapper (line 75656) | function hasWrapper(commander, args) {
function _load_asyncToGenerator (line 75674) | function _load_asyncToGenerator() {
function runLifecycle (line 75694) | function runLifecycle(lifecycle) {
function isCommitHooksDisabled (line 75702) | function isCommitHooksDisabled() {
function _load_index (line 75880) | function _load_index() {
function _load_executeLifecycleScript (line 75886) | function _load_executeLifecycleScript() {
function _load_errors (line 75892) | function _load_errors() {
function _load_gitSpawn (line 75898) | function _load_gitSpawn() {
function _load_fs (line 75904) | function _load_fs() {
function _load_map (line 75910) | function _load_map() {
function _interopRequireWildcard (line 75914) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 75916) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function isValidNewVersion (line 75923) | function isValidNewVersion(oldVersion, newVersion, looseSemver, identifi...
function setFlags (line 75927) | function setFlags(commander) {
function hasWrapper (line 75943) | function hasWrapper(commander, args) {
function _load_extends (line 75961) | function _load_extends() {
function _load_asyncToGenerator (line 75967) | function _load_asyncToGenerator() {
function _load_errors (line 75973) | function _load_errors() {
function _load_constants (line 75979) | function _load_constants() {
function _load_baseFetcher (line 75985) | function _load_baseFetcher() {
function _load_fs (line 75991) | function _load_fs() {
function _load_misc (line 75997) | function _load_misc() {
function _load_normalizeUrl (line 76003) | function _load_normalizeUrl() {
function _interopRequireWildcard (line 76007) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 76009) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class TarballFetcher (line 76043) | class TarballFetcher extends (_baseFetcher || _load_baseFetcher()).defau...
method constructor (line 76044) | constructor(...args) {
method setupMirrorFromCache (line 76050) | setupMirrorFromCache() {
method getTarballCachePath (line 76069) | getTarballCachePath() {
method getTarballMirrorPath (line 76073) | getTarballMirrorPath() {
method createExtractor (line 76099) | createExtractor(resolve, reject, tarballPath) {
method getLocalPaths (line 76198) | getLocalPaths(override) {
method fetchFromLocal (line 76204) | fetchFromLocal(override) {
method fetchFromExternal (line 76237) | fetchFromExternal() {
method requestHeaders (line 76293) | requestHeaders() {
method _fetch (line 76311) | _fetch() {
method _findIntegrity (line 76326) | _findIntegrity({ hashOnly }) {
method _supportedIntegrity (line 76336) | _supportedIntegrity({ hashOnly }) {
class LocalTarballFetcher (line 76374) | class LocalTarballFetcher extends TarballFetcher {
method _fetch (line 76375) | _fetch() {
function urlParts (line 76383) | function urlParts(requestUrl) {
function _load_misc (line 76404) | function _load_misc() {
class PackageReference (line 76408) | class PackageReference {
method constructor (line 76409) | constructor(request, info, remote) {
method setFresh (line 76438) | setFresh(fresh) {
method addLocation (line 76442) | addLocation(loc) {
method addRequest (line 76448) | addRequest(request) {
method prune (line 76454) | prune() {
method addDependencies (line 76474) | addDependencies(deps) {
method setPermission (line 76478) | setPermission(key, val) {
method hasPermission (line 76482) | hasPermission(key) {
method addPattern (line 76490) | addPattern(pattern, manifest) {
method addOptional (line 76518) | addOptional(optional) {
function _load_asyncToGenerator (line 76544) | function _load_asyncToGenerator() {
function _load_index (line 76550) | function _load_index() {
function _load_packageRequest (line 76556) | function _load_packageRequest() {
function _load_normalizePattern (line 76562) | function _load_normalizePattern() {
function _load_requestManager (line 76568) | function _load_requestManager() {
function _load_blockingQueue (line 76574) | function _load_blockingQueue() {
function _load_lockfile (line 76580) | function _load_lockfile() {
function _load_map (line 76586) | function _load_map() {
function _load_workspaceLayout (line 76592) | function _load_workspaceLayout() {
function _load_resolutionMap (line 76598) | function _load_resolutionMap() {
function _load_resolutionMap2 (line 76604) | function _load_resolutionMap2() {
function _interopRequireDefault (line 76608) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class PackageResolver (line 76614) | class PackageResolver {
method constructor (line 76615) | constructor(config, lockfile, resolutionMap = new (_resolutionMap || _...
method isNewPattern (line 76671) | isNewPattern(pattern) {
method updateManifest (line 76675) | updateManifest(ref, newPkg) {
method updateManifests (line 76705) | updateManifests(newPkgs) {
method dedupePatterns (line 76750) | dedupePatterns(patterns) {
method getTopologicalManifests (line 76784) | getTopologicalManifests(seedPatterns) {
method getLevelOrderManifests (line 76825) | getLevelOrderManifests(seedPatterns) {
method getAllDependencyNamesByLevelOrder (line 76886) | getAllDependencyNamesByLevelOrder(seedPatterns) {
method getAllInfoForPackageName (line 76912) | getAllInfoForPackageName(name) {
method getAllInfoForPatterns (line 76921) | getAllInfoForPatterns(patterns) {
method getManifests (line 76955) | getManifests() {
method replacePattern (line 76975) | replacePattern(pattern, newPattern) {
method collapseAllVersionsOfPackage (line 76989) | collapseAllVersionsOfPackage(name, version) {
method collapsePackageVersions (line 76997) | collapsePackageVersions(name, version, patterns) {
method addPattern (line 77080) | addPattern(pattern, info) {
method removePattern (line 77093) | removePattern(pattern) {
method getResolvedPattern (line 77112) | getResolvedPattern(pattern) {
method getStrictResolvedPattern (line 77120) | getStrictResolvedPattern(pattern) {
method getExactVersionMatch (line 77130) | getExactVersionMatch(name, version, manifest) {
method getHighestRangeVersionMatch (line 77167) | getHighestRangeVersionMatch(name, range, manifest) {
method exoticRangeMatch (line 77198) | exoticRangeMatch(resolvedPkgs, manifest) {
method isLockfileEntryOutdated (line 77216) | isLockfileEntryOutdated(version, range, hasVersion) {
method find (line 77224) | find(initialReq) {
method init (line 77277) | init(deps, { isFlat, isFrozen, workspaceLayout } = {
method optimizeResolutions (line 77354) | optimizeResolutions(name) {
method reportPackageWithExistingVersion (line 77402) | reportPackageWithExistingVersion(req, info) {
method resolvePackagesWithExistingVersions (line 77411) | resolvePackagesWithExistingVersions() {
method resolveToResolution (line 77432) | resolveToResolution(req) {
function _load_hostedGitResolver (line 77478) | function _load_hostedGitResolver() {
function _interopRequireDefault (line 77482) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class GitHubResolver (line 77484) | class GitHubResolver extends (_hostedGitResolver || _load_hostedGitResol...
method isVersion (line 77486) | static isVersion(pattern) {
method getTarballUrl (line 77500) | static getTarballUrl(parts, hash) {
method getGitSSHUrl (line 77504) | static getGitSSHUrl(parts) {
method getGitHTTPBaseUrl (line 77508) | static getGitHTTPBaseUrl(parts) {
method getGitHTTPUrl (line 77512) | static getGitHTTPUrl(parts) {
method getHTTPFileUrl (line 77516) | static getHTTPFileUrl(parts, filename, commit) {
function _load_asyncToGenerator (line 77538) | function _load_asyncToGenerator() {
function _load_exoticResolver (line 77544) | function _load_exoticResolver() {
function _load_misc (line 77550) | function _load_misc() {
function _load_fs (line 77556) | function _load_fs() {
function _interopRequireWildcard (line 77560) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 77562) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class LinkResolver (line 77568) | class LinkResolver extends (_exoticResolver || _load_exoticResolver()).d...
method constructor (line 77569) | constructor(request, fragment) {
method resolve (line 77574) | resolve() {
function _load_semver (line 77627) | function _load_semver() {
function _load_semver2 (line 77633) | function _load_semver2() {
function _load_constants (line 77639) | function _load_constants() {
function _interopRequireDefault (line 77643) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function _load_misc (line 77696) | function _load_misc() {
function sortFilter (line 77705) | function sortFilter(files, filters, keepFiles = new Set(), possibleKeepF...
function matchesFilter (line 77853) | function matchesFilter(filter, basename, loc) {
function ignoreLinesToRegex (line 77865) | function ignoreLinesToRegex(lines, base = '.') {
function filterOverridenGitignores (line 77902) | function filterOverridenGitignores(files) {
function _load_extends (line 77935) | function _load_extends() {
function _load_path (line 77941) | function _load_path() {
function _load_child (line 77947) | function _load_child() {
function _interopRequireWildcard (line 77951) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 77953) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function callThroughHook (line 77994) | function callThroughHook(type, fn, context) {
function parsePackagePath (line 78057) | function parsePackagePath(input) {
function isValidPackagePath (line 78063) | function isValidPackagePath(input) {
function _load_path (line 78082) | function _load_path() {
function getPosixPath (line 78088) | function getPosixPath(path) {
function resolveWithHome (line 78092) | function resolveWithHome(path) {
function _load_fs (line 78114) | function _load_fs() {
function _load_http (line 78120) | function _load_http() {
function _load_url (line 78126) | function _load_url() {
function _load_dnscache (line 78132) | function _load_dnscache() {
function _load_invariant (line 78138) | function _load_invariant() {
function _load_requestCaptureHar (line 78144) | function _load_requestCaptureHar() {
function _load_errors (line 78150) | function _load_errors() {
function _load_blockingQueue (line 78156) | function _load_blockingQueue() {
function _load_constants (line 78162) | function _load_constants() {
function _load_network (line 78168) | function _load_network() {
function _load_map (line 78174) | function _load_map() {
function _interopRequireWildcard (line 78178) | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { ret...
function _interopRequireDefault (line 78180) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
class RequestManager (line 78194) | class RequestManager {
method constructor (line 78195) | constructor(reporter) {
method setOptions (line 78214) | setOptions(opts) {
method _getRequestModule (line 78287) | _getRequestModule() {
method request (line 78304) | request(params) {
method clearCache (line 78340) | clearCache() {
method isPossibleOfflineError (line 78351) | isPossibleOfflineError(err) {
method queueForRetry (line 78395) | queueForRetry(opts) {
method initOfflineRetry (line 78436) | initOfflineRetry() {
method execute (line 78463) | execute(opts) {
method shiftQueue (line 78639) | shiftQueue() {
method saveHar (line 78650) | saveHar(filename) {
function F (line 79025) | function F(S, x8, i) {
function stream2word (line 79062) | function stream2word(data, databytes){
function bcrypt_hash (line 79137) | function bcrypt_hash(sha2pass, sha2salt, out) {
function bcrypt_pbkdf (line 79163) | function bcrypt_pbkdf(pass, passlen, salt, saltlen, key, keylen, rounds) {
function codeRegex (line 79316) | function codeRegex(capture){
function strlen (line 79320) | function strlen(str){
function repeat (line 79327) | function repeat(str,times){
function pad (line 79331) | function pad(str, len, pad, dir) {
function addToCodeCache (line 79356) | function addToCodeCache(name,on,off){
function updateState (line 79372) | function updateState(state, controlChars){
function readState (line 79401) | function readState(line){
function unwindState (line 79412) | function unwindState(state,ret){
function rewindState (line 79435) | function rewindState(state,ret){
function truncateWidth (line 79458) | function truncateWidth(str, desiredLength){
function truncateWidthWithAnsi (line 79470) | function truncateWidthWithAnsi(str, desiredLength){
function truncate (line 79499) | function truncate(str, desiredLength, truncateChar){
function defaultOptions (line 79513) | function defaultOptions(){
function mergeOptions (line 79548) | function mergeOptions(options,defaults){
function wordWrap (line 79557) | function wordWrap(maxLength,input){
function multiLineWordWrap (line 79587) | function multiLineWordWrap(maxLength, input){
function colorizeLines (line 79596) | function colorizeLines(input){
function createPromise (line 79651) | function createPromise() {
function co (line 79665) | function co(gen) {
function toPromise (line 79737) | function toPromise(obj) {
function thunkToPromise (line 79755) | function thunkToPromise(fn) {
function arrayToPromise (line 79775) | function arrayToPromise(obj) {
function objectToPromise (line 79788) | function objectToPromise(obj){
function isPromise (line 79819) | function isPromise(obj) {
function isGenerator (line 79831) | function isGenerator(obj) {
function isGeneratorFunction (line 79842) | function isGeneratorFunction(obj) {
function isObject (line 79857) | function isObject(val) {
function comparativeDistance (line 80039) | function comparativeDistance(x, y) {
function CombinedStream (line 80746) | function CombinedStream() {
function unstupid (
Copy disabled (too large)
Download .json
Condensed preview — 1132 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,213K chars).
[
{
"path": ".github/workflows/checks.yml",
"chars": 618,
"preview": "name: Checks\non:\n push:\n branches:\n - \"*\"\njobs:\n test:\n strategy:\n matrix:\n os: [macos-latest, "
},
{
"path": ".github/workflows/documentation.yml",
"chars": 613,
"preview": "name: Publish Documentation\non:\n push:\n branches:\n - master\njobs:\n publish-documentation:\n name: Publish do"
},
{
"path": ".github/workflows/publish.yml",
"chars": 894,
"preview": "name: Publish Packages\non:\n push:\n branches:\n - master\njobs:\n publish-packages:\n name: Publish NPM & Market"
},
{
"path": ".gitignore",
"chars": 307,
"preview": "lib/\ntarget/\nnode_modules/\ndist/\n*.node\nyarn-*.log\n*.artifacts\ntmp/\n*.pc.d.ts\n*.pc.js\n*.pc.css\n*.vsix\n*.DS_Store\nlerna-d"
},
{
"path": ".husky/pre-commit",
"chars": 69,
"preview": "#!/bin/sh\n. \"$(dirname \"$0\")/_/husky.sh\"\n\nyarn pretty-quick --staged\n"
},
{
"path": ".prettierignore",
"chars": 59,
"preview": "*.md\nlerna.json\npackages/prettier-plugin-paperclip/**/*.pc\n"
},
{
"path": ".vscode/launch.json",
"chars": 872,
"preview": "{\n \"version\": \"0.1.0\",\n \"configurations\": [\n {\n \"name\": \"Paperclip\",\n \"type\": \"extensionHost\",\n \"req"
},
{
"path": ".yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs",
"chars": 51880,
"preview": "/* eslint-disable */\n//prettier-ignore\nmodule.exports = {\nname: \"@yarnpkg/plugin-workspace-tools\",\nfactory: function (re"
},
{
"path": ".yarn/releases/yarn-1.22.17.cjs",
"chars": 4957335,
"preview": "#!/usr/bin/env node\nmodule.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/**"
},
{
"path": ".yarnarc",
"chars": 38,
"preview": "registry \"https://registry.npmjs.org\"\n"
},
{
"path": ".yarnrc.yml",
"chars": 182,
"preview": "nodeLinker: node-modules\n\nplugins:\n - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs\n spec: \"@yarnpkg/plugi"
},
{
"path": "LICENSE",
"chars": 32876,
"preview": "Copyright (C) 2021 Craig Condon\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms"
},
{
"path": "README.md",
"chars": 8866,
"preview": "\n\n**This project has been mo"
},
{
"path": "archive/figma-paperclip/.gitignore",
"chars": 5,
"preview": "mock\n"
},
{
"path": "archive/figma-paperclip/README.md",
"chars": 4133,
"preview": "figma-paperclip allows you to import Figma designs in React code.\n\n### Resources\n\n- [Getting Started](#getting-started)\n"
},
{
"path": "archive/figma-paperclip/bin/figma-paperclip",
"chars": 817,
"preview": "#!/usr/bin/env node\n\nconst {pull, init} = require(\"../lib\");\nconst path = require(\"path\");\n\nconst argv = require(\"yargs\""
},
{
"path": "archive/figma-paperclip/index.d.ts",
"chars": 23,
"preview": "export * from \"./lib\";\n"
},
{
"path": "archive/figma-paperclip/index.js",
"chars": 35,
"preview": "module.exports = require(\"./lib\");\n"
},
{
"path": "archive/figma-paperclip/package.json",
"chars": 899,
"preview": "{\n \"name\": \"figma-paperclip\",\n \"version\": \"17.4.10\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"bin\": {\n \"figma-"
},
{
"path": "archive/figma-paperclip/src/api.ts",
"chars": 1711,
"preview": "import * as https from \"https\";\nimport * as qs from \"querystring\";\n\nexport class FigmaApi {\n constructor(readonly perso"
},
{
"path": "archive/figma-paperclip/src/cli.ts",
"chars": 19137,
"preview": "#!/usr/bin/env node\nimport {\n CONFIG_FILE_NAME,\n PC_FILE_EXTENSION,\n DEPENDENCIES_NAMESPACE,\n PC_CONFIG_FILE_NAME,\n "
},
{
"path": "archive/figma-paperclip/src/constants.ts",
"chars": 477,
"preview": "import { ExportSettings } from \"./state\";\n\nexport const CONFIG_FILE_NAME = \"figmark.json\";\nexport const PC_CONFIG_FILE_N"
},
{
"path": "archive/figma-paperclip/src/index.ts",
"chars": 75,
"preview": "export * from \"./constants\";\nimport * as cli from \"./cli\";\nexport { cli };\n"
},
{
"path": "archive/figma-paperclip/src/memo.ts",
"chars": 3198,
"preview": "import * as LRU from \"lru-cache\";\n\nconst DEFAULT_LRU_MAX = 1000 * 100;\n\n// need this for default arguments\nconst getArgu"
},
{
"path": "archive/figma-paperclip/src/state.ts",
"chars": 14400,
"preview": "import * as fs from \"fs\";\nimport * as path from \"path\";\nimport { CONFIG_FILE_NAME } from \"./constants\";\nimport { memoize"
},
{
"path": "archive/figma-paperclip/src/translate-pc.ts",
"chars": 36332,
"preview": "// inspired by https://github.com/KarlRombauts/Figma-SCSS-Generator/blob/master/gradients.js\n// https://github.com/figma"
},
{
"path": "archive/figma-paperclip/src/translate-utils.ts",
"chars": 1252,
"preview": "import {\n CompilerOptions,\n Document,\n DependencyMap,\n DependencyGraph\n} from \"./state\";\n\nexport type TranslateConte"
},
{
"path": "archive/figma-paperclip/src/utils.ts",
"chars": 2741,
"preview": "import { camelCase } from \"lodash\";\nimport * as chalk from \"chalk\";\nimport * as fs from \"fs\";\nimport * as path from \"pat"
},
{
"path": "archive/figma-paperclip/tsconfig.json",
"chars": 341,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \"lib\",\n \"target\": \"es5\",\n \"declaration\": true,\n \"moduleResolution\": \"nod"
},
{
"path": "archive/gatsby-plugin-paperclip/.eslintrc.json",
"chars": 288,
"preview": "{\n \"root\": true,\n \"parser\": \"@typescript-eslint/parser\",\n \"plugins\": [\"@typescript-eslint\"],\n \"extends\": [\n \"esli"
},
{
"path": "archive/gatsby-plugin-paperclip/.gitignore",
"chars": 6,
"preview": "/*.js\n"
},
{
"path": "archive/gatsby-plugin-paperclip/.npmignore",
"chars": 0,
"preview": ""
},
{
"path": "archive/gatsby-plugin-paperclip/package.json",
"chars": 511,
"preview": "{\n \"name\": \"gatsby-plugin-paperclip\",\n \"version\": \"17.4.10\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"scripts\": {"
},
{
"path": "archive/gatsby-plugin-paperclip/src/gatsby-node.ts",
"chars": 365,
"preview": "export function resolvableExtensions() {\n return [`.pc`];\n}\n\nexport function onCreateWebpackConfig({ loaders, actions }"
},
{
"path": "archive/gatsby-plugin-paperclip/src/index.ts",
"chars": 8,
"preview": "// noop\n"
},
{
"path": "archive/gatsby-plugin-paperclip/src/resolve.ts",
"chars": 52,
"preview": "module.exports = module => require.resolve(module);\n"
},
{
"path": "archive/gatsby-plugin-paperclip/tsconfig.json",
"chars": 274,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \".\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n \"module\": \"commonjs"
},
{
"path": "archive/paperclip-docco/.eslintrc.json",
"chars": 288,
"preview": "{\n \"root\": true,\n \"parser\": \"@typescript-eslint/parser\",\n \"plugins\": [\"@typescript-eslint\"],\n \"extends\": [\n \"esli"
},
{
"path": "archive/paperclip-docco/README.md",
"chars": 1439,
"preview": "Paperclip documentation generator - very much a WIP. Features:\n\n- Generate static HTML documentation\n- Open documentatio"
},
{
"path": "archive/paperclip-docco/brainstorm/ui/app.pc",
"chars": 11340,
"preview": "<!--\n\nInspiration:\n\nhttps://www.ibm.com/design/language/color\n\n-->\n<style>\n :root {\n --gap: 2px;\n --gap-2: calc(v"
},
{
"path": "archive/paperclip-docco/brainstorm/ui/colors.pc",
"chars": 70,
"preview": "<style>\n :root {\n --color-black-100: rgb(73, 73, 73);\n }\n</style>"
},
{
"path": "archive/paperclip-docco/brainstorm/ui/test.html",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-docco/brainstorm/ui/typography.pc",
"chars": 132,
"preview": "<import src=\"./colors.pc\" />\n<style>\n\n :global(body) {\n font-family: Helvetica;\n color: var(--color-black-100);\n "
},
{
"path": "archive/paperclip-docco/package.json",
"chars": 398,
"preview": "{\n \"name\": \"@paperclip-ui/docco\",\n \"version\": \"17.4.10\",\n \"private\": true,\n \"description\": \"Paperclip documentation "
},
{
"path": "archive/paperclip-docco/paperclip.config.json",
"chars": 24,
"preview": "{\n \"srcDir\": \"./src\"\n}\n"
},
{
"path": "archive/paperclip-docco/src/front-end/index.ts",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/package.json",
"chars": 2319,
"preview": "{\n \"name\": \"@paperclip-ui/playground\",\n \"version\": \"18.0.2\",\n \"description\": \"Online Paperclip playground\",\n \"main\":"
},
{
"path": "archive/paperclip-playground/paperclip.config.json",
"chars": 89,
"preview": "{\n \"srcDir\": \"./src\",\n \"moduleDirs\": [\"../../node_modules\", \"../..\", \"node_modules\"]\n}\n"
},
{
"path": "archive/paperclip-playground/src/frontend/actions/base.ts",
"chars": 260,
"preview": "type BaseAction<TType extends string, TPayload = undefined> = {\n type: TType;\n payload: TPayload;\n};\n\nexport const act"
},
{
"path": "archive/paperclip-playground/src/frontend/actions/index.ts",
"chars": 10561,
"preview": "import * as ve from \"@tandem-ui/designer/src/actions\";\nimport {\n AppState,\n Project,\n ProjectFile,\n Result,\n ShareP"
},
{
"path": "archive/paperclip-playground/src/frontend/api/index.ts",
"chars": 3160,
"preview": "import { Project, ProjectFile } from \"../state\";\nimport mime from \"mime-types\";\n\nexport const connectAccount = async (ki"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Button/index.pc",
"chars": 1538,
"preview": "<import src=\"@tandem-ui/designer/src/components/Theme/index.pc\" as=\"Theme\" />\n\n<!--\n @frame { visible: false }\n-->\n<but"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Button/index.tsx",
"chars": 383,
"preview": "import React from \"react\";\nimport * as styles from \"./index.pc\";\n\nexport type ButtonProps = {\n primary?: boolean;\n big"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/CodeMode/Slim.tsx",
"chars": 1307,
"preview": "import React, { useState, useEffect } from \"react\";\nimport { loadEngineDelegate } from \"paperclip/browser\";\n// import \"p"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/CodeMode/Toolbar/index.pc",
"chars": 9187,
"preview": "<import src=\"@tandem-ui/designer/src/components/Theme/index.pc\" as=\"Theme\" />\n<import src=\"@tandem-ui/designer/src/style"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/CodeMode/index.pc",
"chars": 1761,
"preview": "<import src=\"@tandem-ui/designer/src/components/Theme/index.pc\" as=\"Theme\" />\n<import src=\"./Toolbar/index.pc\" as=\"Toolb"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/CodeMode/index.tsx",
"chars": 5735,
"preview": "import React, { useEffect, useRef, useState } from \"react\";\n// import Editor from \"@monaco-editor/react\";\nimport {\n glo"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/CodeMode/prism.css",
"chars": 84,
"preview": ".npm__react-simple-code-editor__textarea {\n caret-color: white;\n outline: none;\n}\n"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/DesignMode/index.tsx",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/EditableLabel/index.pc",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/Menu/index.pc",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/NoBrowserSupportModal/index.pc",
"chars": 1169,
"preview": "<import src=\"frontend/components/Modal/index.pc\" as=\"Modal\" />\n\n\n\n<!--\n @frame { visible: false }\n-->\n<Modal.Container "
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/PasswordModal/index.pc",
"chars": 1869,
"preview": "<import src=\"frontend/components/Modal/index.pc\" as=\"Modal\" />\n<import src=\"@tandem-ui/designer/src/components/TextInput"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/PasswordModal/index.tsx",
"chars": 1356,
"preview": "import { noop } from \"lodash\";\nimport React, { memo, useState } from \"react\";\nimport { useTextInput } from \"@tandem-ui/d"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/ProjectLoadingModal/index.pc",
"chars": 1101,
"preview": "<div export\n component\n as=\"Modal\"\n className=\"v2\"\n className:visible=\"visible\"\n style=\"--percent: {percent}\">\n <s"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/ProjectLoadingModal/index.tsx",
"chars": 424,
"preview": "import React, { useEffect, useState } from \"react\";\nimport { memo } from \"react\";\nimport { useAppStore } from \"../../../"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/Projects/index.pc",
"chars": 6236,
"preview": "<import src=\"@tandem-ui/designer/src/components/Theme/index.pc\" as=\"Theme\" />\n<import src=\"frontend/components/Theme/bre"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/Projects/index.tsx",
"chars": 3969,
"preview": "import { useTextInput } from \"@tandem-ui/designer/src/components/TextInput\";\nimport { Spinner } from \"@tandem-ui/designe"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/ShareModal/index.pc",
"chars": 1729,
"preview": "<import src=\"frontend/components/Modal/index.pc\" as=\"Modal\" />\n<import src=\"@tandem-ui/designer/src/components/TextInput"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/ShareModal/index.tsx",
"chars": 1531,
"preview": "import { Spinner } from \"@tandem-ui/designer/src/components/Spinner\";\nimport { eventNames } from \"process\";\nimport React"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/Toolbar/index.pc",
"chars": 7454,
"preview": "<import src=\"frontend/components/Button/index.pc\" as=\"Button\" />\n<import src=\"@tandem-ui/designer/src/styles/utils.pc\" a"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/Toolbar/index.tsx",
"chars": 3544,
"preview": "import { APP_LOCATIONS } from \"../../../state\";\nimport React, { useState } from \"react\";\nimport { useHistory } from \"rea"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/auth/index.pc",
"chars": 1488,
"preview": "<import src=\"frontend/components/Button/index.pc\" as=\"Button\" />\n<import src=\"frontend/components/Modal/index.pc\" as=\"Mo"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/auth/index.tsx",
"chars": 978,
"preview": "import React, { memo } from \"react\";\nimport { Modal } from \"../../Modal\";\nimport * as styles from \"./index.pc\";\nimport {"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/auth/oauth.ts",
"chars": 1535,
"preview": "import * as qs from \"querystring\";\nimport { accountConnected, AccountKind } from \"../../../actions\";\n\nconst oauthConnect"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/index.pc",
"chars": 6996,
"preview": "<import src=\"@tandem-ui/designer/src/components/Main/index.pc\" as=\"Main\" />\n<import src=\"@tandem-ui/designer/src/compone"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/index.tsx",
"chars": 4258,
"preview": "import React, { memo, useMemo, useRef, useState } from \"react\";\nimport { MainBase as DesignModeMainBase } from \"@tandem-"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Main/test.pc",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/components/Modal/index.pc",
"chars": 1948,
"preview": "<import src=\"@paperclip-ui/playground/src/frontend/components/Theme/index.pc\"\n as=\"Theme\" />\n<!--\n @frame { visible: f"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Modal/index.tsx",
"chars": 1179,
"preview": "import React, { useEffect, useState } from \"react\";\nimport * as styles from \"./index.pc\";\n\nexport type ModalProps = {\n "
},
{
"path": "archive/paperclip-playground/src/frontend/components/Theme/breakpoints.pc",
"chars": 423,
"preview": "<style>\n @export {\n @mixin desktop {\n @media screen and (max-width: 1200px) {\n @content;\n }\n }\n\n"
},
{
"path": "archive/paperclip-playground/src/frontend/components/Theme/index.pc",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/entry.tsx",
"chars": 772,
"preview": "import React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Main } from \"./components/Main\";\nimport { cre"
},
{
"path": "archive/paperclip-playground/src/frontend/hocs/withAppStore/index.tsx",
"chars": 1822,
"preview": "import React, { useEffect, useState } from \"react\";\nimport { createStore, applyMiddleware } from \"redux\";\nimport createS"
},
{
"path": "archive/paperclip-playground/src/frontend/hooks/resources.ts",
"chars": 563,
"preview": "import { useEffect } from \"react\";\nimport { projectFilesHookUsed, projectHookUsed } from \"../actions\";\nimport { useAppSt"
},
{
"path": "archive/paperclip-playground/src/frontend/hooks/useAppStore/index.ts",
"chars": 473,
"preview": "import { useMemo } from \"react\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { Action } from \"../../a"
},
{
"path": "archive/paperclip-playground/src/frontend/hooks/useQuery.ts",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/reducers/index.ts",
"chars": 9102,
"preview": "import {\n AppState,\n canEditFile,\n getNewFilePath,\n matchesLocationPath,\n cleanupPath,\n APP_LOCATIONS\n} from \"../s"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/api.ts",
"chars": 5402,
"preview": "import { AppState } from \"../state\";\nimport { call, fork, put, select, takeEvery } from \"redux-saga/effects\";\nimport his"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/engine-worker.ts",
"chars": 5733,
"preview": "import {\n Action,\n ActionType,\n AppStateDiffed,\n contentChangesCreated,\n engineCrashed,\n engineLoaded,\n WorkerIni"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/engine.ts",
"chars": 1864,
"preview": "import { eventChannel } from \"redux-saga\";\nimport { fork, put, select, take, takeEvery } from \"redux-saga/effects\";\nimpo"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/index.ts",
"chars": 2291,
"preview": "import { handleEngine } from \"./engine\";\nimport { fork, put, select, takeEvery } from \"redux-saga/effects\";\nimport veSag"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/location.ts",
"chars": 2983,
"preview": "import {\n ActionType as VEActionType,\n locationChanged,\n LocationChanged,\n} from \"@tandem-ui/designer/src/actions\";\ni"
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/resources.ts",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/src/frontend/sagas/utils.ts",
"chars": 2090,
"preview": "import { call, put, delay } from \"redux-saga/effects\";\nimport {\n BaseRequestChanged,\n getProjectFilesRequestChanged,\n "
},
{
"path": "archive/paperclip-playground/src/frontend/state/index.ts",
"chars": 6028,
"preview": "import * as ve from \"@tandem-ui/designer/src/state\";\nimport { isPaperclipFile, memoize, SourceLocation } from \"@papercli"
},
{
"path": "archive/paperclip-playground/src/frontend/utils/string-editor.ts",
"chars": 3779,
"preview": "// https://github.com/crcn/tandem/blob/0.1.1/packages/aerial-common2/src/string/editor.ts\n\nimport { ContentChange } from"
},
{
"path": "archive/paperclip-playground/src/index.html",
"chars": 2491,
"preview": "<html>\n <head>\n <title>Paperclip Playground</title>\n <meta charset=\"utf-8\" />\n <style>\n body,\n html "
},
{
"path": "archive/paperclip-playground/src/index.ts",
"chars": 0,
"preview": ""
},
{
"path": "archive/paperclip-playground/todos.md",
"chars": 146,
"preview": "### Immediate\n\n- webpack - bundle to static directory\n- monaco editor\n- API\n- \n\n\n### Main features\n\n- persist data s3\n- "
},
{
"path": "archive/paperclip-playground/tsconfig.json",
"chars": 348,
"preview": "{\n \"compilerOptions\": {\n \"jsx\": \"react\",\n \"outDir\": \"lib\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n "
},
{
"path": "archive/paperclip-playground/webpack.config.js",
"chars": 3976,
"preview": "const path = require(\"path\");\nconst webpack = require(\"webpack\");\n\nconst HtmlWebpackPlugin = require(\"html-webpack-plugi"
},
{
"path": "examples/react-basic/README.md",
"chars": 331,
"preview": "[](https://githubbox.com/paperclipui/paperclip"
},
{
"path": "examples/react-basic/package.json",
"chars": 912,
"preview": "{\n \"name\": \"@paperclip-ui/examples-react-basic\",\n \"version\": \"18.5.6\",\n \"private\": true,\n \"description\": \"\",\n \"main"
},
{
"path": "examples/react-basic/paperclip.config.json",
"chars": 69,
"preview": "{\n \"compilerOptions\": [{ \"emit\": [\"d.ts\"] }],\n \"srcDir\": \"./src\"\n}\n"
},
{
"path": "examples/react-basic/sandbox.config.json",
"chars": 46,
"preview": "{\n \"template\": \"node\",\n \"view\": \"browser\"\n}\n"
},
{
"path": "examples/react-basic/src/CustomGroceryList.pc",
"chars": 254,
"preview": "<import src=\"./GroceryList.pc\" as=\"GroceryList\" />\n\n<GroceryList.ListItem export component as=\"ListItem\">\n <style>\n "
},
{
"path": "examples/react-basic/src/GroceryList.pc",
"chars": 1212,
"preview": "<import src=\"./breakpoints.pc\" as=\"breakpoints\" />\n\n<!-- Scoped to this document -->\n<style>\n .font-regular {\n font-"
},
{
"path": "examples/react-basic/src/GroceryList.tsx",
"chars": 556,
"preview": "// PC files are compiled to plain code & can\n// be imported as regular modules\nimport React from \"react\";\nimport * as de"
},
{
"path": "examples/react-basic/src/breakpoints.pc",
"chars": 227,
"preview": "<style>\n @export {\n @mixin mobile {\n @media screen and (max-width: 600px) {\n @content;\n }\n }\n "
},
{
"path": "examples/react-basic/src/entry.tsx",
"chars": 460,
"preview": "import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { GroceryList } from \"./GroceryList\";\nimport * as gr"
},
{
"path": "examples/react-basic/src/index.html",
"chars": 161,
"preview": "<html>\n <head>\n <meta charset=\"utf-8\" />\n <title>Basic Paperclip example with React</title>\n </head>\n <body>\n "
},
{
"path": "examples/react-basic/tsconfig.json",
"chars": 350,
"preview": "{\n \"compilerOptions\": {\n \"jsx\": \"react\",\n \"outDir\": \"lib\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n "
},
{
"path": "examples/react-basic/webpack.config.js",
"chars": 1236,
"preview": "const path = require(\"path\");\n\nconst HtmlWebpackPlugin = require(\"html-webpack-plugin\");\nconst MiniCssExtractPlugin = re"
},
{
"path": "examples/syntax-basic/README.md",
"chars": 519,
"preview": "[](https://githubbox.com/paperclipui/pa"
},
{
"path": "examples/syntax-basic/package.json",
"chars": 414,
"preview": "{\n \"name\": \"@paperclip-ui/example-basics\",\n \"version\": \"18.5.6\",\n \"description\": \"\",\n \"main\": \"src/index.js\",\n \"pri"
},
{
"path": "examples/syntax-basic/paperclip.config.json",
"chars": 60,
"preview": "{\n \"srcDir\": \"./src\",\n \"moduleDirs\": [\"./node_modules\"]\n}\n"
},
{
"path": "examples/syntax-basic/sandbox.config.json",
"chars": 46,
"preview": "{\n \"template\": \"node\",\n \"view\": \"browser\"\n}\n"
},
{
"path": "examples/syntax-basic/src/hello.pc",
"chars": 147,
"preview": "<style>\n div {\n color: purple;\n font-size: 32px;\n font-family: papyrus;\n }\n span {\n color: blue;\n }\n</st"
},
{
"path": "examples/tailwind/.gitignore",
"chars": 41,
"preview": "lib/\ndist/\n\n*.scoped.css\nsrc/styles/\n\n\n\n\n"
},
{
"path": "examples/tailwind/README.md",
"chars": 375,
"preview": "[](https://githubbox.com/paperclipui/pa"
},
{
"path": "examples/tailwind/package.json",
"chars": 774,
"preview": "{\n \"name\": \"@paperclip-ui/paperclip-tailwind\",\n \"version\": \"18.5.6\",\n \"main\": \"index.js\",\n \"license\": \"MIT\",\n \"priv"
},
{
"path": "examples/tailwind/paperclip.config.json",
"chars": 166,
"preview": "{\n \"compilerOptions\": {\n \"target\": \"react\",\n \"outDir\": \"lib\",\n \"importAssetsAsModules\": true\n },\n \"srcDir\": "
},
{
"path": "examples/tailwind/sandbox.config.json",
"chars": 46,
"preview": "{\n \"template\": \"node\",\n \"view\": \"browser\"\n}\n"
},
{
"path": "examples/tailwind/src/index.pc",
"chars": 46847,
"preview": "<import src=\"./styles/tailwind.css\" inject-styles />\n\n<style>\n .font-sans {\n line-height: 1.5;\n }\n</style>\n\n<!--\n "
},
{
"path": "examples/tailwind/src/tailwind.scss",
"chars": 59,
"preview": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n"
},
{
"path": "examples/tailwind/tailwind.config.js",
"chars": 97,
"preview": "module.exports = {\n content: [\"./src/**/*.pc\"],\n theme: {\n extend: {}\n },\n plugins: []\n};\n"
},
{
"path": "examples/tailwind-and-animate/.gitignore",
"chars": 13,
"preview": "tailwind.css\n"
},
{
"path": "examples/tailwind-and-animate/README.md",
"chars": 195,
"preview": "[](https://githubbox.com/paperclipui/paperclip"
},
{
"path": "examples/tailwind-and-animate/css-modules/animate.css",
"chars": 95423,
"preview": "@charset \"UTF-8\"; /*!\n * animate.css - https://animate.style/\n * Version - 4.1.1\n * Licensed under the MIT license - htt"
},
{
"path": "examples/tailwind-and-animate/package.json",
"chars": 827,
"preview": "{\n \"name\": \"@paperclip-ui/tailwind-and-bootstrap\",\n \"private\": true,\n \"version\": \"18.5.6\",\n \"description\": \"\",\n \"ma"
},
{
"path": "examples/tailwind-and-animate/paperclip.config.json",
"chars": 121,
"preview": "{\n \"compilerOptions\": [\n {\n \"outDir\": \"./lib\"\n }\n ],\n \"srcDir\": \"./src\",\n \"moduleDirs\": [\"css-modules\"]\n}"
},
{
"path": "examples/tailwind-and-animate/sandbox.config.json",
"chars": 46,
"preview": "{\n \"template\": \"node\",\n \"view\": \"browser\"\n}\n"
},
{
"path": "examples/tailwind-and-animate/src/hello-paperclip.pc",
"chars": 1686,
"preview": "<!-- You can include CSS into the scope of this document -->\n<import src=\"tailwind.css\" inject-styles />\n\n<!-- Or you ca"
},
{
"path": "examples/tailwind-and-animate/src/tailwind.scss",
"chars": 59,
"preview": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n"
},
{
"path": "examples/tailwind-and-animate/tailwind.config.js",
"chars": 97,
"preview": "module.exports = {\n content: [\"./src/**/*.pc\"],\n theme: {\n extend: {}\n },\n plugins: []\n};\n"
},
{
"path": "examples/tailwind-and-bootstrap-example/.gitignore",
"chars": 26,
"preview": "node_modules\ntailwind.css\n"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-grid.css",
"chars": 72458,
"preview": "/*!\n * Bootstrap Grid v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-grid.rtl.css",
"chars": 72532,
"preview": "/*!\n * Bootstrap Grid v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-reboot.css",
"chars": 7623,
"preview": "/*!\n * Bootstrap Reboot v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 201"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-reboot.rtl.css",
"chars": 7599,
"preview": "/*!\n * Bootstrap Reboot v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 201"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-utilities.css",
"chars": 71621,
"preview": "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright "
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap-utilities.rtl.css",
"chars": 71488,
"preview": "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright "
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap.css",
"chars": 206016,
"preview": "@charset \"UTF-8\";\n/*!\n * Bootstrap v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Co"
},
{
"path": "examples/tailwind-and-bootstrap-example/css-modules/bootstrap/bootstrap.rtl.css",
"chars": 205673,
"preview": "@charset \"UTF-8\";\n/*!\n * Bootstrap v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Co"
},
{
"path": "examples/tailwind-and-bootstrap-example/package.json",
"chars": 373,
"preview": "{\n \"name\": \"tailwind-and-bootstrap-example\",\n \"version\": \"18.5.6\",\n \"private\": true,\n \"description\": \"\",\n \"main\": \""
},
{
"path": "examples/tailwind-and-bootstrap-example/paperclip.config.json",
"chars": 123,
"preview": "{\n \"compilerOptions\": [\n {\n \"outDir\": \"./lib\"\n }\n ],\n \"srcDir\": \"./src\",\n \"moduleDirs\": [\"./css-modules\"]"
},
{
"path": "examples/tailwind-and-bootstrap-example/src/hello-paperclip.pc",
"chars": 1020,
"preview": "<import src=\"bootstrap/bootstrap.css\" as=\"bts\" />\n<import src=\"tailwind.css\" as=\"tw\" />\n\n<!--\n @frame { visible: false "
},
{
"path": "examples/tailwind-and-bootstrap-example/src/tailwind.scss",
"chars": 59,
"preview": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n"
},
{
"path": "examples/tailwind-and-bootstrap-example/tailwind.config.js",
"chars": 97,
"preview": "module.exports = {\n content: [\"./src/**/*.pc\"],\n theme: {\n extend: {}\n },\n plugins: []\n};\n"
},
{
"path": "lerna.json",
"chars": 227,
"preview": "{\n \"packages\": [\n \"packages/*\",\n \"examples/*\"\n ],\n \"version\": \"18.5.6\",\n \"npmClient\": \"yarn\",\n \"useWorkspaces"
},
{
"path": "package.json",
"chars": 1885,
"preview": "{\n \"name\": \"@paperclip-ui/workspaces\",\n \"version\": \"18.0.3\",\n \"displayName\": \"Paperclip\",\n \"description\": \"Paperclip"
},
{
"path": "packages/avocode-paperclip/.gitignore",
"chars": 12,
"preview": "config.json\n"
},
{
"path": "packages/avocode-paperclip/LICENSE",
"chars": 32876,
"preview": "Copyright (C) 2021 Craig Condon\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms"
},
{
"path": "packages/avocode-paperclip/package.json",
"chars": 337,
"preview": "{\n \"name\": \"avocode-paperclip\",\n \"version\": \"18.4.7\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"publishConfig\": {\n"
},
{
"path": "packages/avocode-paperclip/src/api.ts",
"chars": 80,
"preview": "export class AvocodeClient {\n constructor(readonly apiKey: string) {\n \n }\n}"
},
{
"path": "packages/avocode-paperclip/src/index.ts",
"chars": 0,
"preview": ""
},
{
"path": "packages/avocode-paperclip/tsconfig.json",
"chars": 406,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \"./lib\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n \"module\": \"comm"
},
{
"path": "packages/figma-paperclip/LICENSE",
"chars": 32876,
"preview": "Copyright (C) 2021 Craig Condon\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms"
},
{
"path": "packages/figma-paperclip/bin/figma-paperclip",
"chars": 482,
"preview": "#!/usr/bin/env node\n\nconst {pull, init} = require(\"../lib\");\nconst path = require(\"path\");\n\nconst argv = require(\"yargs\""
},
{
"path": "packages/figma-paperclip/examples/wrapper-module/.gitignore",
"chars": 30,
"preview": "lib\nsrc\n*.graph-cache\n*.cache\n"
},
{
"path": "packages/figma-paperclip/examples/wrapper-module/figma-paperclip.config.js",
"chars": 192,
"preview": "module.exports = {\n sources: [\n \"https://www.figma.com/file/0nwtYJeLuHReEfVPr4pHwZ/Untitled?node-id=0%3A1\"\n ],\n at"
},
{
"path": "packages/figma-paperclip/examples/wrapper-module/figma-paperclip.json.backup",
"chars": 119,
"preview": "{\n \"sources\": [\n\t\"https://www.figma.com/file/IujaJUC9EUItf5dai5TB4g/Color?node-id=3%3A132\"\n ],\n \"outputDir\": \"src\"\n}"
},
{
"path": "packages/figma-paperclip/examples/wrapper-module/package.json",
"chars": 249,
"preview": "{\n \"name\": \"wrapper-module\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"pull\""
},
{
"path": "packages/figma-paperclip/examples/wrapper-module/paperclip.config.json",
"chars": 89,
"preview": "{\n \"srcDir\": \"./src\",\n \"moduleDirs\": [\"../../node_modules\", \"../..\", \"node_modules\"]\n}\n"
},
{
"path": "packages/figma-paperclip/package.json",
"chars": 654,
"preview": "{\n \"name\": \"figma-paperclip\",\n \"version\": \"18.4.7\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"bin\": \"./bin/figma-p"
},
{
"path": "packages/figma-paperclip/src/api.ts",
"chars": 2444,
"preview": "import * as https from \"https\";\nimport * as qs from \"querystring\";\nimport { httpGet } from \"./utils\";\n\nexport class Figm"
},
{
"path": "packages/figma-paperclip/src/constants.ts",
"chars": 477,
"preview": "import { ExportSettings } from \"./state\";\n\nexport const CONFIG_FILE_NAME = \"figmark.json\";\nexport const PC_CONFIG_FILE_N"
},
{
"path": "packages/figma-paperclip/src/graph.ts",
"chars": 9711,
"preview": "import * as chalk from \"chalk\";\nimport * as path from \"path\";\nimport { FigmaApi } from \"./api\";\nimport * as fsa from \"fs"
},
{
"path": "packages/figma-paperclip/src/index.ts",
"chars": 48,
"preview": "export * from \"./init\";\nexport * from \"./pull\";\n"
},
{
"path": "packages/figma-paperclip/src/init.ts",
"chars": 1125,
"preview": "import { Config } from \"./state\";\nimport * as inquirer from \"inquirer\";\nimport * as chalk from \"chalk\";\nimport * as fsa "
},
{
"path": "packages/figma-paperclip/src/memo.ts",
"chars": 3198,
"preview": "import * as LRU from \"lru-cache\";\n\nconst DEFAULT_LRU_MAX = 1000 * 100;\n\n// need this for default arguments\nconst getArgu"
},
{
"path": "packages/figma-paperclip/src/pull.ts",
"chars": 3789,
"preview": "import {\n COMMAND_NAME,\n configFileExists,\n logError,\n extractSourceUrlInfo,\n readConfig,\n SourceUrlInfo,\n logInf"
},
{
"path": "packages/figma-paperclip/src/state.ts",
"chars": 18965,
"preview": "import * as fs from \"fs\";\nimport * as chalk from \"chalk\";\nimport * as path from \"path\";\nimport { CONFIG_FILE_NAME } from"
},
{
"path": "packages/figma-paperclip/src/translate/context.ts",
"chars": 9742,
"preview": "import { uniq } from \"lodash\";\nimport {\n Config,\n DependencyGraph,\n ExcludeRule,\n OutputFile,\n OutputFileKind,\n Po"
},
{
"path": "packages/figma-paperclip/src/translate/index.ts",
"chars": 2417,
"preview": "import {\n DependencyGraph,\n DependencyKind,\n getNodeById,\n getNodeDependency,\n getNodeDependencyById,\n getNodeExpo"
},
{
"path": "packages/figma-paperclip/src/translate/modules.ts",
"chars": 4600,
"preview": "import {\n Config,\n DependencyGraph,\n DependencyKind,\n DesignDependency,\n DesignFileDesignImport,\n extractMixedInSt"
},
{
"path": "packages/figma-paperclip/src/translate/pages.ts",
"chars": 22609,
"preview": "import { add, camelCase, curry, omit, uniq } from \"lodash\";\nimport * as path from \"path\";\nimport * as chalk from \"chalk\""
},
{
"path": "packages/figma-paperclip/src/translate/utils.ts",
"chars": 4734,
"preview": "import { kebabCase } from \"lodash\";\nimport {\n cleanLabel,\n Config,\n containsNode,\n DesignDependency,\n ExportSetting"
},
{
"path": "packages/figma-paperclip/src/translate2/context.ts",
"chars": 9742,
"preview": "import { uniq } from \"lodash\";\nimport {\n Config,\n DependencyGraph,\n ExcludeRule,\n OutputFile,\n OutputFileKind,\n Po"
},
{
"path": "packages/figma-paperclip/src/translate2/index.ts",
"chars": 1107,
"preview": "import {\n DependencyGraph,\n DependencyKind,\n getNodeById,\n getNodeDependencyById\n} from \"../state\";\nimport { startFi"
},
{
"path": "packages/figma-paperclip/src/translate2/pages.ts",
"chars": 4067,
"preview": "import { writeFile } from \"fs-extra\";\nimport { kebabCase } from \"lodash\";\nimport { DependencyGraph, DependencyKind, Desi"
},
{
"path": "packages/figma-paperclip/src/translate2/state.ts",
"chars": 5953,
"preview": "import { pick } from \"lodash\";\nimport { memoize } from \"../memo\";\nimport {\n Canvas,\n Config,\n DependencyGraph,\n Depe"
},
{
"path": "packages/figma-paperclip/src/utils.ts",
"chars": 3673,
"preview": "import * as path from \"path\";\nimport * as fsa from \"fs-extra\";\n\nimport * as https from \"https\";\nimport * as chalk from \""
},
{
"path": "packages/figma-paperclip/todos.md",
"chars": 0,
"preview": ""
},
{
"path": "packages/figma-paperclip/tsconfig.json",
"chars": 474,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \"./lib\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n \"module\": \"comm"
},
{
"path": "packages/jest-paperclip/LICENSE",
"chars": 32876,
"preview": "Copyright (C) 2021 Craig Condon\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms"
},
{
"path": "packages/jest-paperclip/package.json",
"chars": 580,
"preview": "{\n \"name\": \"jest-paperclip\",\n \"version\": \"18.5.6\",\n \"description\": \"Jest Paperclip plugin\",\n \"main\": \"lib/index.js\","
},
{
"path": "packages/jest-paperclip/src/index.ts",
"chars": 1493,
"preview": "import * as url from \"url\";\nimport * as fs from \"fs\";\nimport * as babel from \"@babel/core\";\nimport * as path from \"path\""
},
{
"path": "packages/jest-paperclip/tsconfig.json",
"chars": 360,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \"./lib\",\n \"target\": \"es5\",\n \"moduleResolution\": \"node\",\n \"module\": \"comm"
},
{
"path": "packages/paperclip-autocomplete/.eslintrc.json",
"chars": 288,
"preview": "{\n \"root\": true,\n \"parser\": \"@typescript-eslint/parser\",\n \"plugins\": [\"@typescript-eslint\"],\n \"extends\": [\n \"esli"
},
{
"path": "packages/paperclip-autocomplete/LICENSE",
"chars": 32876,
"preview": "Copyright (C) 2021 Craig Condon\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms"
},
{
"path": "packages/paperclip-autocomplete/README.md",
"chars": 500,
"preview": "Internal autocomplete library for Paperclip\n\nDemo:\n```typescript\nimport { getSuggestions } from \"@paperclip-ui/complete\""
},
{
"path": "packages/paperclip-autocomplete/index.d.ts",
"chars": 23,
"preview": "export * from \"./lib\";\n"
},
{
"path": "packages/paperclip-autocomplete/index.js",
"chars": 35,
"preview": "module.exports = require(\"./lib\");\n"
},
{
"path": "packages/paperclip-autocomplete/package.json",
"chars": 755,
"preview": "{\n \"name\": \"@paperclip-ui/autocomplete\",\n \"version\": \"18.5.6\",\n \"description\": \"Internal Autocomplete helper util for"
},
{
"path": "packages/paperclip-autocomplete/src/index.ts",
"chars": 35,
"preview": "export * from \"./suggest-context\";\n"
},
{
"path": "packages/paperclip-autocomplete/src/string-scanner.ts",
"chars": 465,
"preview": "export class StringScanner {\n public pos = 0;\n constructor(readonly source: string) {}\n isEOF() {\n return this.pos"
},
{
"path": "packages/paperclip-autocomplete/src/suggest-context.ts",
"chars": 16160,
"preview": "import { tokenize, TokenScanner, TokenKind } from \"./tokenizer\";\n\nexport enum SuggestContextKind {\n // HTML\n HTML_TAG_"
},
{
"path": "packages/paperclip-autocomplete/src/test/suggest-context-test.ts",
"chars": 10614,
"preview": "import { expect } from \"chai\";\nimport { SuggestContextKind, getSuggestionContext } from \"../suggest-context\";\n\ndescribe("
}
]
// ... and 932 more files (download for full content)
About this extraction
This page contains the full source code of the crcn/paperclip GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1132 files (9.1 MB), approximately 2.4M tokens, and a symbol index with 8103 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.