codexui-android 0.1.93 → 0.1.94
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/node_modules/ansi-regex/index.js +4 -0
- package/node_modules/ansi-regex/license +21 -0
- package/node_modules/ansi-regex/package.json +64 -0
- package/node_modules/ansi-regex/readme.md +39 -0
- package/node_modules/aproba/LICENSE +14 -0
- package/node_modules/aproba/README.md +94 -0
- package/node_modules/aproba/index.js +105 -0
- package/node_modules/aproba/package.json +34 -0
- package/node_modules/are-we-there-yet/CHANGES.md +37 -0
- package/node_modules/are-we-there-yet/LICENSE +5 -0
- package/node_modules/are-we-there-yet/README.md +195 -0
- package/node_modules/are-we-there-yet/index.js +4 -0
- package/node_modules/are-we-there-yet/package.json +35 -0
- package/node_modules/are-we-there-yet/tracker-base.js +11 -0
- package/node_modules/are-we-there-yet/tracker-group.js +107 -0
- package/node_modules/are-we-there-yet/tracker-stream.js +36 -0
- package/node_modules/are-we-there-yet/tracker.js +30 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bl/.travis.yml +17 -0
- package/node_modules/bl/BufferList.js +396 -0
- package/node_modules/bl/LICENSE.md +13 -0
- package/node_modules/bl/README.md +247 -0
- package/node_modules/bl/bl.js +84 -0
- package/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/bl/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/bl/node_modules/readable-stream/README.md +106 -0
- package/node_modules/bl/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/bl/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/bl/node_modules/readable-stream/package.json +68 -0
- package/node_modules/bl/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/bl/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/bl/package.json +37 -0
- package/node_modules/bl/test/convert.js +21 -0
- package/node_modules/bl/test/indexOf.js +492 -0
- package/node_modules/bl/test/isBufferList.js +32 -0
- package/node_modules/bl/test/test.js +869 -0
- package/node_modules/buffer/AUTHORS.md +70 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +410 -0
- package/node_modules/buffer/index.d.ts +186 -0
- package/node_modules/buffer/index.js +1817 -0
- package/node_modules/buffer/package.json +96 -0
- package/node_modules/chownr/LICENSE +15 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/chownr.js +167 -0
- package/node_modules/chownr/package.json +29 -0
- package/node_modules/code-point-at/index.js +32 -0
- package/node_modules/code-point-at/license +21 -0
- package/node_modules/code-point-at/package.json +38 -0
- package/node_modules/code-point-at/readme.md +32 -0
- package/node_modules/console-control-strings/LICENSE +13 -0
- package/node_modules/console-control-strings/README.md +145 -0
- package/node_modules/console-control-strings/README.md~ +140 -0
- package/node_modules/console-control-strings/index.js +125 -0
- package/node_modules/console-control-strings/package.json +27 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/decompress-response/index.d.ts +29 -0
- package/node_modules/decompress-response/index.js +40 -0
- package/node_modules/decompress-response/license +9 -0
- package/node_modules/decompress-response/package.json +50 -0
- package/node_modules/decompress-response/readme.md +52 -0
- package/node_modules/deep-extend/CHANGELOG.md +46 -0
- package/node_modules/deep-extend/LICENSE +20 -0
- package/node_modules/deep-extend/README.md +91 -0
- package/node_modules/deep-extend/index.js +1 -0
- package/node_modules/deep-extend/lib/deep-extend.js +150 -0
- package/node_modules/deep-extend/package.json +62 -0
- package/node_modules/delegates/.npmignore +1 -0
- package/node_modules/delegates/History.md +22 -0
- package/node_modules/delegates/License +20 -0
- package/node_modules/delegates/Makefile +8 -0
- package/node_modules/delegates/Readme.md +94 -0
- package/node_modules/delegates/index.js +121 -0
- package/node_modules/delegates/package.json +13 -0
- package/node_modules/delegates/test/index.js +94 -0
- package/node_modules/end-of-stream/LICENSE +21 -0
- package/node_modules/end-of-stream/README.md +54 -0
- package/node_modules/end-of-stream/index.js +96 -0
- package/node_modules/end-of-stream/package.json +37 -0
- package/node_modules/expand-template/.travis.yml +6 -0
- package/node_modules/expand-template/LICENSE +21 -0
- package/node_modules/expand-template/README.md +43 -0
- package/node_modules/expand-template/index.js +26 -0
- package/node_modules/expand-template/package.json +29 -0
- package/node_modules/expand-template/test.js +67 -0
- package/node_modules/fs-constants/LICENSE +21 -0
- package/node_modules/fs-constants/README.md +26 -0
- package/node_modules/fs-constants/browser.js +1 -0
- package/node_modules/fs-constants/index.js +1 -0
- package/node_modules/fs-constants/package.json +19 -0
- package/node_modules/gauge/CHANGELOG.md +160 -0
- package/node_modules/gauge/LICENSE +13 -0
- package/node_modules/gauge/README.md +399 -0
- package/node_modules/gauge/base-theme.js +14 -0
- package/node_modules/gauge/error.js +24 -0
- package/node_modules/gauge/has-color.js +12 -0
- package/node_modules/gauge/index.js +233 -0
- package/node_modules/gauge/package.json +63 -0
- package/node_modules/gauge/plumbing.js +48 -0
- package/node_modules/gauge/process.js +3 -0
- package/node_modules/gauge/progress-bar.js +35 -0
- package/node_modules/gauge/render-template.js +181 -0
- package/node_modules/gauge/set-immediate.js +7 -0
- package/node_modules/gauge/set-interval.js +3 -0
- package/node_modules/gauge/spin.js +5 -0
- package/node_modules/gauge/template-item.js +73 -0
- package/node_modules/gauge/theme-set.js +115 -0
- package/node_modules/gauge/themes.js +54 -0
- package/node_modules/gauge/wide-truncate.js +25 -0
- package/node_modules/github-from-package/.travis.yml +4 -0
- package/node_modules/github-from-package/LICENSE +18 -0
- package/node_modules/github-from-package/example/package.json +8 -0
- package/node_modules/github-from-package/example/url.js +3 -0
- package/node_modules/github-from-package/index.js +17 -0
- package/node_modules/github-from-package/package.json +30 -0
- package/node_modules/github-from-package/readme.markdown +53 -0
- package/node_modules/github-from-package/test/a.json +8 -0
- package/node_modules/github-from-package/test/b.json +5 -0
- package/node_modules/github-from-package/test/c.json +5 -0
- package/node_modules/github-from-package/test/d.json +7 -0
- package/node_modules/github-from-package/test/e.json +5 -0
- package/node_modules/github-from-package/test/url.js +19 -0
- package/node_modules/has-unicode/LICENSE +14 -0
- package/node_modules/has-unicode/README.md +43 -0
- package/node_modules/has-unicode/index.js +16 -0
- package/node_modules/has-unicode/package.json +30 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -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/ini/LICENSE +15 -0
- package/node_modules/ini/README.md +102 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/is-fullwidth-code-point/index.js +46 -0
- package/node_modules/is-fullwidth-code-point/license +21 -0
- package/node_modules/is-fullwidth-code-point/package.json +45 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/mimic-response/index.d.ts +17 -0
- package/node_modules/mimic-response/index.js +38 -0
- package/node_modules/mimic-response/license +9 -0
- package/node_modules/mimic-response/package.json +42 -0
- package/node_modules/mimic-response/readme.md +57 -0
- package/node_modules/minimist/.eslintrc +29 -0
- package/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/node_modules/minimist/.nycrc +14 -0
- package/node_modules/minimist/CHANGELOG.md +298 -0
- package/node_modules/minimist/LICENSE +18 -0
- package/node_modules/minimist/README.md +121 -0
- package/node_modules/minimist/example/parse.js +4 -0
- package/node_modules/minimist/index.js +263 -0
- package/node_modules/minimist/package.json +75 -0
- package/node_modules/minimist/test/all_bool.js +34 -0
- package/node_modules/minimist/test/bool.js +177 -0
- package/node_modules/minimist/test/dash.js +43 -0
- package/node_modules/minimist/test/default_bool.js +37 -0
- package/node_modules/minimist/test/dotted.js +24 -0
- package/node_modules/minimist/test/kv_short.js +32 -0
- package/node_modules/minimist/test/long.js +33 -0
- package/node_modules/minimist/test/num.js +38 -0
- package/node_modules/minimist/test/parse.js +209 -0
- package/node_modules/minimist/test/parse_modified.js +11 -0
- package/node_modules/minimist/test/proto.js +64 -0
- package/node_modules/minimist/test/short.js +69 -0
- package/node_modules/minimist/test/stop_early.js +17 -0
- package/node_modules/minimist/test/unknown.js +104 -0
- package/node_modules/minimist/test/whitespace.js +10 -0
- package/node_modules/mkdirp-classic/LICENSE +21 -0
- package/node_modules/mkdirp-classic/README.md +18 -0
- package/node_modules/mkdirp-classic/index.js +98 -0
- package/node_modules/mkdirp-classic/package.json +18 -0
- package/node_modules/nan/.github/workflows/ci.yml +52 -0
- package/node_modules/nan/.pre-commit-config.yaml +8 -0
- package/node_modules/nan/CHANGELOG.md +599 -0
- package/node_modules/nan/CMakeLists.txt +138 -0
- package/node_modules/nan/LICENSE.md +9 -0
- package/node_modules/nan/README.md +456 -0
- package/node_modules/nan/doc/asyncworker.md +146 -0
- package/node_modules/nan/doc/buffers.md +54 -0
- package/node_modules/nan/doc/callback.md +76 -0
- package/node_modules/nan/doc/converters.md +41 -0
- package/node_modules/nan/doc/errors.md +226 -0
- package/node_modules/nan/doc/json.md +62 -0
- package/node_modules/nan/doc/maybe_types.md +583 -0
- package/node_modules/nan/doc/methods.md +689 -0
- package/node_modules/nan/doc/new.md +147 -0
- package/node_modules/nan/doc/node_misc.md +123 -0
- package/node_modules/nan/doc/object_wrappers.md +263 -0
- package/node_modules/nan/doc/persistent.md +296 -0
- package/node_modules/nan/doc/scopes.md +73 -0
- package/node_modules/nan/doc/script.md +58 -0
- package/node_modules/nan/doc/string_bytes.md +81 -0
- package/node_modules/nan/doc/v8_internals.md +199 -0
- package/node_modules/nan/doc/v8_misc.md +85 -0
- package/node_modules/nan/include_dirs.js +1 -0
- package/node_modules/nan/nan.h +3202 -0
- package/node_modules/nan/nan_callbacks.h +141 -0
- package/node_modules/nan/nan_callbacks_12_inl.h +690 -0
- package/node_modules/nan/nan_callbacks_pre_12_inl.h +524 -0
- package/node_modules/nan/nan_converters.h +72 -0
- package/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/node_modules/nan/nan_json.h +166 -0
- package/node_modules/nan/nan_maybe_43_inl.h +360 -0
- package/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/node_modules/nan/nan_new.h +340 -0
- package/node_modules/nan/nan_object_wrap.h +156 -0
- package/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/node_modules/nan/nan_private.h +73 -0
- package/node_modules/nan/nan_scriptorigin.h +97 -0
- package/node_modules/nan/nan_string_bytes.h +305 -0
- package/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/node_modules/nan/nan_weak.h +453 -0
- package/node_modules/nan/package.json +38 -0
- package/node_modules/nan/tools/1to2.js +412 -0
- package/node_modules/nan/tools/README.md +14 -0
- package/node_modules/nan/tools/package.json +19 -0
- package/node_modules/napi-build-utils/LICENSE +21 -0
- package/node_modules/napi-build-utils/README.md +48 -0
- package/node_modules/napi-build-utils/index.js +213 -0
- package/node_modules/napi-build-utils/index.md +81 -0
- package/node_modules/napi-build-utils/package.json +41 -0
- package/node_modules/node-abi/.github/workflows/update-abi.yml +41 -0
- package/node_modules/node-abi/.travis.yml +17 -0
- package/node_modules/node-abi/CODE_OF_CONDUCT.md +73 -0
- package/node_modules/node-abi/CONTRIBUTING.md +53 -0
- package/node_modules/node-abi/LICENSE +21 -0
- package/node_modules/node-abi/README.md +50 -0
- package/node_modules/node-abi/abi_registry.json +144 -0
- package/node_modules/node-abi/index.js +176 -0
- package/node_modules/node-abi/package.json +38 -0
- package/node_modules/node-abi/scripts/update-abi-registry.js +119 -0
- package/node_modules/node-abi/test/index.js +174 -0
- package/node_modules/node-addon-api/LICENSE.md +9 -0
- package/node_modules/node-addon-api/README.md +319 -0
- package/node_modules/node-addon-api/common.gypi +20 -0
- package/node_modules/node-addon-api/except.gypi +25 -0
- package/node_modules/node-addon-api/index.js +12 -0
- package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/node_modules/node-addon-api/napi-inl.h +6607 -0
- package/node_modules/node-addon-api/napi.h +3201 -0
- package/node_modules/node-addon-api/node_addon_api.gyp +32 -0
- package/node_modules/node-addon-api/node_api.gyp +9 -0
- package/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +480 -0
- package/node_modules/node-addon-api/tools/README.md +73 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-addon-api/tools/eslint-format.js +79 -0
- package/node_modules/node-pty/LICENSE +69 -0
- package/node_modules/node-pty/README.md +165 -0
- package/node_modules/node-pty/binding.gyp +111 -0
- package/node_modules/node-pty/deps/.editorconfig +2 -0
- package/node_modules/node-pty/deps/winpty/.drone.yml +17 -0
- package/node_modules/node-pty/deps/winpty/.gitattributes +19 -0
- package/node_modules/node-pty/deps/winpty/LICENSE +21 -0
- package/node_modules/node-pty/deps/winpty/Makefile +166 -0
- package/node_modules/node-pty/deps/winpty/README.md +151 -0
- package/node_modules/node-pty/deps/winpty/RELEASES.md +280 -0
- package/node_modules/node-pty/deps/winpty/VERSION.txt +1 -0
- package/node_modules/node-pty/deps/winpty/configure +167 -0
- package/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +90 -0
- package/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +53 -0
- package/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +72 -0
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +117 -0
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +116 -0
- package/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +113 -0
- package/node_modules/node-pty/deps/winpty/misc/DebugClient.py +42 -0
- package/node_modules/node-pty/deps/winpty/misc/DebugServer.py +63 -0
- package/node_modules/node-pty/deps/winpty/misc/DumpLines.py +5 -0
- package/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +46 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +528 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +633 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +630 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +630 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +630 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +630 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +16 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +4 -0
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +144 -0
- package/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +100 -0
- package/node_modules/node-pty/deps/winpty/misc/FormatChar.h +21 -0
- package/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +62 -0
- package/node_modules/node-pty/deps/winpty/misc/GetCh.cc +20 -0
- package/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +41 -0
- package/node_modules/node-pty/deps/winpty/misc/GetFont.cc +261 -0
- package/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +51 -0
- package/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +87 -0
- package/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +90 -0
- package/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +34 -0
- package/node_modules/node-pty/deps/winpty/misc/Notes.txt +219 -0
- package/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +27 -0
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +101 -0
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +671 -0
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +151 -0
- package/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +45 -0
- package/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +32 -0
- package/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +10 -0
- package/node_modules/node-pty/deps/winpty/misc/SetFont.cc +145 -0
- package/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +36 -0
- package/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +12 -0
- package/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +40 -0
- package/node_modules/node-pty/deps/winpty/misc/Spew.py +5 -0
- package/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +172 -0
- package/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +102 -0
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +246 -0
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +130 -0
- package/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +89 -0
- package/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +46 -0
- package/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +122 -0
- package/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +56 -0
- package/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +52 -0
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +57 -0
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +30 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +26 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +19 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +46 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +70 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +78 -0
- package/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +44 -0
- package/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +27 -0
- package/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +106 -0
- package/node_modules/node-pty/deps/winpty/misc/build32.sh +9 -0
- package/node_modules/node-pty/deps/winpty/misc/build64.sh +9 -0
- package/node_modules/node-pty/deps/winpty/misc/color-test.sh +212 -0
- package/node_modules/node-pty/deps/winpty/misc/font-notes.txt +300 -0
- package/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +201 -0
- package/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +36 -0
- package/node_modules/node-pty/deps/winpty/ship/common_ship.py +53 -0
- package/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +165 -0
- package/node_modules/node-pty/deps/winpty/ship/ship.py +108 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +613 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.h +103 -0
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +84 -0
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +28 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +632 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +28 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +852 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +109 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +121 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +36 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +152 -0
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +41 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Coord.h +87 -0
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +239 -0
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +32 -0
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +422 -0
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +28 -0
- package/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +30 -0
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +99 -0
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +47 -0
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +246 -0
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +114 -0
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +71 -0
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +68 -0
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +378 -0
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +125 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +699 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +103 -0
- package/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +75 -0
- package/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +143 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +535 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +69 -0
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +157 -0
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +189 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +107 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +67 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +193 -0
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +99 -0
- package/node_modules/node-pty/deps/winpty/src/agent/main.cc +114 -0
- package/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +61 -0
- package/node_modules/node-pty/deps/winpty/src/configurations.gypi +60 -0
- package/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +117 -0
- package/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +41 -0
- package/node_modules/node-pty/deps/winpty/src/include/winpty.h +242 -0
- package/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +131 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +75 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +28 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +54 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +72 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +46 -0
- package/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +970 -0
- package/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +38 -0
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +122 -0
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +73 -0
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +103 -0
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +102 -0
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +187 -0
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +38 -0
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +138 -0
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +55 -0
- package/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +13 -0
- package/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +54 -0
- package/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +63 -0
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +36 -0
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +45 -0
- package/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +43 -0
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +227 -0
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +114 -0
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +55 -0
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +80 -0
- package/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +63 -0
- package/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +45 -0
- package/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +20 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +460 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +104 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +252 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +29 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +55 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +64 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +57 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +43 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +42 -0
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +27 -0
- package/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +99 -0
- package/node_modules/node-pty/deps/winpty/src/subdir.mk +5 -0
- package/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +28 -0
- package/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +158 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +114 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +56 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +80 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +53 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +86 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +31 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +70 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +42 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +729 -0
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +41 -0
- package/node_modules/node-pty/deps/winpty/src/winpty.gyp +234 -0
- package/node_modules/node-pty/deps/winpty/vcbuild.bat +83 -0
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/node_modules/node-pty/lib/conpty_console_list_agent.js.map +1 -0
- package/node_modules/node-pty/lib/eventEmitter2.js +47 -0
- package/node_modules/node-pty/lib/eventEmitter2.js.map +1 -0
- package/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
- package/node_modules/node-pty/lib/eventEmitter2.test.js.map +1 -0
- package/node_modules/node-pty/lib/index.js +52 -0
- package/node_modules/node-pty/lib/index.js.map +1 -0
- package/node_modules/node-pty/lib/interfaces.js +7 -0
- package/node_modules/node-pty/lib/interfaces.js.map +1 -0
- package/node_modules/node-pty/lib/shared/conout.js +11 -0
- package/node_modules/node-pty/lib/shared/conout.js.map +1 -0
- package/node_modules/node-pty/lib/terminal.js +190 -0
- package/node_modules/node-pty/lib/terminal.js.map +1 -0
- package/node_modules/node-pty/lib/terminal.test.js +139 -0
- package/node_modules/node-pty/lib/terminal.test.js.map +1 -0
- package/node_modules/node-pty/lib/testUtils.test.js +28 -0
- package/node_modules/node-pty/lib/testUtils.test.js.map +1 -0
- package/node_modules/node-pty/lib/types.js +7 -0
- package/node_modules/node-pty/lib/types.js.map +1 -0
- package/node_modules/node-pty/lib/unixTerminal.js +346 -0
- package/node_modules/node-pty/lib/unixTerminal.js.map +1 -0
- package/node_modules/node-pty/lib/unixTerminal.test.js +351 -0
- package/node_modules/node-pty/lib/unixTerminal.test.js.map +1 -0
- package/node_modules/node-pty/lib/utils.js +39 -0
- package/node_modules/node-pty/lib/utils.js.map +1 -0
- package/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
- package/node_modules/node-pty/lib/windowsConoutConnection.js.map +1 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.js +320 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.js.map +1 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +1 -0
- package/node_modules/node-pty/lib/windowsTerminal.js +199 -0
- package/node_modules/node-pty/lib/windowsTerminal.js.map +1 -0
- package/node_modules/node-pty/lib/windowsTerminal.test.js +219 -0
- package/node_modules/node-pty/lib/windowsTerminal.test.js.map +1 -0
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +1 -0
- package/node_modules/node-pty/package.json +64 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/node_modules/node-pty/scripts/gen-compile-commands.js +8 -0
- package/node_modules/node-pty/scripts/increment-version.js +54 -0
- package/node_modules/node-pty/scripts/post-install.js +80 -0
- package/node_modules/node-pty/scripts/prebuild.js +34 -0
- package/node_modules/node-pty/src/conpty_console_list_agent.ts +15 -0
- package/node_modules/node-pty/src/eventEmitter2.test.ts +30 -0
- package/node_modules/node-pty/src/eventEmitter2.ts +48 -0
- package/node_modules/node-pty/src/index.ts +52 -0
- package/node_modules/node-pty/src/interfaces.ts +130 -0
- package/node_modules/node-pty/src/native.d.ts +54 -0
- package/node_modules/node-pty/src/shared/conout.ts +15 -0
- package/node_modules/node-pty/src/terminal.test.ts +119 -0
- package/node_modules/node-pty/src/terminal.ts +211 -0
- package/node_modules/node-pty/src/testUtils.test.ts +23 -0
- package/node_modules/node-pty/src/tsconfig.json +22 -0
- package/node_modules/node-pty/src/types.ts +15 -0
- package/node_modules/node-pty/src/unix/pty.cc +799 -0
- package/node_modules/node-pty/src/unix/spawn-helper.cc +23 -0
- package/node_modules/node-pty/src/unixTerminal.test.ts +367 -0
- package/node_modules/node-pty/src/unixTerminal.ts +388 -0
- package/node_modules/node-pty/src/utils.ts +29 -0
- package/node_modules/node-pty/src/win/conpty.cc +583 -0
- package/node_modules/node-pty/src/win/conpty.h +41 -0
- package/node_modules/node-pty/src/win/conpty_console_list.cc +44 -0
- package/node_modules/node-pty/src/win/path_util.cc +95 -0
- package/node_modules/node-pty/src/win/path_util.h +26 -0
- package/node_modules/node-pty/src/win/winpty.cc +333 -0
- package/node_modules/node-pty/src/windowsConoutConnection.ts +82 -0
- package/node_modules/node-pty/src/windowsPtyAgent.test.ts +94 -0
- package/node_modules/node-pty/src/windowsPtyAgent.ts +321 -0
- package/node_modules/node-pty/src/windowsTerminal.test.ts +229 -0
- package/node_modules/node-pty/src/windowsTerminal.ts +203 -0
- package/node_modules/node-pty/src/worker/conoutSocketWorker.ts +22 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/node_modules/node-pty/typings/node-pty.d.ts +211 -0
- package/node_modules/node-pty-prebuilt-multiarch/LICENSE +69 -0
- package/node_modules/node-pty-prebuilt-multiarch/README.md +39 -0
- package/node_modules/node-pty-prebuilt-multiarch/binding.gyp +78 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/.editorconfig +2 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/.drone.yml +17 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/.gitattributes +19 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/LICENSE +21 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/Makefile +166 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/README.md +151 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/RELEASES.md +280 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/VERSION.txt +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/configure +167 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/BufferResizeTests.cc +90 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ChangeScreenBuffer.cc +53 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ClearConsole.cc +72 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConinMode.cc +117 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConinMode.ps1 +116 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConoutMode.cc +113 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DebugClient.py +42 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DebugServer.py +63 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DumpLines.py +5 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/EnableExtendedFlags.txt +46 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +528 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +633 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP932.txt +630 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP936.txt +630 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP949.txt +630 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP950.txt +630 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +16 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/Results.txt +4 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +144 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FontSurvey.cc +100 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FormatChar.h +21 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FreezePerfTest.cc +62 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetCh.cc +20 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetConsolePos.cc +41 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetFont.cc +261 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/IdentifyConsoleWindow.ps1 +51 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/IsNewConsole.cc +87 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/MouseInputNotes.txt +90 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/MoveConsoleWindow.cc +34 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Notes.txt +219 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/OSVersion.cc +27 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferFreezeInactive.cc +101 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferTest.cc +671 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferTest2.cc +151 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SelectAllTest.cc +45 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetBufferSize.cc +32 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetCursorPos.cc +10 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetFont.cc +145 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetWindowRect.cc +36 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ShowArgv.cc +12 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ShowConsoleInput.cc +40 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Spew.py +5 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/TestUtil.cc +172 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeDoubleWidthTest.cc +102 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeWideTest1.cc +246 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeWideTest2.cc +130 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnixEcho.cc +89 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Utf16Echo.cc +46 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/VeryLargeRead.cc +122 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/VkEscapeTest.cc +56 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10ResizeWhileFrozen.cc +52 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10WrapTest1.cc +57 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10WrapTest2.cc +30 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Echo1.cc +26 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Echo2.cc +19 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test1.cc +46 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test2.cc +70 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test3.cc +78 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Write1.cc +44 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/WindowsBugCrashReader.cc +27 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/WriteConsole.cc +106 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/build32.sh +9 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/build64.sh +9 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/color-test.sh +212 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/font-notes.txt +300 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/winbug-15048.cc +201 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/build-pty4j-libpty.bat +36 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/common_ship.py +53 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/make_msvc_package.py +165 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/ship.py +108 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Agent.cc +605 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Agent.h +103 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/AgentCreateDesktop.cc +84 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/AgentCreateDesktop.h +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleFont.cc +632 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleFont.h +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInput.cc +852 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInput.h +109 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInputReencoding.cc +121 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInputReencoding.h +36 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleLine.cc +152 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleLine.h +41 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Coord.h +87 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DebugShowInput.cc +239 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DebugShowInput.h +32 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DefaultInputMap.cc +422 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DefaultInputMap.h +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DsrSender.h +30 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/EventLoop.cc +99 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/EventLoop.h +47 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/InputMap.cc +246 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/InputMap.h +114 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/LargeConsoleRead.cc +71 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/LargeConsoleRead.h +68 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/NamedPipe.cc +378 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/NamedPipe.h +125 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Scraper.cc +699 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Scraper.h +103 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/SimplePool.h +75 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/SmallRect.h +143 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Terminal.cc +535 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Terminal.h +69 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/UnicodeEncoding.h +157 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/UnicodeEncodingTest.cc +189 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32Console.cc +107 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32Console.h +67 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32ConsoleBuffer.cc +193 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32ConsoleBuffer.h +99 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/main.cc +114 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/subdir.mk +61 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/configurations.gypi +60 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/debugserver/DebugServer.cc +117 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/debugserver/subdir.mk +41 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/include/winpty.h +242 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/include/winpty_constants.h +131 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/AgentLocation.cc +75 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/AgentLocation.h +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/LibWinptyException.h +54 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/WinptyInternal.h +72 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/subdir.mk +46 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/winpty.cc +970 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/AgentMsg.h +38 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/BackgroundDesktop.cc +122 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/BackgroundDesktop.h +73 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Buffer.cc +103 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Buffer.h +102 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/DebugClient.cc +187 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/DebugClient.h +38 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GenRandom.cc +138 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GenRandom.h +55 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GetCommitHash.bat +13 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Mutex.h +54 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OsModule.h +63 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OwnedHandle.cc +36 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OwnedHandle.h +45 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/PrecompiledHeader.h +43 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringBuilder.h +227 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringBuilderTest.cc +114 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringUtil.cc +55 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringUtil.h +80 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/TimeMeasurement.h +63 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/UnixCtrlChars.h +45 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/UpdateGenVersion.bat +20 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsSecurity.cc +460 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsSecurity.h +104 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsVersion.cc +252 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsVersion.h +29 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyAssert.cc +55 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyAssert.h +64 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyException.cc +57 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyException.h +43 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyVersion.cc +42 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyVersion.h +27 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/winpty_snprintf.h +99 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/subdir.mk +5 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/tests/subdir.mk +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/tests/trivial_test.cc +158 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/InputHandler.cc +114 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/InputHandler.h +56 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/OutputHandler.cc +80 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/OutputHandler.h +53 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/Util.cc +86 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/Util.h +31 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/WakeupFd.cc +70 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/WakeupFd.h +42 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/main.cc +729 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/subdir.mk +41 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/winpty.gyp +206 -0
- package/node_modules/node-pty-prebuilt-multiarch/deps/winpty/vcbuild.bat +83 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/conpty_console_list_agent.js +20 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/conpty_console_list_agent.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.js +47 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.test.js +30 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/index.js +51 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/index.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/interfaces.js +7 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/interfaces.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-file-path.js +18 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-file-path.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-loader.js +19 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-loader.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/terminal.js +182 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/terminal.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/terminal.test.js +136 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/terminal.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/testUtils.test.js +28 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/testUtils.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/types.js +7 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/types.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js +265 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.test.js +201 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/utils.js +17 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/utils.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js +311 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.test.js +90 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js +183 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.test.js +195 -0
- package/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.test.js.map +1 -0
- package/node_modules/node-pty-prebuilt-multiarch/package.json +69 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi102.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi108.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi64.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi67.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi72.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi79.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi83.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi88.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi93.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi102.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi108.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi64.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi67.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi72.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi79.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi83.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi88.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi93.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi102.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi102.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi108.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi108.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi64.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi64.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi67.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi67.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi72.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi72.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi79.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi79.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi83.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi83.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi88.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi88.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi93.musl.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi93.node +0 -0
- package/node_modules/node-pty-prebuilt-multiarch/scripts/check-prebuild.js +15 -0
- package/node_modules/node-pty-prebuilt-multiarch/scripts/install.js +18 -0
- package/node_modules/node-pty-prebuilt-multiarch/scripts/post-install.js +41 -0
- package/node_modules/node-pty-prebuilt-multiarch/scripts/publish.js +62 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/conpty_console_list_agent.ts +19 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/eventEmitter2.test.ts +30 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/eventEmitter2.ts +48 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/index.ts +52 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/interfaces.ts +125 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/native.d.ts +54 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/prebuild-file-path.ts +21 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/prebuild-loader.ts +17 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/terminal.test.ts +116 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/terminal.ts +208 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/testUtils.test.ts +23 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/tsconfig.json +24 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/types.ts +15 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/unix/pty.cc +734 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/unixTerminal.test.ts +243 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/unixTerminal.ts +288 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/utils.ts +9 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/win/conpty.cc +455 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/win/conpty_console_list.cc +43 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/win/path_util.cc +73 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/win/path_util.h +22 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/win/winpty.cc +312 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/windowsPtyAgent.test.ts +94 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/windowsPtyAgent.ts +312 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/windowsTerminal.test.ts +205 -0
- package/node_modules/node-pty-prebuilt-multiarch/src/windowsTerminal.ts +189 -0
- package/node_modules/node-pty-prebuilt-multiarch/typings/node-pty.d.ts +212 -0
- package/node_modules/npmlog/CHANGELOG.md +49 -0
- package/node_modules/npmlog/LICENSE +15 -0
- package/node_modules/npmlog/README.md +216 -0
- package/node_modules/npmlog/log.js +309 -0
- package/node_modules/npmlog/package.json +28 -0
- package/node_modules/number-is-nan/index.js +4 -0
- package/node_modules/number-is-nan/license +21 -0
- package/node_modules/number-is-nan/package.json +35 -0
- package/node_modules/number-is-nan/readme.md +28 -0
- package/node_modules/object-assign/index.js +90 -0
- package/node_modules/object-assign/license +21 -0
- package/node_modules/object-assign/package.json +42 -0
- package/node_modules/object-assign/readme.md +61 -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/prebuild-install/CHANGELOG.md +81 -0
- package/node_modules/prebuild-install/CONTRIBUTING.md +6 -0
- package/node_modules/prebuild-install/LICENSE +21 -0
- package/node_modules/prebuild-install/README.md +139 -0
- package/node_modules/prebuild-install/asset.js +44 -0
- package/node_modules/prebuild-install/bin.js +78 -0
- package/node_modules/prebuild-install/download.js +142 -0
- package/node_modules/prebuild-install/error.js +14 -0
- package/node_modules/prebuild-install/help.txt +16 -0
- package/node_modules/prebuild-install/index.js +1 -0
- package/node_modules/prebuild-install/log.js +25 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/.npmignore +7 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/README.md +78 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/bin/detect-libc.js +18 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/lib/detect-libc.js +92 -0
- package/node_modules/prebuild-install/node_modules/detect-libc/package.json +35 -0
- package/node_modules/prebuild-install/package.json +69 -0
- package/node_modules/prebuild-install/proxy.js +35 -0
- package/node_modules/prebuild-install/rc.js +60 -0
- package/node_modules/prebuild-install/util.js +143 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/pump/.github/FUNDING.yml +2 -0
- package/node_modules/pump/.travis.yml +5 -0
- package/node_modules/pump/LICENSE +21 -0
- package/node_modules/pump/README.md +74 -0
- package/node_modules/pump/SECURITY.md +5 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/index.js +86 -0
- package/node_modules/pump/package.json +30 -0
- package/node_modules/pump/test-browser.js +66 -0
- package/node_modules/pump/test-node.js +53 -0
- package/node_modules/rc/LICENSE.APACHE2 +15 -0
- package/node_modules/rc/LICENSE.BSD +26 -0
- package/node_modules/rc/LICENSE.MIT +24 -0
- package/node_modules/rc/README.md +227 -0
- package/node_modules/rc/browser.js +7 -0
- package/node_modules/rc/cli.js +4 -0
- package/node_modules/rc/index.js +53 -0
- package/node_modules/rc/lib/utils.js +104 -0
- package/node_modules/rc/package.json +29 -0
- package/node_modules/rc/test/ini.js +16 -0
- package/node_modules/rc/test/nested-env-vars.js +50 -0
- package/node_modules/rc/test/test.js +59 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +412 -0
- package/node_modules/semver/bin/semver +160 -0
- package/node_modules/semver/package.json +38 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/semver.js +1525 -0
- package/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/node_modules/set-blocking/LICENSE.txt +14 -0
- package/node_modules/set-blocking/README.md +31 -0
- package/node_modules/set-blocking/index.js +7 -0
- package/node_modules/set-blocking/package.json +42 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +39 -0
- package/node_modules/signal-exit/index.js +202 -0
- package/node_modules/signal-exit/package.json +38 -0
- package/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/simple-concat/.travis.yml +3 -0
- package/node_modules/simple-concat/LICENSE +20 -0
- package/node_modules/simple-concat/README.md +44 -0
- package/node_modules/simple-concat/index.js +15 -0
- package/node_modules/simple-concat/package.json +47 -0
- package/node_modules/simple-concat/test/basic.js +41 -0
- package/node_modules/simple-get/LICENSE +20 -0
- package/node_modules/simple-get/README.md +319 -0
- package/node_modules/simple-get/index.js +107 -0
- package/node_modules/simple-get/package.json +53 -0
- package/node_modules/string-width/index.js +37 -0
- package/node_modules/string-width/license +21 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +42 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/strip-ansi/index.js +6 -0
- package/node_modules/strip-ansi/license +21 -0
- package/node_modules/strip-ansi/package.json +57 -0
- package/node_modules/strip-ansi/readme.md +33 -0
- package/node_modules/strip-json-comments/index.js +70 -0
- package/node_modules/strip-json-comments/license +21 -0
- package/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/strip-json-comments/readme.md +64 -0
- package/node_modules/tar-fs/.travis.yml +6 -0
- package/node_modules/tar-fs/LICENSE +21 -0
- package/node_modules/tar-fs/README.md +165 -0
- package/node_modules/tar-fs/index.js +363 -0
- package/node_modules/tar-fs/package.json +41 -0
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +346 -0
- package/node_modules/tar-stream/LICENSE +21 -0
- package/node_modules/tar-stream/README.md +168 -0
- package/node_modules/tar-stream/extract.js +257 -0
- package/node_modules/tar-stream/headers.js +295 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/tar-stream/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/tar-stream/node_modules/readable-stream/README.md +106 -0
- package/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/tar-stream/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/tar-stream/node_modules/readable-stream/package.json +68 -0
- package/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/tar-stream/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/tar-stream/pack.js +255 -0
- package/node_modules/tar-stream/package.json +58 -0
- package/node_modules/tar-stream/sandbox.js +11 -0
- package/node_modules/tunnel-agent/LICENSE +55 -0
- package/node_modules/tunnel-agent/README.md +4 -0
- package/node_modules/tunnel-agent/index.js +244 -0
- package/node_modules/tunnel-agent/package.json +22 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/wide-align/LICENSE +14 -0
- package/node_modules/wide-align/README.md +47 -0
- package/node_modules/wide-align/align.js +65 -0
- package/node_modules/wide-align/package.json +33 -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/package.json +30 -14
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/*********************************************************************
|
|
3
|
+
* NAN - Native Abstractions for Node.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2018 NAN contributors
|
|
6
|
+
*
|
|
7
|
+
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
|
|
8
|
+
********************************************************************/
|
|
9
|
+
|
|
10
|
+
var commander = require('commander'),
|
|
11
|
+
fs = require('fs'),
|
|
12
|
+
glob = require('glob'),
|
|
13
|
+
groups = [],
|
|
14
|
+
total = 0,
|
|
15
|
+
warning1 = '/* ERROR: Rewrite using Buffer */\n',
|
|
16
|
+
warning2 = '\\/\\* ERROR\\: Rewrite using Buffer \\*\\/\\n',
|
|
17
|
+
length,
|
|
18
|
+
i;
|
|
19
|
+
|
|
20
|
+
fs.readFile(__dirname + '/package.json', 'utf8', function (err, data) {
|
|
21
|
+
if (err) {
|
|
22
|
+
throw err;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
commander
|
|
26
|
+
.version(JSON.parse(data).version)
|
|
27
|
+
.usage('[options] <file ...>')
|
|
28
|
+
.parse(process.argv);
|
|
29
|
+
|
|
30
|
+
if (!process.argv.slice(2).length) {
|
|
31
|
+
commander.outputHelp();
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/* construct strings representing regular expressions
|
|
36
|
+
each expression contains a unique group allowing for identification of the match
|
|
37
|
+
the index of this key group, relative to the regular expression in question,
|
|
38
|
+
is indicated by the first array member */
|
|
39
|
+
|
|
40
|
+
/* simple substistutions, key group is the entire match, 0 */
|
|
41
|
+
groups.push([0, [
|
|
42
|
+
'_NAN_',
|
|
43
|
+
'NODE_SET_METHOD',
|
|
44
|
+
'NODE_SET_PROTOTYPE_METHOD',
|
|
45
|
+
'NanAsciiString',
|
|
46
|
+
'NanEscapeScope',
|
|
47
|
+
'NanReturnValue',
|
|
48
|
+
'NanUcs2String'].join('|')]);
|
|
49
|
+
|
|
50
|
+
/* substitutions of parameterless macros, key group is 1 */
|
|
51
|
+
groups.push([1, ['(', [
|
|
52
|
+
'NanEscapableScope',
|
|
53
|
+
'NanReturnNull',
|
|
54
|
+
'NanReturnUndefined',
|
|
55
|
+
'NanScope'].join('|'), ')\\(\\)'].join('')]);
|
|
56
|
+
|
|
57
|
+
/* replace TryCatch with NanTryCatch once, gobbling possible namespace, key group 2 */
|
|
58
|
+
groups.push([2, '(?:(?:v8\\:\\:)?|(Nan)?)(TryCatch)']);
|
|
59
|
+
|
|
60
|
+
/* NanNew("string") will likely not fail a ToLocalChecked(), key group 1 */
|
|
61
|
+
groups.push([1, ['(NanNew)', '(\\("[^\\"]*"[^\\)]*\\))(?!\\.ToLocalChecked\\(\\))'].join('')]);
|
|
62
|
+
|
|
63
|
+
/* Removed v8 APIs, warn that the code needs rewriting using node::Buffer, key group 2 */
|
|
64
|
+
groups.push([2, ['(', warning2, ')?', '^.*?(', [
|
|
65
|
+
'GetIndexedPropertiesExternalArrayDataLength',
|
|
66
|
+
'GetIndexedPropertiesExternalArrayData',
|
|
67
|
+
'GetIndexedPropertiesExternalArrayDataType',
|
|
68
|
+
'GetIndexedPropertiesPixelData',
|
|
69
|
+
'GetIndexedPropertiesPixelDataLength',
|
|
70
|
+
'HasIndexedPropertiesInExternalArrayData',
|
|
71
|
+
'HasIndexedPropertiesInPixelData',
|
|
72
|
+
'SetIndexedPropertiesToExternalArrayData',
|
|
73
|
+
'SetIndexedPropertiesToPixelData'].join('|'), ')'].join('')]);
|
|
74
|
+
|
|
75
|
+
/* No need for NanScope in V8-exposed methods, key group 2 */
|
|
76
|
+
groups.push([2, ['((', [
|
|
77
|
+
'NAN_METHOD',
|
|
78
|
+
'NAN_GETTER',
|
|
79
|
+
'NAN_SETTER',
|
|
80
|
+
'NAN_PROPERTY_GETTER',
|
|
81
|
+
'NAN_PROPERTY_SETTER',
|
|
82
|
+
'NAN_PROPERTY_ENUMERATOR',
|
|
83
|
+
'NAN_PROPERTY_DELETER',
|
|
84
|
+
'NAN_PROPERTY_QUERY',
|
|
85
|
+
'NAN_INDEX_GETTER',
|
|
86
|
+
'NAN_INDEX_SETTER',
|
|
87
|
+
'NAN_INDEX_ENUMERATOR',
|
|
88
|
+
'NAN_INDEX_DELETER',
|
|
89
|
+
'NAN_INDEX_QUERY'].join('|'), ')\\([^\\)]*\\)\\s*\\{)\\s*NanScope\\(\\)\\s*;'].join('')]);
|
|
90
|
+
|
|
91
|
+
/* v8::Value::ToXXXXXXX returns v8::MaybeLocal<T>, key group 3 */
|
|
92
|
+
groups.push([3, ['([\\s\\(\\)])([^\\s\\(\\)]+)->(', [
|
|
93
|
+
'Boolean',
|
|
94
|
+
'Number',
|
|
95
|
+
'String',
|
|
96
|
+
'Object',
|
|
97
|
+
'Integer',
|
|
98
|
+
'Uint32',
|
|
99
|
+
'Int32'].join('|'), ')\\('].join('')]);
|
|
100
|
+
|
|
101
|
+
/* v8::Value::XXXXXXXValue returns v8::Maybe<T>, key group 3 */
|
|
102
|
+
groups.push([3, ['([\\s\\(\\)])([^\\s\\(\\)]+)->((?:', [
|
|
103
|
+
'Boolean',
|
|
104
|
+
'Number',
|
|
105
|
+
'Integer',
|
|
106
|
+
'Uint32',
|
|
107
|
+
'Int32'].join('|'), ')Value)\\('].join('')]);
|
|
108
|
+
|
|
109
|
+
/* NAN_WEAK_CALLBACK macro was removed, write out callback definition, key group 1 */
|
|
110
|
+
groups.push([1, '(NAN_WEAK_CALLBACK)\\(([^\\s\\)]+)\\)']);
|
|
111
|
+
|
|
112
|
+
/* node::ObjectWrap and v8::Persistent have been replaced with Nan implementations, key group 1 */
|
|
113
|
+
groups.push([1, ['(', [
|
|
114
|
+
'NanDisposePersistent',
|
|
115
|
+
'NanObjectWrapHandle'].join('|'), ')\\s*\\(\\s*([^\\s\\)]+)'].join('')]);
|
|
116
|
+
|
|
117
|
+
/* Since NanPersistent there is no need for NanMakeWeakPersistent, key group 1 */
|
|
118
|
+
groups.push([1, '(NanMakeWeakPersistent)\\s*\\(\\s*([^\\s,]+)\\s*,\\s*']);
|
|
119
|
+
|
|
120
|
+
/* Many methods of v8::Object and others now return v8::MaybeLocal<T>, key group 3 */
|
|
121
|
+
groups.push([3, ['([\\s])([^\\s]+)->(', [
|
|
122
|
+
'GetEndColumn',
|
|
123
|
+
'GetFunction',
|
|
124
|
+
'GetLineNumber',
|
|
125
|
+
'NewInstance',
|
|
126
|
+
'GetPropertyNames',
|
|
127
|
+
'GetOwnPropertyNames',
|
|
128
|
+
'GetSourceLine',
|
|
129
|
+
'GetStartColumn',
|
|
130
|
+
'ObjectProtoToString',
|
|
131
|
+
'ToArrayIndex',
|
|
132
|
+
'ToDetailString',
|
|
133
|
+
'CallAsConstructor',
|
|
134
|
+
'CallAsFunction',
|
|
135
|
+
'CloneElementAt',
|
|
136
|
+
'Delete',
|
|
137
|
+
'ForceSet',
|
|
138
|
+
'Get',
|
|
139
|
+
'GetPropertyAttributes',
|
|
140
|
+
'GetRealNamedProperty',
|
|
141
|
+
'GetRealNamedPropertyInPrototypeChain',
|
|
142
|
+
'Has',
|
|
143
|
+
'HasOwnProperty',
|
|
144
|
+
'HasRealIndexedProperty',
|
|
145
|
+
'HasRealNamedCallbackProperty',
|
|
146
|
+
'HasRealNamedProperty',
|
|
147
|
+
'Set',
|
|
148
|
+
'SetAccessor',
|
|
149
|
+
'SetIndexedPropertyHandler',
|
|
150
|
+
'SetNamedPropertyHandler',
|
|
151
|
+
'SetPrototype'].join('|'), ')\\('].join('')]);
|
|
152
|
+
|
|
153
|
+
/* You should get an error if any of these fail anyways,
|
|
154
|
+
or handle the error better, it is indicated either way, key group 2 */
|
|
155
|
+
groups.push([2, ['NanNew(<(?:v8\\:\\:)?(', ['Date', 'String', 'RegExp'].join('|'), ')>)(\\([^\\)]*\\))(?!\\.ToLocalChecked\\(\\))'].join('')]);
|
|
156
|
+
|
|
157
|
+
/* v8::Value::Equals now returns a v8::Maybe, key group 3 */
|
|
158
|
+
groups.push([3, '([\\s\\(\\)])([^\\s\\(\\)]+)->(Equals)\\(([^\\s\\)]+)']);
|
|
159
|
+
|
|
160
|
+
/* NanPersistent makes this unnecessary, key group 1 */
|
|
161
|
+
groups.push([1, '(NanAssignPersistent)(?:<v8\\:\\:[^>]+>)?\\(([^,]+),\\s*']);
|
|
162
|
+
|
|
163
|
+
/* args has been renamed to info, key group 2 */
|
|
164
|
+
groups.push([2, '(\\W)(args)(\\W)'])
|
|
165
|
+
|
|
166
|
+
/* node::ObjectWrap was replaced with NanObjectWrap, key group 2 */
|
|
167
|
+
groups.push([2, '(\\W)(?:node\\:\\:)?(ObjectWrap)(\\W)']);
|
|
168
|
+
|
|
169
|
+
/* v8::Persistent was replaced with NanPersistent, key group 2 */
|
|
170
|
+
groups.push([2, '(\\W)(?:v8\\:\\:)?(Persistent)(\\W)']);
|
|
171
|
+
|
|
172
|
+
/* counts the number of capturing groups in a well-formed regular expression,
|
|
173
|
+
ignoring non-capturing groups and escaped parentheses */
|
|
174
|
+
function groupcount(s) {
|
|
175
|
+
var positive = s.match(/\((?!\?)/g),
|
|
176
|
+
negative = s.match(/\\\(/g);
|
|
177
|
+
return (positive ? positive.length : 0) - (negative ? negative.length : 0);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* compute the absolute position of each key group in the joined master RegExp */
|
|
181
|
+
for (i = 1, length = groups.length; i < length; i++) {
|
|
182
|
+
total += groupcount(groups[i - 1][1]);
|
|
183
|
+
groups[i][0] += total;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* create the master RegExp, which is the union of all the groups' expressions */
|
|
187
|
+
master = new RegExp(groups.map(function (a) { return a[1]; }).join('|'), 'gm');
|
|
188
|
+
|
|
189
|
+
/* replacement function for String.replace, receives 21 arguments */
|
|
190
|
+
function replace() {
|
|
191
|
+
/* simple expressions */
|
|
192
|
+
switch (arguments[groups[0][0]]) {
|
|
193
|
+
case '_NAN_':
|
|
194
|
+
return 'NAN_';
|
|
195
|
+
case 'NODE_SET_METHOD':
|
|
196
|
+
return 'NanSetMethod';
|
|
197
|
+
case 'NODE_SET_PROTOTYPE_METHOD':
|
|
198
|
+
return 'NanSetPrototypeMethod';
|
|
199
|
+
case 'NanAsciiString':
|
|
200
|
+
return 'NanUtf8String';
|
|
201
|
+
case 'NanEscapeScope':
|
|
202
|
+
return 'scope.Escape';
|
|
203
|
+
case 'NanReturnNull':
|
|
204
|
+
return 'info.GetReturnValue().SetNull';
|
|
205
|
+
case 'NanReturnValue':
|
|
206
|
+
return 'info.GetReturnValue().Set';
|
|
207
|
+
case 'NanUcs2String':
|
|
208
|
+
return 'v8::String::Value';
|
|
209
|
+
default:
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* macros without arguments */
|
|
213
|
+
switch (arguments[groups[1][0]]) {
|
|
214
|
+
case 'NanEscapableScope':
|
|
215
|
+
return 'NanEscapableScope scope'
|
|
216
|
+
case 'NanReturnUndefined':
|
|
217
|
+
return 'return';
|
|
218
|
+
case 'NanScope':
|
|
219
|
+
return 'NanScope scope';
|
|
220
|
+
default:
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* TryCatch, emulate negative backref */
|
|
224
|
+
if (arguments[groups[2][0]] === 'TryCatch') {
|
|
225
|
+
return arguments[groups[2][0] - 1] ? arguments[0] : 'NanTryCatch';
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* NanNew("foo") --> NanNew("foo").ToLocalChecked() */
|
|
229
|
+
if (arguments[groups[3][0]] === 'NanNew') {
|
|
230
|
+
return [arguments[0], '.ToLocalChecked()'].join('');
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* insert warning for removed functions as comment on new line above */
|
|
234
|
+
switch (arguments[groups[4][0]]) {
|
|
235
|
+
case 'GetIndexedPropertiesExternalArrayData':
|
|
236
|
+
case 'GetIndexedPropertiesExternalArrayDataLength':
|
|
237
|
+
case 'GetIndexedPropertiesExternalArrayDataType':
|
|
238
|
+
case 'GetIndexedPropertiesPixelData':
|
|
239
|
+
case 'GetIndexedPropertiesPixelDataLength':
|
|
240
|
+
case 'HasIndexedPropertiesInExternalArrayData':
|
|
241
|
+
case 'HasIndexedPropertiesInPixelData':
|
|
242
|
+
case 'SetIndexedPropertiesToExternalArrayData':
|
|
243
|
+
case 'SetIndexedPropertiesToPixelData':
|
|
244
|
+
return arguments[groups[4][0] - 1] ? arguments[0] : [warning1, arguments[0]].join('');
|
|
245
|
+
default:
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* remove unnecessary NanScope() */
|
|
249
|
+
switch (arguments[groups[5][0]]) {
|
|
250
|
+
case 'NAN_GETTER':
|
|
251
|
+
case 'NAN_METHOD':
|
|
252
|
+
case 'NAN_SETTER':
|
|
253
|
+
case 'NAN_INDEX_DELETER':
|
|
254
|
+
case 'NAN_INDEX_ENUMERATOR':
|
|
255
|
+
case 'NAN_INDEX_GETTER':
|
|
256
|
+
case 'NAN_INDEX_QUERY':
|
|
257
|
+
case 'NAN_INDEX_SETTER':
|
|
258
|
+
case 'NAN_PROPERTY_DELETER':
|
|
259
|
+
case 'NAN_PROPERTY_ENUMERATOR':
|
|
260
|
+
case 'NAN_PROPERTY_GETTER':
|
|
261
|
+
case 'NAN_PROPERTY_QUERY':
|
|
262
|
+
case 'NAN_PROPERTY_SETTER':
|
|
263
|
+
return arguments[groups[5][0] - 1];
|
|
264
|
+
default:
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* Value conversion */
|
|
268
|
+
switch (arguments[groups[6][0]]) {
|
|
269
|
+
case 'Boolean':
|
|
270
|
+
case 'Int32':
|
|
271
|
+
case 'Integer':
|
|
272
|
+
case 'Number':
|
|
273
|
+
case 'Object':
|
|
274
|
+
case 'String':
|
|
275
|
+
case 'Uint32':
|
|
276
|
+
return [arguments[groups[6][0] - 2], 'NanTo<v8::', arguments[groups[6][0]], '>(', arguments[groups[6][0] - 1]].join('');
|
|
277
|
+
default:
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* other value conversion */
|
|
281
|
+
switch (arguments[groups[7][0]]) {
|
|
282
|
+
case 'BooleanValue':
|
|
283
|
+
return [arguments[groups[7][0] - 2], 'NanTo<bool>(', arguments[groups[7][0] - 1]].join('');
|
|
284
|
+
case 'Int32Value':
|
|
285
|
+
return [arguments[groups[7][0] - 2], 'NanTo<int32_t>(', arguments[groups[7][0] - 1]].join('');
|
|
286
|
+
case 'IntegerValue':
|
|
287
|
+
return [arguments[groups[7][0] - 2], 'NanTo<int64_t>(', arguments[groups[7][0] - 1]].join('');
|
|
288
|
+
case 'Uint32Value':
|
|
289
|
+
return [arguments[groups[7][0] - 2], 'NanTo<uint32_t>(', arguments[groups[7][0] - 1]].join('');
|
|
290
|
+
default:
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* NAN_WEAK_CALLBACK */
|
|
294
|
+
if (arguments[groups[8][0]] === 'NAN_WEAK_CALLBACK') {
|
|
295
|
+
return ['template<typename T>\nvoid ',
|
|
296
|
+
arguments[groups[8][0] + 1], '(const NanWeakCallbackInfo<T> &data)'].join('');
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/* use methods on NAN classes instead */
|
|
300
|
+
switch (arguments[groups[9][0]]) {
|
|
301
|
+
case 'NanDisposePersistent':
|
|
302
|
+
return [arguments[groups[9][0] + 1], '.Reset('].join('');
|
|
303
|
+
case 'NanObjectWrapHandle':
|
|
304
|
+
return [arguments[groups[9][0] + 1], '->handle('].join('');
|
|
305
|
+
default:
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* use method on NanPersistent instead */
|
|
309
|
+
if (arguments[groups[10][0]] === 'NanMakeWeakPersistent') {
|
|
310
|
+
return arguments[groups[10][0] + 1] + '.SetWeak(';
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* These return Maybes, the upper ones take no arguments */
|
|
314
|
+
switch (arguments[groups[11][0]]) {
|
|
315
|
+
case 'GetEndColumn':
|
|
316
|
+
case 'GetFunction':
|
|
317
|
+
case 'GetLineNumber':
|
|
318
|
+
case 'GetOwnPropertyNames':
|
|
319
|
+
case 'GetPropertyNames':
|
|
320
|
+
case 'GetSourceLine':
|
|
321
|
+
case 'GetStartColumn':
|
|
322
|
+
case 'NewInstance':
|
|
323
|
+
case 'ObjectProtoToString':
|
|
324
|
+
case 'ToArrayIndex':
|
|
325
|
+
case 'ToDetailString':
|
|
326
|
+
return [arguments[groups[11][0] - 2], 'Nan', arguments[groups[11][0]], '(', arguments[groups[11][0] - 1]].join('');
|
|
327
|
+
case 'CallAsConstructor':
|
|
328
|
+
case 'CallAsFunction':
|
|
329
|
+
case 'CloneElementAt':
|
|
330
|
+
case 'Delete':
|
|
331
|
+
case 'ForceSet':
|
|
332
|
+
case 'Get':
|
|
333
|
+
case 'GetPropertyAttributes':
|
|
334
|
+
case 'GetRealNamedProperty':
|
|
335
|
+
case 'GetRealNamedPropertyInPrototypeChain':
|
|
336
|
+
case 'Has':
|
|
337
|
+
case 'HasOwnProperty':
|
|
338
|
+
case 'HasRealIndexedProperty':
|
|
339
|
+
case 'HasRealNamedCallbackProperty':
|
|
340
|
+
case 'HasRealNamedProperty':
|
|
341
|
+
case 'Set':
|
|
342
|
+
case 'SetAccessor':
|
|
343
|
+
case 'SetIndexedPropertyHandler':
|
|
344
|
+
case 'SetNamedPropertyHandler':
|
|
345
|
+
case 'SetPrototype':
|
|
346
|
+
return [arguments[groups[11][0] - 2], 'Nan', arguments[groups[11][0]], '(', arguments[groups[11][0] - 1], ', '].join('');
|
|
347
|
+
default:
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Automatic ToLocalChecked(), take it or leave it */
|
|
351
|
+
switch (arguments[groups[12][0]]) {
|
|
352
|
+
case 'Date':
|
|
353
|
+
case 'String':
|
|
354
|
+
case 'RegExp':
|
|
355
|
+
return ['NanNew', arguments[groups[12][0] - 1], arguments[groups[12][0] + 1], '.ToLocalChecked()'].join('');
|
|
356
|
+
default:
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* NanEquals is now required for uniformity */
|
|
360
|
+
if (arguments[groups[13][0]] === 'Equals') {
|
|
361
|
+
return [arguments[groups[13][0] - 1], 'NanEquals(', arguments[groups[13][0] - 1], ', ', arguments[groups[13][0] + 1]].join('');
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/* use method on replacement class instead */
|
|
365
|
+
if (arguments[groups[14][0]] === 'NanAssignPersistent') {
|
|
366
|
+
return [arguments[groups[14][0] + 1], '.Reset('].join('');
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/* args --> info */
|
|
370
|
+
if (arguments[groups[15][0]] === 'args') {
|
|
371
|
+
return [arguments[groups[15][0] - 1], 'info', arguments[groups[15][0] + 1]].join('');
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* ObjectWrap --> NanObjectWrap */
|
|
375
|
+
if (arguments[groups[16][0]] === 'ObjectWrap') {
|
|
376
|
+
return [arguments[groups[16][0] - 1], 'NanObjectWrap', arguments[groups[16][0] + 1]].join('');
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* Persistent --> NanPersistent */
|
|
380
|
+
if (arguments[groups[17][0]] === 'Persistent') {
|
|
381
|
+
return [arguments[groups[17][0] - 1], 'NanPersistent', arguments[groups[17][0] + 1]].join('');
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/* This should not happen. A switch is probably missing a case if it does. */
|
|
385
|
+
throw 'Unhandled match: ' + arguments[0];
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* reads a file, runs replacement and writes it back */
|
|
389
|
+
function processFile(file) {
|
|
390
|
+
fs.readFile(file, {encoding: 'utf8'}, function (err, data) {
|
|
391
|
+
if (err) {
|
|
392
|
+
throw err;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/* run replacement twice, might need more runs */
|
|
396
|
+
fs.writeFile(file, data.replace(master, replace).replace(master, replace), function (err) {
|
|
397
|
+
if (err) {
|
|
398
|
+
throw err;
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/* process file names from command line and process the identified files */
|
|
405
|
+
for (i = 2, length = process.argv.length; i < length; i++) {
|
|
406
|
+
glob(process.argv[i], function (err, matches) {
|
|
407
|
+
if (err) {
|
|
408
|
+
throw err;
|
|
409
|
+
}
|
|
410
|
+
matches.forEach(processFile);
|
|
411
|
+
});
|
|
412
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
1to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions,
|
|
2
|
+
false positives and missed opportunities. The input files are rewritten in place. Make sure that
|
|
3
|
+
you have backups. You will have to manually review the changes afterwards and do some touchups.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
$ tools/1to2.js
|
|
7
|
+
|
|
8
|
+
Usage: 1to2 [options] <file ...>
|
|
9
|
+
|
|
10
|
+
Options:
|
|
11
|
+
|
|
12
|
+
-h, --help output usage information
|
|
13
|
+
-V, --version output the version number
|
|
14
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "1to2",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "NAN 1 -> 2 Migration Script",
|
|
5
|
+
"main": "1to2.js",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git://github.com/nodejs/nan.git"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
"Benjamin Byholm <bbyholm@abo.fi> (https://github.com/kkoopa/)",
|
|
12
|
+
"Mathias Küsel (https://github.com/mathiask88/)"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"glob": "~5.0.10",
|
|
16
|
+
"commander": "~2.8.1"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT"
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 inspiredware
|
|
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,48 @@
|
|
|
1
|
+
# napi-build-utils
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/napi-build-utils)
|
|
4
|
+

|
|
5
|
+
[](https://travis-ci.org/inspiredware/napi-build-utils)
|
|
6
|
+
[](http://standardjs.com/)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
|
|
9
|
+
A set of utilities to assist developers of tools that build [N-API](https://nodejs.org/api/n-api.html#n_api_n_api) native add-ons.
|
|
10
|
+
|
|
11
|
+
## Background
|
|
12
|
+
|
|
13
|
+
This module is targeted to developers creating tools that build N-API native add-ons.
|
|
14
|
+
|
|
15
|
+
It implements a set of functions that aid in determining the N-API version supported by the currently running Node instance and the set of N-API versions against which the N-API native add-on is designed to be built. Other functions determine whether a particular N-API version can be built and can issue console warnings for unsupported N-API versions.
|
|
16
|
+
|
|
17
|
+
Unlike the modules this code is designed to facilitate building, this module is written entirely in JavaScript.
|
|
18
|
+
|
|
19
|
+
## Quick start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
$ npm install napi-build-utils
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The module exports a set of functions documented [here](./index.md). For example:
|
|
26
|
+
|
|
27
|
+
```javascript
|
|
28
|
+
var napiBuildUtils = require('napi-build-utils');
|
|
29
|
+
var napiVersion = napiBuildUtils.getNapiVersion(); // N-API version supported by Node, or undefined.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Declaring supported N-API versions
|
|
33
|
+
|
|
34
|
+
Native modules that are designed to work with [N-API](https://nodejs.org/api/n-api.html#n_api_n_api) must explicitly declare the N-API version(s) against which they are coded to build. This is accomplished by including a `binary.napi_versions` property in the module's `package.json` file. For example:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
"binary": {
|
|
38
|
+
"napi_versions": [2,3]
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
In the absence of a need to compile against a specific N-API version, the value `3` is a good choice as this is the N-API version that was supported when N-API left experimental status.
|
|
43
|
+
|
|
44
|
+
Modules that are built against a specific N-API version will continue to operate indefinitely, even as later versions of N-API are introduced.
|
|
45
|
+
|
|
46
|
+
## Support
|
|
47
|
+
|
|
48
|
+
If you run into problems or limitations, please file an issue and we'll take a look. Pull requests are also welcome.
|