@happier-dev/relay-server 0.2.6-dev.1778098335.1 → 0.2.11-preview.3
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/bin/happier-server.mjs +13 -21
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts +38 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js +1123 -0
- package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/dist/assets.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/github.js +17 -15
- package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.js +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +3 -2
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +5 -0
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -1
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/README.md +1233 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js +348 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js +153 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts +604 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js +544 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js +655 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js +182 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts +16 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js +70 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js +311 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js +113 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts +604 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts +105 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js +502 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts +92 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js +651 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js +178 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts +16 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js +65 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/README.md +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/package.json +69 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/README.md +64 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/README.md +825 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +82 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/package.json +80 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/README.md +205 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/package.json +68 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/tar/package.json +298 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/README.md +72 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.js +273 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.min.js +6 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/package.json +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/types.d.ts +3 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/README.md +658 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/index.js +796 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/LICENSE +19 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/README.md +47 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/index.js +111 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/package.json +39 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.npmignore +2 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.travis.yml +7 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/CHANGELOG.md +49 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/LICENSE +21 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/README.md +199 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js +296 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/LICENSE +23 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/README.md +41 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/index.js +55 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/package.json +18 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/test.js +137 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/package.json +36 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/test/test.js +350 -0
- package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/package.json +40 -0
- package/node_modules/@happier-dev/release-runtime/package.json +8 -3
- package/node_modules/@happier-dev/release-runtime/releaseRings.cjs +204 -0
- package/package.json +1 -1
- package/src/archiveCache.mjs +25 -0
- package/src/archiveCache.test.mjs +82 -0
- package/src/runnerConfig.mjs +1 -1
- package/src/runnerConfig.test.mjs +3 -3
- package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +0 -134
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts +0 -14
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +0 -48
- package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +0 -1
- package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +0 -134
package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
var fs = require('fs');
|
|
2
|
+
var util = require('util');
|
|
3
|
+
var stream = require('stream');
|
|
4
|
+
var Readable = stream.Readable;
|
|
5
|
+
var Writable = stream.Writable;
|
|
6
|
+
var PassThrough = stream.PassThrough;
|
|
7
|
+
var Pend = require('pend');
|
|
8
|
+
var EventEmitter = require('events').EventEmitter;
|
|
9
|
+
|
|
10
|
+
exports.createFromBuffer = createFromBuffer;
|
|
11
|
+
exports.createFromFd = createFromFd;
|
|
12
|
+
exports.BufferSlicer = BufferSlicer;
|
|
13
|
+
exports.FdSlicer = FdSlicer;
|
|
14
|
+
|
|
15
|
+
util.inherits(FdSlicer, EventEmitter);
|
|
16
|
+
function FdSlicer(fd, options) {
|
|
17
|
+
options = options || {};
|
|
18
|
+
EventEmitter.call(this);
|
|
19
|
+
|
|
20
|
+
this.fd = fd;
|
|
21
|
+
this.pend = new Pend();
|
|
22
|
+
this.pend.max = 1;
|
|
23
|
+
this.refCount = 0;
|
|
24
|
+
this.autoClose = !!options.autoClose;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
|
|
28
|
+
var self = this;
|
|
29
|
+
self.pend.go(function(cb) {
|
|
30
|
+
fs.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
|
|
31
|
+
cb();
|
|
32
|
+
callback(err, bytesRead, buffer);
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
|
|
38
|
+
var self = this;
|
|
39
|
+
self.pend.go(function(cb) {
|
|
40
|
+
fs.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
|
|
41
|
+
cb();
|
|
42
|
+
callback(err, written, buffer);
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
FdSlicer.prototype.createReadStream = function(options) {
|
|
48
|
+
return new ReadStream(this, options);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
FdSlicer.prototype.createWriteStream = function(options) {
|
|
52
|
+
return new WriteStream(this, options);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
FdSlicer.prototype.ref = function() {
|
|
56
|
+
this.refCount += 1;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
FdSlicer.prototype.unref = function() {
|
|
60
|
+
var self = this;
|
|
61
|
+
self.refCount -= 1;
|
|
62
|
+
|
|
63
|
+
if (self.refCount > 0) return;
|
|
64
|
+
if (self.refCount < 0) throw new Error("invalid unref");
|
|
65
|
+
|
|
66
|
+
if (self.autoClose) {
|
|
67
|
+
fs.close(self.fd, onCloseDone);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function onCloseDone(err) {
|
|
71
|
+
if (err) {
|
|
72
|
+
self.emit('error', err);
|
|
73
|
+
} else {
|
|
74
|
+
self.emit('close');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
util.inherits(ReadStream, Readable);
|
|
80
|
+
function ReadStream(context, options) {
|
|
81
|
+
options = options || {};
|
|
82
|
+
Readable.call(this, options);
|
|
83
|
+
|
|
84
|
+
this.context = context;
|
|
85
|
+
this.context.ref();
|
|
86
|
+
|
|
87
|
+
this.start = options.start || 0;
|
|
88
|
+
this.endOffset = options.end;
|
|
89
|
+
this.pos = this.start;
|
|
90
|
+
this.destroyed = false;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
ReadStream.prototype._read = function(n) {
|
|
94
|
+
var self = this;
|
|
95
|
+
if (self.destroyed) return;
|
|
96
|
+
|
|
97
|
+
var toRead = Math.min(self._readableState.highWaterMark, n);
|
|
98
|
+
if (self.endOffset != null) {
|
|
99
|
+
toRead = Math.min(toRead, self.endOffset - self.pos);
|
|
100
|
+
}
|
|
101
|
+
if (toRead <= 0) {
|
|
102
|
+
self.destroyed = true;
|
|
103
|
+
self.push(null);
|
|
104
|
+
self.context.unref();
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
self.context.pend.go(function(cb) {
|
|
108
|
+
if (self.destroyed) return cb();
|
|
109
|
+
var buffer = new Buffer(toRead);
|
|
110
|
+
fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
|
111
|
+
if (err) {
|
|
112
|
+
self.destroy(err);
|
|
113
|
+
} else if (bytesRead === 0) {
|
|
114
|
+
self.destroyed = true;
|
|
115
|
+
self.push(null);
|
|
116
|
+
self.context.unref();
|
|
117
|
+
} else {
|
|
118
|
+
self.pos += bytesRead;
|
|
119
|
+
self.push(buffer.slice(0, bytesRead));
|
|
120
|
+
}
|
|
121
|
+
cb();
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
ReadStream.prototype.destroy = function(err) {
|
|
127
|
+
if (this.destroyed) return;
|
|
128
|
+
err = err || new Error("stream destroyed");
|
|
129
|
+
this.destroyed = true;
|
|
130
|
+
this.emit('error', err);
|
|
131
|
+
this.context.unref();
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
util.inherits(WriteStream, Writable);
|
|
135
|
+
function WriteStream(context, options) {
|
|
136
|
+
options = options || {};
|
|
137
|
+
Writable.call(this, options);
|
|
138
|
+
|
|
139
|
+
this.context = context;
|
|
140
|
+
this.context.ref();
|
|
141
|
+
|
|
142
|
+
this.start = options.start || 0;
|
|
143
|
+
this.endOffset = (options.end == null) ? Infinity : +options.end;
|
|
144
|
+
this.bytesWritten = 0;
|
|
145
|
+
this.pos = this.start;
|
|
146
|
+
this.destroyed = false;
|
|
147
|
+
|
|
148
|
+
this.on('finish', this.destroy.bind(this));
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
WriteStream.prototype._write = function(buffer, encoding, callback) {
|
|
152
|
+
var self = this;
|
|
153
|
+
if (self.destroyed) return;
|
|
154
|
+
|
|
155
|
+
if (self.pos + buffer.length > self.endOffset) {
|
|
156
|
+
var err = new Error("maximum file length exceeded");
|
|
157
|
+
err.code = 'ETOOBIG';
|
|
158
|
+
self.destroy();
|
|
159
|
+
callback(err);
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
self.context.pend.go(function(cb) {
|
|
163
|
+
if (self.destroyed) return cb();
|
|
164
|
+
fs.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
|
|
165
|
+
if (err) {
|
|
166
|
+
self.destroy();
|
|
167
|
+
cb();
|
|
168
|
+
callback(err);
|
|
169
|
+
} else {
|
|
170
|
+
self.bytesWritten += bytes;
|
|
171
|
+
self.pos += bytes;
|
|
172
|
+
self.emit('progress');
|
|
173
|
+
cb();
|
|
174
|
+
callback();
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
WriteStream.prototype.destroy = function() {
|
|
181
|
+
if (this.destroyed) return;
|
|
182
|
+
this.destroyed = true;
|
|
183
|
+
this.context.unref();
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
util.inherits(BufferSlicer, EventEmitter);
|
|
187
|
+
function BufferSlicer(buffer, options) {
|
|
188
|
+
EventEmitter.call(this);
|
|
189
|
+
|
|
190
|
+
options = options || {};
|
|
191
|
+
this.refCount = 0;
|
|
192
|
+
this.buffer = buffer;
|
|
193
|
+
this.maxChunkSize = options.maxChunkSize || Number.MAX_SAFE_INTEGER;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
BufferSlicer.prototype.read = function(buffer, offset, length, position, callback) {
|
|
197
|
+
var end = position + length;
|
|
198
|
+
var delta = end - this.buffer.length;
|
|
199
|
+
var written = (delta > 0) ? delta : length;
|
|
200
|
+
this.buffer.copy(buffer, offset, position, end);
|
|
201
|
+
setImmediate(function() {
|
|
202
|
+
callback(null, written);
|
|
203
|
+
});
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
BufferSlicer.prototype.write = function(buffer, offset, length, position, callback) {
|
|
207
|
+
buffer.copy(this.buffer, position, offset, offset + length);
|
|
208
|
+
setImmediate(function() {
|
|
209
|
+
callback(null, length, buffer);
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
BufferSlicer.prototype.createReadStream = function(options) {
|
|
214
|
+
options = options || {};
|
|
215
|
+
var readStream = new PassThrough(options);
|
|
216
|
+
readStream.destroyed = false;
|
|
217
|
+
readStream.start = options.start || 0;
|
|
218
|
+
readStream.endOffset = options.end;
|
|
219
|
+
// by the time this function returns, we'll be done.
|
|
220
|
+
readStream.pos = readStream.endOffset || this.buffer.length;
|
|
221
|
+
|
|
222
|
+
// respect the maxChunkSize option to slice up the chunk into smaller pieces.
|
|
223
|
+
var entireSlice = this.buffer.slice(readStream.start, readStream.pos);
|
|
224
|
+
var offset = 0;
|
|
225
|
+
while (true) {
|
|
226
|
+
var nextOffset = offset + this.maxChunkSize;
|
|
227
|
+
if (nextOffset >= entireSlice.length) {
|
|
228
|
+
// last chunk
|
|
229
|
+
if (offset < entireSlice.length) {
|
|
230
|
+
readStream.write(entireSlice.slice(offset, entireSlice.length));
|
|
231
|
+
}
|
|
232
|
+
break;
|
|
233
|
+
}
|
|
234
|
+
readStream.write(entireSlice.slice(offset, nextOffset));
|
|
235
|
+
offset = nextOffset;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
readStream.end();
|
|
239
|
+
readStream.destroy = function() {
|
|
240
|
+
readStream.destroyed = true;
|
|
241
|
+
};
|
|
242
|
+
return readStream;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
BufferSlicer.prototype.createWriteStream = function(options) {
|
|
246
|
+
var bufferSlicer = this;
|
|
247
|
+
options = options || {};
|
|
248
|
+
var writeStream = new Writable(options);
|
|
249
|
+
writeStream.start = options.start || 0;
|
|
250
|
+
writeStream.endOffset = (options.end == null) ? this.buffer.length : +options.end;
|
|
251
|
+
writeStream.bytesWritten = 0;
|
|
252
|
+
writeStream.pos = writeStream.start;
|
|
253
|
+
writeStream.destroyed = false;
|
|
254
|
+
writeStream._write = function(buffer, encoding, callback) {
|
|
255
|
+
if (writeStream.destroyed) return;
|
|
256
|
+
|
|
257
|
+
var end = writeStream.pos + buffer.length;
|
|
258
|
+
if (end > writeStream.endOffset) {
|
|
259
|
+
var err = new Error("maximum file length exceeded");
|
|
260
|
+
err.code = 'ETOOBIG';
|
|
261
|
+
writeStream.destroyed = true;
|
|
262
|
+
callback(err);
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
buffer.copy(bufferSlicer.buffer, writeStream.pos, 0, buffer.length);
|
|
266
|
+
|
|
267
|
+
writeStream.bytesWritten += buffer.length;
|
|
268
|
+
writeStream.pos = end;
|
|
269
|
+
writeStream.emit('progress');
|
|
270
|
+
callback();
|
|
271
|
+
};
|
|
272
|
+
writeStream.destroy = function() {
|
|
273
|
+
writeStream.destroyed = true;
|
|
274
|
+
};
|
|
275
|
+
return writeStream;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
BufferSlicer.prototype.ref = function() {
|
|
279
|
+
this.refCount += 1;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
BufferSlicer.prototype.unref = function() {
|
|
283
|
+
this.refCount -= 1;
|
|
284
|
+
|
|
285
|
+
if (this.refCount < 0) {
|
|
286
|
+
throw new Error("invalid unref");
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
function createFromBuffer(buffer, options) {
|
|
291
|
+
return new BufferSlicer(buffer, options);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
function createFromFd(fd, options) {
|
|
295
|
+
return new FdSlicer(fd, options);
|
|
296
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
The MIT License (Expat)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 Andrew Kelley
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person
|
|
6
|
+
obtaining a copy of this software and associated documentation files
|
|
7
|
+
(the "Software"), to deal in the Software without restriction,
|
|
8
|
+
including without limitation the rights to use, copy, modify, merge,
|
|
9
|
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
|
10
|
+
and to permit persons to whom the Software is furnished to do so,
|
|
11
|
+
subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
20
|
+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
21
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
22
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Pend
|
|
2
|
+
|
|
3
|
+
Dead-simple optimistic async helper.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
var Pend = require('pend');
|
|
9
|
+
var pend = new Pend();
|
|
10
|
+
pend.max = 10; // defaults to Infinity
|
|
11
|
+
setTimeout(pend.hold(), 1000); // pend.wait will have to wait for this hold to finish
|
|
12
|
+
pend.go(function(cb) {
|
|
13
|
+
console.log("this function is immediately executed");
|
|
14
|
+
setTimeout(function() {
|
|
15
|
+
console.log("calling cb 1");
|
|
16
|
+
cb();
|
|
17
|
+
}, 500);
|
|
18
|
+
});
|
|
19
|
+
pend.go(function(cb) {
|
|
20
|
+
console.log("this function is also immediately executed");
|
|
21
|
+
setTimeout(function() {
|
|
22
|
+
console.log("calling cb 2");
|
|
23
|
+
cb();
|
|
24
|
+
}, 1000);
|
|
25
|
+
});
|
|
26
|
+
pend.wait(function(err) {
|
|
27
|
+
console.log("this is excuted when the first 2 have returned.");
|
|
28
|
+
console.log("err is a possible error in the standard callback style.");
|
|
29
|
+
});
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Output:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
this function is immediately executed
|
|
36
|
+
this function is also immediately executed
|
|
37
|
+
calling cb 1
|
|
38
|
+
calling cb 2
|
|
39
|
+
this is excuted when the first 2 have returned.
|
|
40
|
+
err is a possible error in the standard callback style.
|
|
41
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
module.exports = Pend;
|
|
2
|
+
|
|
3
|
+
function Pend() {
|
|
4
|
+
this.pending = 0;
|
|
5
|
+
this.max = Infinity;
|
|
6
|
+
this.listeners = [];
|
|
7
|
+
this.waiting = [];
|
|
8
|
+
this.error = null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Pend.prototype.go = function(fn) {
|
|
12
|
+
if (this.pending < this.max) {
|
|
13
|
+
pendGo(this, fn);
|
|
14
|
+
} else {
|
|
15
|
+
this.waiting.push(fn);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
Pend.prototype.wait = function(cb) {
|
|
20
|
+
if (this.pending === 0) {
|
|
21
|
+
cb(this.error);
|
|
22
|
+
} else {
|
|
23
|
+
this.listeners.push(cb);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
Pend.prototype.hold = function() {
|
|
28
|
+
return pendHold(this);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
function pendHold(self) {
|
|
32
|
+
self.pending += 1;
|
|
33
|
+
var called = false;
|
|
34
|
+
return onCb;
|
|
35
|
+
function onCb(err) {
|
|
36
|
+
if (called) throw new Error("callback called twice");
|
|
37
|
+
called = true;
|
|
38
|
+
self.error = self.error || err;
|
|
39
|
+
self.pending -= 1;
|
|
40
|
+
if (self.waiting.length > 0 && self.pending < self.max) {
|
|
41
|
+
pendGo(self, self.waiting.shift());
|
|
42
|
+
} else if (self.pending === 0) {
|
|
43
|
+
var listeners = self.listeners;
|
|
44
|
+
self.listeners = [];
|
|
45
|
+
listeners.forEach(cbListener);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function cbListener(listener) {
|
|
49
|
+
listener(self.error);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function pendGo(self, fn) {
|
|
54
|
+
fn(pendHold(self));
|
|
55
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pend",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "dead-simple optimistic async helper",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "node test.js"
|
|
8
|
+
},
|
|
9
|
+
"author": "Andrew Kelley <superjoe30@gmail.com>",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git://github.com/andrewrk/node-pend.git"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/andrewrk/node-pend/issues"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
var assert = require('assert');
|
|
2
|
+
var Pend = require('./');
|
|
3
|
+
|
|
4
|
+
var tests = [
|
|
5
|
+
{
|
|
6
|
+
name: "basic",
|
|
7
|
+
fn: testBasic,
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: "max",
|
|
11
|
+
fn: testWithMax,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: "callback twice",
|
|
15
|
+
fn: testCallbackTwice,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "calling wait twice",
|
|
19
|
+
fn: testCallingWaitTwice,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "hold()",
|
|
23
|
+
fn: testHoldFn,
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
var testCount = tests.length;
|
|
27
|
+
|
|
28
|
+
doOneTest();
|
|
29
|
+
|
|
30
|
+
function doOneTest() {
|
|
31
|
+
var test = tests.shift();
|
|
32
|
+
if (!test) {
|
|
33
|
+
console.log(testCount + " tests passed.");
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
process.stdout.write(test.name + "...");
|
|
37
|
+
test.fn(function() {
|
|
38
|
+
process.stdout.write("OK\n");
|
|
39
|
+
doOneTest();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function testBasic(cb) {
|
|
44
|
+
var pend = new Pend();
|
|
45
|
+
var results = [];
|
|
46
|
+
pend.go(function(cb) {
|
|
47
|
+
results.push(1);
|
|
48
|
+
setTimeout(function() {
|
|
49
|
+
results.push(3);
|
|
50
|
+
cb();
|
|
51
|
+
}, 500);
|
|
52
|
+
});
|
|
53
|
+
pend.go(function(cb) {
|
|
54
|
+
results.push(2);
|
|
55
|
+
setTimeout(function() {
|
|
56
|
+
results.push(4);
|
|
57
|
+
cb();
|
|
58
|
+
}, 1000);
|
|
59
|
+
});
|
|
60
|
+
pend.wait(function(err) {
|
|
61
|
+
assert.deepEqual(results, [1,2,3,4]);
|
|
62
|
+
cb();
|
|
63
|
+
});
|
|
64
|
+
assert.deepEqual(results, [1, 2]);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function testWithMax(cb) {
|
|
68
|
+
var pend = new Pend();
|
|
69
|
+
var results = [];
|
|
70
|
+
pend.max = 2;
|
|
71
|
+
pend.go(function(cb) {
|
|
72
|
+
results.push('a');
|
|
73
|
+
setTimeout(function() {
|
|
74
|
+
results.push(1);
|
|
75
|
+
cb();
|
|
76
|
+
}, 500);
|
|
77
|
+
});
|
|
78
|
+
pend.go(function(cb) {
|
|
79
|
+
results.push('b');
|
|
80
|
+
setTimeout(function() {
|
|
81
|
+
results.push(1);
|
|
82
|
+
cb();
|
|
83
|
+
}, 500);
|
|
84
|
+
});
|
|
85
|
+
pend.go(function(cb) {
|
|
86
|
+
results.push('c');
|
|
87
|
+
setTimeout(function() {
|
|
88
|
+
results.push(2);
|
|
89
|
+
cb();
|
|
90
|
+
}, 100);
|
|
91
|
+
});
|
|
92
|
+
pend.wait(function(err) {
|
|
93
|
+
assert.deepEqual(results, ['a', 'b', 1, 'c', 1, 2]);
|
|
94
|
+
cb();
|
|
95
|
+
});
|
|
96
|
+
assert.deepEqual(results, ['a', 'b']);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function testCallbackTwice(cb) {
|
|
100
|
+
var pend = new Pend();
|
|
101
|
+
pend.go(function(cb) {
|
|
102
|
+
setTimeout(cb, 100);
|
|
103
|
+
});
|
|
104
|
+
pend.go(function(cb) {
|
|
105
|
+
cb();
|
|
106
|
+
assert.throws(cb, /callback called twice/);
|
|
107
|
+
});
|
|
108
|
+
pend.wait(cb);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function testCallingWaitTwice(cb) {
|
|
112
|
+
var pend = new Pend();
|
|
113
|
+
pend.go(function(cb) {
|
|
114
|
+
setTimeout(cb, 100);
|
|
115
|
+
});
|
|
116
|
+
pend.wait(function() {
|
|
117
|
+
pend.go(function(cb) {
|
|
118
|
+
setTimeout(cb, 50);
|
|
119
|
+
});
|
|
120
|
+
pend.go(function(cb) {
|
|
121
|
+
setTimeout(cb, 10);
|
|
122
|
+
});
|
|
123
|
+
pend.go(function(cb) {
|
|
124
|
+
setTimeout(cb, 20);
|
|
125
|
+
});
|
|
126
|
+
pend.wait(cb);
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function testHoldFn(cb) {
|
|
131
|
+
var pend = new Pend();
|
|
132
|
+
setTimeout(pend.hold(), 100);
|
|
133
|
+
pend.go(function(cb) {
|
|
134
|
+
cb();
|
|
135
|
+
});
|
|
136
|
+
pend.wait(cb);
|
|
137
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fd-slicer",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "safely create multiple ReadStream or WriteStream objects from the same file descriptor",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha --reporter spec --check-leaks",
|
|
8
|
+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/test.js",
|
|
9
|
+
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 10000 --reporter spec --check-leaks test/test.js"
|
|
10
|
+
},
|
|
11
|
+
"author": "Andrew Kelley <superjoe30@gmail.com>",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"istanbul": "~0.3.3",
|
|
15
|
+
"mocha": "~2.0.1",
|
|
16
|
+
"stream-equal": "~0.1.5",
|
|
17
|
+
"streamsink": "~1.2.0"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"pend": "~1.2.0"
|
|
21
|
+
},
|
|
22
|
+
"directories": {
|
|
23
|
+
"test": "test"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git://github.com/andrewrk/node-fd-slicer.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/andrewrk/node-fd-slicer/issues"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"createReadStream",
|
|
34
|
+
"createWriteStream"
|
|
35
|
+
]
|
|
36
|
+
}
|