@openardf/radio-oracle 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jdeploy-bundle/Radio-Oracle-jdeploy.jar +0 -0
- package/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +48 -0
- package/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/brace-expansion/package.json +50 -0
- package/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/chownr/package.json +69 -0
- package/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/concat-map/index.js +13 -0
- package/node_modules/concat-map/package.json +43 -0
- package/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/fs.realpath/LICENSE +43 -0
- package/node_modules/fs.realpath/README.md +33 -0
- package/node_modules/fs.realpath/index.js +66 -0
- package/node_modules/fs.realpath/old.js +303 -0
- package/node_modules/fs.realpath/package.json +26 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/glob/LICENSE +21 -0
- package/node_modules/glob/README.md +378 -0
- package/node_modules/glob/common.js +238 -0
- package/node_modules/glob/glob.js +790 -0
- package/node_modules/glob/package.json +55 -0
- package/node_modules/glob/sync.js +486 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/inflight/LICENSE +15 -0
- package/node_modules/inflight/README.md +37 -0
- package/node_modules/inflight/inflight.js +54 -0
- package/node_modules/inflight/package.json +29 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/interpret/CHANGELOG +115 -0
- package/node_modules/interpret/LICENSE +22 -0
- package/node_modules/interpret/README.md +187 -0
- package/node_modules/interpret/index.js +168 -0
- package/node_modules/interpret/mjs-stub.js +1 -0
- package/node_modules/interpret/package.json +75 -0
- package/node_modules/is-core-module/.eslintrc +18 -0
- package/node_modules/is-core-module/.nycrc +9 -0
- package/node_modules/is-core-module/CHANGELOG.md +349 -0
- package/node_modules/is-core-module/LICENSE +20 -0
- package/node_modules/is-core-module/README.md +40 -0
- package/node_modules/is-core-module/core.json +162 -0
- package/node_modules/is-core-module/index.js +69 -0
- package/node_modules/is-core-module/package.json +76 -0
- package/node_modules/is-core-module/test/index.js +258 -0
- package/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/minimatch/README.md +267 -0
- package/node_modules/minimatch/minimatch.js +1005 -0
- package/node_modules/minimatch/package.json +33 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/minizlib/README.md +64 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/minizlib/package.json +80 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +634 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1777 -0
- package/node_modules/node-fetch/lib/index.js +1787 -0
- package/node_modules/node-fetch/lib/index.mjs +1775 -0
- package/node_modules/node-fetch/package.json +89 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/path-is-absolute/index.js +20 -0
- package/node_modules/path-is-absolute/license +21 -0
- package/node_modules/path-is-absolute/package.json +43 -0
- package/node_modules/path-is-absolute/readme.md +59 -0
- package/node_modules/path-parse/LICENSE +21 -0
- package/node_modules/path-parse/README.md +42 -0
- package/node_modules/path-parse/index.js +75 -0
- package/node_modules/path-parse/package.json +33 -0
- package/node_modules/pend/LICENSE +23 -0
- package/node_modules/pend/README.md +41 -0
- package/node_modules/pend/index.js +55 -0
- package/node_modules/pend/package.json +18 -0
- package/node_modules/pend/test.js +137 -0
- package/node_modules/rechoir/.npmignore +1 -0
- package/node_modules/rechoir/.travis.yml +24 -0
- package/node_modules/rechoir/CHANGELOG +38 -0
- package/node_modules/rechoir/LICENSE +22 -0
- package/node_modules/rechoir/README.md +42 -0
- package/node_modules/rechoir/index.js +59 -0
- package/node_modules/rechoir/lib/extension.js +11 -0
- package/node_modules/rechoir/lib/normalize.js +15 -0
- package/node_modules/rechoir/lib/register.js +15 -0
- package/node_modules/rechoir/package.json +88 -0
- package/node_modules/resolve/.claude/notes.md +26 -0
- package/node_modules/resolve/.claude/settings.local.json +26 -0
- package/node_modules/resolve/.editorconfig +38 -0
- package/node_modules/resolve/.eslintrc +65 -0
- package/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
- package/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
- package/node_modules/resolve/LICENSE +21 -0
- package/node_modules/resolve/SECURITY.md +13 -0
- package/node_modules/resolve/async.js +3 -0
- package/node_modules/resolve/bin/resolve +50 -0
- package/node_modules/resolve/eslint.config.mjs +80 -0
- package/node_modules/resolve/example/async.js +5 -0
- package/node_modules/resolve/example/sync.js +3 -0
- package/node_modules/resolve/index.js +6 -0
- package/node_modules/resolve/lib/async.js +336 -0
- package/node_modules/resolve/lib/caller.js +12 -0
- package/node_modules/resolve/lib/core.js +12 -0
- package/node_modules/resolve/lib/core.json +162 -0
- package/node_modules/resolve/lib/homedir.js +31 -0
- package/node_modules/resolve/lib/is-core.js +5 -0
- package/node_modules/resolve/lib/node-modules-paths.js +45 -0
- package/node_modules/resolve/lib/normalize-options.js +10 -0
- package/node_modules/resolve/lib/sync.js +216 -0
- package/node_modules/resolve/package.json +78 -0
- package/node_modules/resolve/readme.markdown +300 -0
- package/node_modules/resolve/sync.js +3 -0
- package/node_modules/resolve/test/core.js +88 -0
- package/node_modules/resolve/test/default_paths.js +49 -0
- package/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- package/node_modules/resolve/test/dotdot/index.js +1 -0
- package/node_modules/resolve/test/dotdot.js +29 -0
- package/node_modules/resolve/test/faulty_basedir.js +29 -0
- package/node_modules/resolve/test/filter.js +34 -0
- package/node_modules/resolve/test/filter_sync.js +33 -0
- package/node_modules/resolve/test/home_paths.js +127 -0
- package/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/node_modules/resolve/test/homedir.js +112 -0
- package/node_modules/resolve/test/mock.js +353 -0
- package/node_modules/resolve/test/mock_sync.js +234 -0
- package/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- package/node_modules/resolve/test/module_dir.js +56 -0
- package/node_modules/resolve/test/node-modules-paths.js +143 -0
- package/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- package/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path.js +70 -0
- package/node_modules/resolve/test/nonstring.js +9 -0
- package/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/node_modules/resolve/test/pathfilter.js +75 -0
- package/node_modules/resolve/test/pathfilter_sync.js +24 -0
- package/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- package/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- package/node_modules/resolve/test/precedence/aaa.js +1 -0
- package/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- package/node_modules/resolve/test/precedence/bbb.js +1 -0
- package/node_modules/resolve/test/precedence.js +23 -0
- package/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/node_modules/resolve/test/resolver/baz/package.json +4 -0
- package/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- package/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- package/node_modules/resolve/test/resolver/cup.coffee +1 -0
- package/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- package/node_modules/resolve/test/resolver/foo.js +1 -0
- package/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- package/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- package/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/node_modules/resolve/test/resolver/mug.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- package/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- package/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- package/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- package/node_modules/resolve/test/resolver.js +597 -0
- package/node_modules/resolve/test/resolver_sync.js +730 -0
- package/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/node_modules/resolve/test/shadowed_core.js +54 -0
- package/node_modules/resolve/test/subdirs.js +13 -0
- package/node_modules/resolve/test/symlinks.js +176 -0
- package/node_modules/shelljs/CHANGELOG.md +942 -0
- package/node_modules/shelljs/LICENSE +26 -0
- package/node_modules/shelljs/README.md +835 -0
- package/node_modules/shelljs/bin/shjs +48 -0
- package/node_modules/shelljs/commands.js +29 -0
- package/node_modules/shelljs/global.js +12 -0
- package/node_modules/shelljs/make.js +57 -0
- package/node_modules/shelljs/package.json +79 -0
- package/node_modules/shelljs/plugin.js +16 -0
- package/node_modules/shelljs/shell.js +156 -0
- package/node_modules/shelljs/src/cat.js +76 -0
- package/node_modules/shelljs/src/cd.js +39 -0
- package/node_modules/shelljs/src/chmod.js +216 -0
- package/node_modules/shelljs/src/common.js +468 -0
- package/node_modules/shelljs/src/cp.js +304 -0
- package/node_modules/shelljs/src/dirs.js +212 -0
- package/node_modules/shelljs/src/echo.js +63 -0
- package/node_modules/shelljs/src/error.js +15 -0
- package/node_modules/shelljs/src/exec-child.js +39 -0
- package/node_modules/shelljs/src/exec.js +226 -0
- package/node_modules/shelljs/src/find.js +61 -0
- package/node_modules/shelljs/src/grep.js +73 -0
- package/node_modules/shelljs/src/head.js +107 -0
- package/node_modules/shelljs/src/ln.js +73 -0
- package/node_modules/shelljs/src/ls.js +141 -0
- package/node_modules/shelljs/src/mkdir.js +100 -0
- package/node_modules/shelljs/src/mv.js +118 -0
- package/node_modules/shelljs/src/popd.js +1 -0
- package/node_modules/shelljs/src/pushd.js +1 -0
- package/node_modules/shelljs/src/pwd.js +16 -0
- package/node_modules/shelljs/src/rm.js +201 -0
- package/node_modules/shelljs/src/sed.js +87 -0
- package/node_modules/shelljs/src/set.js +56 -0
- package/node_modules/shelljs/src/sort.js +97 -0
- package/node_modules/shelljs/src/tail.js +80 -0
- package/node_modules/shelljs/src/tempdir.js +75 -0
- package/node_modules/shelljs/src/test.js +85 -0
- package/node_modules/shelljs/src/to.js +37 -0
- package/node_modules/shelljs/src/toEnd.js +36 -0
- package/node_modules/shelljs/src/touch.js +111 -0
- package/node_modules/shelljs/src/uniq.js +92 -0
- package/node_modules/shelljs/src/which.js +118 -0
- package/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- package/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/tar/README.md +1224 -0
- package/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/header.js +312 -0
- package/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/list.js +145 -0
- package/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/options.d.ts +596 -0
- package/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.js +545 -0
- package/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts +85 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/parse.js +610 -0
- package/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.js +158 -0
- package/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/types.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/types.js +50 -0
- package/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/header.js +275 -0
- package/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/list.js +105 -0
- package/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/esm/options.d.ts +596 -0
- package/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/tar/dist/esm/pack.d.ts +105 -0
- package/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pack.js +503 -0
- package/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/tar/dist/esm/parse.d.ts +85 -0
- package/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/parse.js +606 -0
- package/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pax.js +154 -0
- package/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/esm/types.d.ts +7 -0
- package/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/types.js +45 -0
- package/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/tar/package.json +297 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +31 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/yallist/README.md +205 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/yallist/package.json +68 -0
- package/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/yauzl/README.md +871 -0
- package/node_modules/yauzl/crc32.js +45 -0
- package/node_modules/yauzl/fd-slicer.js +188 -0
- package/node_modules/yauzl/index.js +970 -0
- package/node_modules/yauzl/package.json +40 -0
- package/package.json +7 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
3
|
+
"name": "glob",
|
|
4
|
+
"description": "a little globber",
|
|
5
|
+
"version": "7.2.3",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"tag": "v7-legacy"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git://github.com/isaacs/node-glob.git"
|
|
12
|
+
},
|
|
13
|
+
"main": "glob.js",
|
|
14
|
+
"files": [
|
|
15
|
+
"glob.js",
|
|
16
|
+
"sync.js",
|
|
17
|
+
"common.js"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": "*"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"fs.realpath": "^1.0.0",
|
|
24
|
+
"inflight": "^1.0.4",
|
|
25
|
+
"inherits": "2",
|
|
26
|
+
"minimatch": "^3.1.1",
|
|
27
|
+
"once": "^1.3.0",
|
|
28
|
+
"path-is-absolute": "^1.0.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"memfs": "^3.2.0",
|
|
32
|
+
"mkdirp": "0",
|
|
33
|
+
"rimraf": "^2.2.8",
|
|
34
|
+
"tap": "^15.0.6",
|
|
35
|
+
"tick": "0.0.6"
|
|
36
|
+
},
|
|
37
|
+
"tap": {
|
|
38
|
+
"before": "test/00-setup.js",
|
|
39
|
+
"after": "test/zz-cleanup.js",
|
|
40
|
+
"jobs": 1
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"prepublish": "npm run benchclean",
|
|
44
|
+
"profclean": "rm -f v8.log profile.txt",
|
|
45
|
+
"test": "tap",
|
|
46
|
+
"test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
|
|
47
|
+
"bench": "bash benchmark.sh",
|
|
48
|
+
"prof": "bash prof.sh && cat profile.txt",
|
|
49
|
+
"benchclean": "node benchclean.js"
|
|
50
|
+
},
|
|
51
|
+
"license": "ISC",
|
|
52
|
+
"funding": {
|
|
53
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
module.exports = globSync
|
|
2
|
+
globSync.GlobSync = GlobSync
|
|
3
|
+
|
|
4
|
+
var rp = require('fs.realpath')
|
|
5
|
+
var minimatch = require('minimatch')
|
|
6
|
+
var Minimatch = minimatch.Minimatch
|
|
7
|
+
var Glob = require('./glob.js').Glob
|
|
8
|
+
var util = require('util')
|
|
9
|
+
var path = require('path')
|
|
10
|
+
var assert = require('assert')
|
|
11
|
+
var isAbsolute = require('path-is-absolute')
|
|
12
|
+
var common = require('./common.js')
|
|
13
|
+
var setopts = common.setopts
|
|
14
|
+
var ownProp = common.ownProp
|
|
15
|
+
var childrenIgnored = common.childrenIgnored
|
|
16
|
+
var isIgnored = common.isIgnored
|
|
17
|
+
|
|
18
|
+
function globSync (pattern, options) {
|
|
19
|
+
if (typeof options === 'function' || arguments.length === 3)
|
|
20
|
+
throw new TypeError('callback provided to sync glob\n'+
|
|
21
|
+
'See: https://github.com/isaacs/node-glob/issues/167')
|
|
22
|
+
|
|
23
|
+
return new GlobSync(pattern, options).found
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function GlobSync (pattern, options) {
|
|
27
|
+
if (!pattern)
|
|
28
|
+
throw new Error('must provide pattern')
|
|
29
|
+
|
|
30
|
+
if (typeof options === 'function' || arguments.length === 3)
|
|
31
|
+
throw new TypeError('callback provided to sync glob\n'+
|
|
32
|
+
'See: https://github.com/isaacs/node-glob/issues/167')
|
|
33
|
+
|
|
34
|
+
if (!(this instanceof GlobSync))
|
|
35
|
+
return new GlobSync(pattern, options)
|
|
36
|
+
|
|
37
|
+
setopts(this, pattern, options)
|
|
38
|
+
|
|
39
|
+
if (this.noprocess)
|
|
40
|
+
return this
|
|
41
|
+
|
|
42
|
+
var n = this.minimatch.set.length
|
|
43
|
+
this.matches = new Array(n)
|
|
44
|
+
for (var i = 0; i < n; i ++) {
|
|
45
|
+
this._process(this.minimatch.set[i], i, false)
|
|
46
|
+
}
|
|
47
|
+
this._finish()
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
GlobSync.prototype._finish = function () {
|
|
51
|
+
assert.ok(this instanceof GlobSync)
|
|
52
|
+
if (this.realpath) {
|
|
53
|
+
var self = this
|
|
54
|
+
this.matches.forEach(function (matchset, index) {
|
|
55
|
+
var set = self.matches[index] = Object.create(null)
|
|
56
|
+
for (var p in matchset) {
|
|
57
|
+
try {
|
|
58
|
+
p = self._makeAbs(p)
|
|
59
|
+
var real = rp.realpathSync(p, self.realpathCache)
|
|
60
|
+
set[real] = true
|
|
61
|
+
} catch (er) {
|
|
62
|
+
if (er.syscall === 'stat')
|
|
63
|
+
set[self._makeAbs(p)] = true
|
|
64
|
+
else
|
|
65
|
+
throw er
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
}
|
|
70
|
+
common.finish(this)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
GlobSync.prototype._process = function (pattern, index, inGlobStar) {
|
|
75
|
+
assert.ok(this instanceof GlobSync)
|
|
76
|
+
|
|
77
|
+
// Get the first [n] parts of pattern that are all strings.
|
|
78
|
+
var n = 0
|
|
79
|
+
while (typeof pattern[n] === 'string') {
|
|
80
|
+
n ++
|
|
81
|
+
}
|
|
82
|
+
// now n is the index of the first one that is *not* a string.
|
|
83
|
+
|
|
84
|
+
// See if there's anything else
|
|
85
|
+
var prefix
|
|
86
|
+
switch (n) {
|
|
87
|
+
// if not, then this is rather simple
|
|
88
|
+
case pattern.length:
|
|
89
|
+
this._processSimple(pattern.join('/'), index)
|
|
90
|
+
return
|
|
91
|
+
|
|
92
|
+
case 0:
|
|
93
|
+
// pattern *starts* with some non-trivial item.
|
|
94
|
+
// going to readdir(cwd), but not include the prefix in matches.
|
|
95
|
+
prefix = null
|
|
96
|
+
break
|
|
97
|
+
|
|
98
|
+
default:
|
|
99
|
+
// pattern has some string bits in the front.
|
|
100
|
+
// whatever it starts with, whether that's 'absolute' like /foo/bar,
|
|
101
|
+
// or 'relative' like '../baz'
|
|
102
|
+
prefix = pattern.slice(0, n).join('/')
|
|
103
|
+
break
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
var remain = pattern.slice(n)
|
|
107
|
+
|
|
108
|
+
// get the list of entries.
|
|
109
|
+
var read
|
|
110
|
+
if (prefix === null)
|
|
111
|
+
read = '.'
|
|
112
|
+
else if (isAbsolute(prefix) ||
|
|
113
|
+
isAbsolute(pattern.map(function (p) {
|
|
114
|
+
return typeof p === 'string' ? p : '[*]'
|
|
115
|
+
}).join('/'))) {
|
|
116
|
+
if (!prefix || !isAbsolute(prefix))
|
|
117
|
+
prefix = '/' + prefix
|
|
118
|
+
read = prefix
|
|
119
|
+
} else
|
|
120
|
+
read = prefix
|
|
121
|
+
|
|
122
|
+
var abs = this._makeAbs(read)
|
|
123
|
+
|
|
124
|
+
//if ignored, skip processing
|
|
125
|
+
if (childrenIgnored(this, read))
|
|
126
|
+
return
|
|
127
|
+
|
|
128
|
+
var isGlobStar = remain[0] === minimatch.GLOBSTAR
|
|
129
|
+
if (isGlobStar)
|
|
130
|
+
this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
|
|
131
|
+
else
|
|
132
|
+
this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
|
|
137
|
+
var entries = this._readdir(abs, inGlobStar)
|
|
138
|
+
|
|
139
|
+
// if the abs isn't a dir, then nothing can match!
|
|
140
|
+
if (!entries)
|
|
141
|
+
return
|
|
142
|
+
|
|
143
|
+
// It will only match dot entries if it starts with a dot, or if
|
|
144
|
+
// dot is set. Stuff like @(.foo|.bar) isn't allowed.
|
|
145
|
+
var pn = remain[0]
|
|
146
|
+
var negate = !!this.minimatch.negate
|
|
147
|
+
var rawGlob = pn._glob
|
|
148
|
+
var dotOk = this.dot || rawGlob.charAt(0) === '.'
|
|
149
|
+
|
|
150
|
+
var matchedEntries = []
|
|
151
|
+
for (var i = 0; i < entries.length; i++) {
|
|
152
|
+
var e = entries[i]
|
|
153
|
+
if (e.charAt(0) !== '.' || dotOk) {
|
|
154
|
+
var m
|
|
155
|
+
if (negate && !prefix) {
|
|
156
|
+
m = !e.match(pn)
|
|
157
|
+
} else {
|
|
158
|
+
m = e.match(pn)
|
|
159
|
+
}
|
|
160
|
+
if (m)
|
|
161
|
+
matchedEntries.push(e)
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
var len = matchedEntries.length
|
|
166
|
+
// If there are no matched entries, then nothing matches.
|
|
167
|
+
if (len === 0)
|
|
168
|
+
return
|
|
169
|
+
|
|
170
|
+
// if this is the last remaining pattern bit, then no need for
|
|
171
|
+
// an additional stat *unless* the user has specified mark or
|
|
172
|
+
// stat explicitly. We know they exist, since readdir returned
|
|
173
|
+
// them.
|
|
174
|
+
|
|
175
|
+
if (remain.length === 1 && !this.mark && !this.stat) {
|
|
176
|
+
if (!this.matches[index])
|
|
177
|
+
this.matches[index] = Object.create(null)
|
|
178
|
+
|
|
179
|
+
for (var i = 0; i < len; i ++) {
|
|
180
|
+
var e = matchedEntries[i]
|
|
181
|
+
if (prefix) {
|
|
182
|
+
if (prefix.slice(-1) !== '/')
|
|
183
|
+
e = prefix + '/' + e
|
|
184
|
+
else
|
|
185
|
+
e = prefix + e
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
if (e.charAt(0) === '/' && !this.nomount) {
|
|
189
|
+
e = path.join(this.root, e)
|
|
190
|
+
}
|
|
191
|
+
this._emitMatch(index, e)
|
|
192
|
+
}
|
|
193
|
+
// This was the last one, and no stats were needed
|
|
194
|
+
return
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// now test all matched entries as stand-ins for that part
|
|
198
|
+
// of the pattern.
|
|
199
|
+
remain.shift()
|
|
200
|
+
for (var i = 0; i < len; i ++) {
|
|
201
|
+
var e = matchedEntries[i]
|
|
202
|
+
var newPattern
|
|
203
|
+
if (prefix)
|
|
204
|
+
newPattern = [prefix, e]
|
|
205
|
+
else
|
|
206
|
+
newPattern = [e]
|
|
207
|
+
this._process(newPattern.concat(remain), index, inGlobStar)
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
GlobSync.prototype._emitMatch = function (index, e) {
|
|
213
|
+
if (isIgnored(this, e))
|
|
214
|
+
return
|
|
215
|
+
|
|
216
|
+
var abs = this._makeAbs(e)
|
|
217
|
+
|
|
218
|
+
if (this.mark)
|
|
219
|
+
e = this._mark(e)
|
|
220
|
+
|
|
221
|
+
if (this.absolute) {
|
|
222
|
+
e = abs
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (this.matches[index][e])
|
|
226
|
+
return
|
|
227
|
+
|
|
228
|
+
if (this.nodir) {
|
|
229
|
+
var c = this.cache[abs]
|
|
230
|
+
if (c === 'DIR' || Array.isArray(c))
|
|
231
|
+
return
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
this.matches[index][e] = true
|
|
235
|
+
|
|
236
|
+
if (this.stat)
|
|
237
|
+
this._stat(e)
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
GlobSync.prototype._readdirInGlobStar = function (abs) {
|
|
242
|
+
// follow all symlinked directories forever
|
|
243
|
+
// just proceed as if this is a non-globstar situation
|
|
244
|
+
if (this.follow)
|
|
245
|
+
return this._readdir(abs, false)
|
|
246
|
+
|
|
247
|
+
var entries
|
|
248
|
+
var lstat
|
|
249
|
+
var stat
|
|
250
|
+
try {
|
|
251
|
+
lstat = this.fs.lstatSync(abs)
|
|
252
|
+
} catch (er) {
|
|
253
|
+
if (er.code === 'ENOENT') {
|
|
254
|
+
// lstat failed, doesn't exist
|
|
255
|
+
return null
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
var isSym = lstat && lstat.isSymbolicLink()
|
|
260
|
+
this.symlinks[abs] = isSym
|
|
261
|
+
|
|
262
|
+
// If it's not a symlink or a dir, then it's definitely a regular file.
|
|
263
|
+
// don't bother doing a readdir in that case.
|
|
264
|
+
if (!isSym && lstat && !lstat.isDirectory())
|
|
265
|
+
this.cache[abs] = 'FILE'
|
|
266
|
+
else
|
|
267
|
+
entries = this._readdir(abs, false)
|
|
268
|
+
|
|
269
|
+
return entries
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
GlobSync.prototype._readdir = function (abs, inGlobStar) {
|
|
273
|
+
var entries
|
|
274
|
+
|
|
275
|
+
if (inGlobStar && !ownProp(this.symlinks, abs))
|
|
276
|
+
return this._readdirInGlobStar(abs)
|
|
277
|
+
|
|
278
|
+
if (ownProp(this.cache, abs)) {
|
|
279
|
+
var c = this.cache[abs]
|
|
280
|
+
if (!c || c === 'FILE')
|
|
281
|
+
return null
|
|
282
|
+
|
|
283
|
+
if (Array.isArray(c))
|
|
284
|
+
return c
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
try {
|
|
288
|
+
return this._readdirEntries(abs, this.fs.readdirSync(abs))
|
|
289
|
+
} catch (er) {
|
|
290
|
+
this._readdirError(abs, er)
|
|
291
|
+
return null
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
GlobSync.prototype._readdirEntries = function (abs, entries) {
|
|
296
|
+
// if we haven't asked to stat everything, then just
|
|
297
|
+
// assume that everything in there exists, so we can avoid
|
|
298
|
+
// having to stat it a second time.
|
|
299
|
+
if (!this.mark && !this.stat) {
|
|
300
|
+
for (var i = 0; i < entries.length; i ++) {
|
|
301
|
+
var e = entries[i]
|
|
302
|
+
if (abs === '/')
|
|
303
|
+
e = abs + e
|
|
304
|
+
else
|
|
305
|
+
e = abs + '/' + e
|
|
306
|
+
this.cache[e] = true
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
this.cache[abs] = entries
|
|
311
|
+
|
|
312
|
+
// mark and cache dir-ness
|
|
313
|
+
return entries
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
GlobSync.prototype._readdirError = function (f, er) {
|
|
317
|
+
// handle errors, and cache the information
|
|
318
|
+
switch (er.code) {
|
|
319
|
+
case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
|
|
320
|
+
case 'ENOTDIR': // totally normal. means it *does* exist.
|
|
321
|
+
var abs = this._makeAbs(f)
|
|
322
|
+
this.cache[abs] = 'FILE'
|
|
323
|
+
if (abs === this.cwdAbs) {
|
|
324
|
+
var error = new Error(er.code + ' invalid cwd ' + this.cwd)
|
|
325
|
+
error.path = this.cwd
|
|
326
|
+
error.code = er.code
|
|
327
|
+
throw error
|
|
328
|
+
}
|
|
329
|
+
break
|
|
330
|
+
|
|
331
|
+
case 'ENOENT': // not terribly unusual
|
|
332
|
+
case 'ELOOP':
|
|
333
|
+
case 'ENAMETOOLONG':
|
|
334
|
+
case 'UNKNOWN':
|
|
335
|
+
this.cache[this._makeAbs(f)] = false
|
|
336
|
+
break
|
|
337
|
+
|
|
338
|
+
default: // some unusual error. Treat as failure.
|
|
339
|
+
this.cache[this._makeAbs(f)] = false
|
|
340
|
+
if (this.strict)
|
|
341
|
+
throw er
|
|
342
|
+
if (!this.silent)
|
|
343
|
+
console.error('glob error', er)
|
|
344
|
+
break
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
|
|
349
|
+
|
|
350
|
+
var entries = this._readdir(abs, inGlobStar)
|
|
351
|
+
|
|
352
|
+
// no entries means not a dir, so it can never have matches
|
|
353
|
+
// foo.txt/** doesn't match foo.txt
|
|
354
|
+
if (!entries)
|
|
355
|
+
return
|
|
356
|
+
|
|
357
|
+
// test without the globstar, and with every child both below
|
|
358
|
+
// and replacing the globstar.
|
|
359
|
+
var remainWithoutGlobStar = remain.slice(1)
|
|
360
|
+
var gspref = prefix ? [ prefix ] : []
|
|
361
|
+
var noGlobStar = gspref.concat(remainWithoutGlobStar)
|
|
362
|
+
|
|
363
|
+
// the noGlobStar pattern exits the inGlobStar state
|
|
364
|
+
this._process(noGlobStar, index, false)
|
|
365
|
+
|
|
366
|
+
var len = entries.length
|
|
367
|
+
var isSym = this.symlinks[abs]
|
|
368
|
+
|
|
369
|
+
// If it's a symlink, and we're in a globstar, then stop
|
|
370
|
+
if (isSym && inGlobStar)
|
|
371
|
+
return
|
|
372
|
+
|
|
373
|
+
for (var i = 0; i < len; i++) {
|
|
374
|
+
var e = entries[i]
|
|
375
|
+
if (e.charAt(0) === '.' && !this.dot)
|
|
376
|
+
continue
|
|
377
|
+
|
|
378
|
+
// these two cases enter the inGlobStar state
|
|
379
|
+
var instead = gspref.concat(entries[i], remainWithoutGlobStar)
|
|
380
|
+
this._process(instead, index, true)
|
|
381
|
+
|
|
382
|
+
var below = gspref.concat(entries[i], remain)
|
|
383
|
+
this._process(below, index, true)
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
GlobSync.prototype._processSimple = function (prefix, index) {
|
|
388
|
+
// XXX review this. Shouldn't it be doing the mounting etc
|
|
389
|
+
// before doing stat? kinda weird?
|
|
390
|
+
var exists = this._stat(prefix)
|
|
391
|
+
|
|
392
|
+
if (!this.matches[index])
|
|
393
|
+
this.matches[index] = Object.create(null)
|
|
394
|
+
|
|
395
|
+
// If it doesn't exist, then just mark the lack of results
|
|
396
|
+
if (!exists)
|
|
397
|
+
return
|
|
398
|
+
|
|
399
|
+
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
|
400
|
+
var trail = /[\/\\]$/.test(prefix)
|
|
401
|
+
if (prefix.charAt(0) === '/') {
|
|
402
|
+
prefix = path.join(this.root, prefix)
|
|
403
|
+
} else {
|
|
404
|
+
prefix = path.resolve(this.root, prefix)
|
|
405
|
+
if (trail)
|
|
406
|
+
prefix += '/'
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (process.platform === 'win32')
|
|
411
|
+
prefix = prefix.replace(/\\/g, '/')
|
|
412
|
+
|
|
413
|
+
// Mark this as a match
|
|
414
|
+
this._emitMatch(index, prefix)
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// Returns either 'DIR', 'FILE', or false
|
|
418
|
+
GlobSync.prototype._stat = function (f) {
|
|
419
|
+
var abs = this._makeAbs(f)
|
|
420
|
+
var needDir = f.slice(-1) === '/'
|
|
421
|
+
|
|
422
|
+
if (f.length > this.maxLength)
|
|
423
|
+
return false
|
|
424
|
+
|
|
425
|
+
if (!this.stat && ownProp(this.cache, abs)) {
|
|
426
|
+
var c = this.cache[abs]
|
|
427
|
+
|
|
428
|
+
if (Array.isArray(c))
|
|
429
|
+
c = 'DIR'
|
|
430
|
+
|
|
431
|
+
// It exists, but maybe not how we need it
|
|
432
|
+
if (!needDir || c === 'DIR')
|
|
433
|
+
return c
|
|
434
|
+
|
|
435
|
+
if (needDir && c === 'FILE')
|
|
436
|
+
return false
|
|
437
|
+
|
|
438
|
+
// otherwise we have to stat, because maybe c=true
|
|
439
|
+
// if we know it exists, but not what it is.
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
var exists
|
|
443
|
+
var stat = this.statCache[abs]
|
|
444
|
+
if (!stat) {
|
|
445
|
+
var lstat
|
|
446
|
+
try {
|
|
447
|
+
lstat = this.fs.lstatSync(abs)
|
|
448
|
+
} catch (er) {
|
|
449
|
+
if (er && (er.code === 'ENOENT' || er.code === 'ENOTDIR')) {
|
|
450
|
+
this.statCache[abs] = false
|
|
451
|
+
return false
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
if (lstat && lstat.isSymbolicLink()) {
|
|
456
|
+
try {
|
|
457
|
+
stat = this.fs.statSync(abs)
|
|
458
|
+
} catch (er) {
|
|
459
|
+
stat = lstat
|
|
460
|
+
}
|
|
461
|
+
} else {
|
|
462
|
+
stat = lstat
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
this.statCache[abs] = stat
|
|
467
|
+
|
|
468
|
+
var c = true
|
|
469
|
+
if (stat)
|
|
470
|
+
c = stat.isDirectory() ? 'DIR' : 'FILE'
|
|
471
|
+
|
|
472
|
+
this.cache[abs] = this.cache[abs] || c
|
|
473
|
+
|
|
474
|
+
if (needDir && c === 'FILE')
|
|
475
|
+
return false
|
|
476
|
+
|
|
477
|
+
return c
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
GlobSync.prototype._mark = function (p) {
|
|
481
|
+
return common.mark(this, p)
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
GlobSync.prototype._makeAbs = function (f) {
|
|
485
|
+
return common.makeAbs(this, f)
|
|
486
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: [ljharb]
|
|
4
|
+
patreon: # Replace with a single Patreon username
|
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
|
7
|
+
tidelift: npm/hasown
|
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
|
11
|
+
otechie: # Replace with a single Otechie username
|
|
12
|
+
custom: # Replace with a single custom sponsorship URL
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30)
|
|
14
|
+
|
|
15
|
+
## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17
|
|
16
|
+
|
|
17
|
+
### Commits
|
|
18
|
+
|
|
19
|
+
- [actions] update workflows [`fb837b8`](https://github.com/inspect-js/hasOwn/commit/fb837b849bcdb8416fdc8fd344edfacd5574696c)
|
|
20
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `eslint`, `mock-property`, `npmignore`, `tape` [`f4b279b`](https://github.com/inspect-js/hasOwn/commit/f4b279bd682be34b3f0ede2a58d4e8acb58d6d47)
|
|
21
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`7e415ce`](https://github.com/inspect-js/hasOwn/commit/7e415cee55ebf43b3c34d7fd86db73a9928b05f7)
|
|
22
|
+
- [Dev Deps] update `eslint` [`ef313da`](https://github.com/inspect-js/hasOwn/commit/ef313da342d33b60e23e738b9f5a86f6065f39ef)
|
|
23
|
+
- [meta] use `npm audit` instead of `aud` [`d5c6d4d`](https://github.com/inspect-js/hasOwn/commit/d5c6d4d7a19c6ca4f14ac173b30d8bf25abcabee)
|
|
24
|
+
- [types] add overload that narrows the key [`cc03a09`](https://github.com/inspect-js/hasOwn/commit/cc03a097e9402fb8b86d413050e67f790dd6c8c5)
|
|
25
|
+
|
|
26
|
+
## [v2.0.2](https://github.com/inspect-js/hasOwn/compare/v2.0.1...v2.0.2) - 2024-03-10
|
|
27
|
+
|
|
28
|
+
### Commits
|
|
29
|
+
|
|
30
|
+
- [types] use shared config [`68e9d4d`](https://github.com/inspect-js/hasOwn/commit/68e9d4dab6facb4f05f02c6baea94a3f2a4e44b2)
|
|
31
|
+
- [actions] remove redundant finisher; use reusable workflow [`241a68e`](https://github.com/inspect-js/hasOwn/commit/241a68e13ea1fe52bec5ba7f74144befc31fae7b)
|
|
32
|
+
- [Tests] increase coverage [`4125c0d`](https://github.com/inspect-js/hasOwn/commit/4125c0d6121db56ae30e38346dfb0c000b04f0a7)
|
|
33
|
+
- [Tests] skip `npm ls` in old node due to TS [`01b9282`](https://github.com/inspect-js/hasOwn/commit/01b92822f9971dea031eafdd14767df41d61c202)
|
|
34
|
+
- [types] improve predicate type [`d340f85`](https://github.com/inspect-js/hasOwn/commit/d340f85ce02e286ef61096cbbb6697081d40a12b)
|
|
35
|
+
- [Dev Deps] update `tape` [`70089fc`](https://github.com/inspect-js/hasOwn/commit/70089fcf544e64acc024cbe60f5a9b00acad86de)
|
|
36
|
+
- [Tests] use `@arethetypeswrong/cli` [`50b272c`](https://github.com/inspect-js/hasOwn/commit/50b272c829f40d053a3dd91c9796e0ac0b2af084)
|
|
37
|
+
|
|
38
|
+
## [v2.0.1](https://github.com/inspect-js/hasOwn/compare/v2.0.0...v2.0.1) - 2024-02-10
|
|
39
|
+
|
|
40
|
+
### Commits
|
|
41
|
+
|
|
42
|
+
- [types] use a handwritten d.ts file; fix exported type [`012b989`](https://github.com/inspect-js/hasOwn/commit/012b9898ccf91dc441e2ebf594ff70270a5fda58)
|
|
43
|
+
- [Dev Deps] update `@types/function-bind`, `@types/mock-property`, `@types/tape`, `aud`, `mock-property`, `npmignore`, `tape`, `typescript` [`977a56f`](https://github.com/inspect-js/hasOwn/commit/977a56f51a1f8b20566f3c471612137894644025)
|
|
44
|
+
- [meta] add `sideEffects` flag [`3a60b7b`](https://github.com/inspect-js/hasOwn/commit/3a60b7bf42fccd8c605e5f145a6fcc83b13cb46f)
|
|
45
|
+
|
|
46
|
+
## [v2.0.0](https://github.com/inspect-js/hasOwn/compare/v1.0.1...v2.0.0) - 2023-10-19
|
|
47
|
+
|
|
48
|
+
### Commits
|
|
49
|
+
|
|
50
|
+
- revamped implementation, tests, readme [`72bf8b3`](https://github.com/inspect-js/hasOwn/commit/72bf8b338e77a638f0a290c63ffaed18339c36b4)
|
|
51
|
+
- [meta] revamp package.json [`079775f`](https://github.com/inspect-js/hasOwn/commit/079775fb1ec72c1c6334069593617a0be3847458)
|
|
52
|
+
- Only apps should have lockfiles [`6640e23`](https://github.com/inspect-js/hasOwn/commit/6640e233d1bb8b65260880f90787637db157d215)
|
|
53
|
+
|
|
54
|
+
## v1.0.1 - 2023-10-10
|
|
55
|
+
|
|
56
|
+
### Commits
|
|
57
|
+
|
|
58
|
+
- Initial commit [`8dbfde6`](https://github.com/inspect-js/hasOwn/commit/8dbfde6e8fb0ebb076fab38d138f2984eb340a62)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Jordan Harband and contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# hasown <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
|
2
|
+
|
|
3
|
+
[![github actions][actions-image]][actions-url]
|
|
4
|
+
[![coverage][codecov-image]][codecov-url]
|
|
5
|
+
[![License][license-image]][license-url]
|
|
6
|
+
[![Downloads][downloads-image]][downloads-url]
|
|
7
|
+
|
|
8
|
+
[![npm badge][npm-badge-png]][package-url]
|
|
9
|
+
|
|
10
|
+
A robust, ES3 compatible, "has own property" predicate.
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
const assert = require('assert');
|
|
16
|
+
const hasOwn = require('hasown');
|
|
17
|
+
|
|
18
|
+
assert.equal(hasOwn({}, 'toString'), false);
|
|
19
|
+
assert.equal(hasOwn([], 'length'), true);
|
|
20
|
+
assert.equal(hasOwn({ a: 42 }, 'a'), true);
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Tests
|
|
24
|
+
Simply clone the repo, `npm install`, and run `npm test`
|
|
25
|
+
|
|
26
|
+
[package-url]: https://npmjs.org/package/hasown
|
|
27
|
+
[npm-version-svg]: https://versionbadg.es/inspect-js/hasown.svg
|
|
28
|
+
[deps-svg]: https://david-dm.org/inspect-js/hasOwn.svg
|
|
29
|
+
[deps-url]: https://david-dm.org/inspect-js/hasOwn
|
|
30
|
+
[dev-deps-svg]: https://david-dm.org/inspect-js/hasOwn/dev-status.svg
|
|
31
|
+
[dev-deps-url]: https://david-dm.org/inspect-js/hasOwn#info=devDependencies
|
|
32
|
+
[npm-badge-png]: https://nodei.co/npm/hasown.png?downloads=true&stars=true
|
|
33
|
+
[license-image]: https://img.shields.io/npm/l/hasown.svg
|
|
34
|
+
[license-url]: LICENSE
|
|
35
|
+
[downloads-image]: https://img.shields.io/npm/dm/hasown.svg
|
|
36
|
+
[downloads-url]: https://npm-stat.com/charts.html?package=hasown
|
|
37
|
+
[codecov-image]: https://codecov.io/gh/inspect-js/hasOwn/branch/main/graphs/badge.svg
|
|
38
|
+
[codecov-url]: https://app.codecov.io/gh/inspect-js/hasOwn/
|
|
39
|
+
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/hasOwn
|
|
40
|
+
[actions-url]: https://github.com/inspect-js/hasOwn/actions
|