@cloudbase/manager-node 4.3.0 → 4.3.2
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/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +103 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +22 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +78 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +21 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +88 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +108 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +13 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +34 -0
- package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +76 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +20 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +4 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +310 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +21 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +344 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +15 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +13 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +8 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +15 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +48 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +106 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +29 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +151 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +24 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +16 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +84 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +8 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +65 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +114 -0
- package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +14 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +52 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +577 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +138 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +9 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +455 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +146 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +54 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +76 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +41 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +226 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +62 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +583 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +672 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +147 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +123 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +263 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +296 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +73 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +58 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +62 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +199 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +85 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +1 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +3049 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +128 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +676 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +72 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +166 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +356 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +340 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +156 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +73 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +95 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +305 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +437 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +38 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +412 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +14 -0
- package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +19 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +1053 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +34 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +24 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +273 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +2 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +204 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +138 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +28 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +8 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +5 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +45 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +115 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +11 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +261 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +230 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +15 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +328 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +39 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +63 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +310 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +415 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +26 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +168 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +188 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +146 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +12 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +43 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +81 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +52 -0
- package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +40 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +4 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +286 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +21 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +457 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +52 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +24 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +515 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +156 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +76 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +100 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +94 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +100 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +72 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +63 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +1 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +29 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +165 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
- package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +9 -0
- package/lib/cloudrun/index.js +216 -4
- package/lib/utils/index.js +37 -10
- package/package.json +1 -1
- package/types/cloudrun/index.d.ts +31 -1
|
@@ -0,0 +1,676 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* NAN - Native Abstractions for Node.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 NAN contributors
|
|
5
|
+
*
|
|
6
|
+
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
|
|
7
|
+
********************************************************************/
|
|
8
|
+
|
|
9
|
+
#ifndef NAN_CALLBACKS_12_INL_H_
|
|
10
|
+
#define NAN_CALLBACKS_12_INL_H_
|
|
11
|
+
|
|
12
|
+
template<typename T>
|
|
13
|
+
class ReturnValue {
|
|
14
|
+
v8::ReturnValue<T> value_;
|
|
15
|
+
|
|
16
|
+
public:
|
|
17
|
+
template <class S>
|
|
18
|
+
explicit inline ReturnValue(const v8::ReturnValue<S> &value) :
|
|
19
|
+
value_(value) {}
|
|
20
|
+
template <class S>
|
|
21
|
+
explicit inline ReturnValue(const ReturnValue<S>& that)
|
|
22
|
+
: value_(that.value_) {
|
|
23
|
+
TYPE_CHECK(T, S);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Handle setters
|
|
27
|
+
template <typename S> inline void Set(const v8::Local<S> &handle) {
|
|
28
|
+
TYPE_CHECK(T, S);
|
|
29
|
+
value_.Set(handle);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
template <typename S> inline void Set(const Global<S> &handle) {
|
|
33
|
+
TYPE_CHECK(T, S);
|
|
34
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
|
|
35
|
+
(V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && \
|
|
36
|
+
(V8_MINOR_VERSION > 5 || (V8_MINOR_VERSION == 5 && \
|
|
37
|
+
defined(V8_BUILD_NUMBER) && V8_BUILD_NUMBER >= 8))))
|
|
38
|
+
value_.Set(handle);
|
|
39
|
+
#else
|
|
40
|
+
value_.Set(*reinterpret_cast<const v8::Persistent<S>*>(&handle));
|
|
41
|
+
const_cast<Global<S> &>(handle).Reset();
|
|
42
|
+
#endif
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Fast primitive setters
|
|
46
|
+
inline void Set(bool value) {
|
|
47
|
+
TYPE_CHECK(T, v8::Boolean);
|
|
48
|
+
value_.Set(value);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
inline void Set(double i) {
|
|
52
|
+
TYPE_CHECK(T, v8::Number);
|
|
53
|
+
value_.Set(i);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
inline void Set(int32_t i) {
|
|
57
|
+
TYPE_CHECK(T, v8::Integer);
|
|
58
|
+
value_.Set(i);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
inline void Set(uint32_t i) {
|
|
62
|
+
TYPE_CHECK(T, v8::Integer);
|
|
63
|
+
value_.Set(i);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Fast JS primitive setters
|
|
67
|
+
inline void SetNull() {
|
|
68
|
+
TYPE_CHECK(T, v8::Primitive);
|
|
69
|
+
value_.SetNull();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
inline void SetUndefined() {
|
|
73
|
+
TYPE_CHECK(T, v8::Primitive);
|
|
74
|
+
value_.SetUndefined();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
inline void SetEmptyString() {
|
|
78
|
+
TYPE_CHECK(T, v8::String);
|
|
79
|
+
value_.SetEmptyString();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Convenience getter for isolate
|
|
83
|
+
inline v8::Isolate *GetIsolate() const {
|
|
84
|
+
return value_.GetIsolate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Pointer setter: Uncompilable to prevent inadvertent misuse.
|
|
88
|
+
template<typename S>
|
|
89
|
+
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
template<typename T>
|
|
93
|
+
class FunctionCallbackInfo {
|
|
94
|
+
const v8::FunctionCallbackInfo<T> &info_;
|
|
95
|
+
const v8::Local<v8::Value> data_;
|
|
96
|
+
|
|
97
|
+
public:
|
|
98
|
+
explicit inline FunctionCallbackInfo(
|
|
99
|
+
const v8::FunctionCallbackInfo<T> &info
|
|
100
|
+
, v8::Local<v8::Value> data) :
|
|
101
|
+
info_(info)
|
|
102
|
+
, data_(data) {}
|
|
103
|
+
|
|
104
|
+
inline ReturnValue<T> GetReturnValue() const {
|
|
105
|
+
return ReturnValue<T>(info_.GetReturnValue());
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
#if NODE_MAJOR_VERSION < 10
|
|
109
|
+
inline v8::Local<v8::Function> Callee() const { return info_.Callee(); }
|
|
110
|
+
#endif
|
|
111
|
+
inline v8::Local<v8::Value> Data() const { return data_; }
|
|
112
|
+
inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
|
|
113
|
+
inline bool IsConstructCall() const { return info_.IsConstructCall(); }
|
|
114
|
+
inline int Length() const { return info_.Length(); }
|
|
115
|
+
inline v8::Local<v8::Value> operator[](int i) const { return info_[i]; }
|
|
116
|
+
inline v8::Local<v8::Object> This() const { return info_.This(); }
|
|
117
|
+
inline v8::Isolate *GetIsolate() const { return info_.GetIsolate(); }
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
protected:
|
|
121
|
+
static const int kHolderIndex = 0;
|
|
122
|
+
static const int kIsolateIndex = 1;
|
|
123
|
+
static const int kReturnValueDefaultValueIndex = 2;
|
|
124
|
+
static const int kReturnValueIndex = 3;
|
|
125
|
+
static const int kDataIndex = 4;
|
|
126
|
+
static const int kCalleeIndex = 5;
|
|
127
|
+
static const int kContextSaveIndex = 6;
|
|
128
|
+
static const int kArgsLength = 7;
|
|
129
|
+
|
|
130
|
+
private:
|
|
131
|
+
NAN_DISALLOW_ASSIGN_COPY_MOVE(FunctionCallbackInfo)
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
template<typename T>
|
|
135
|
+
class PropertyCallbackInfo {
|
|
136
|
+
const v8::PropertyCallbackInfo<T> &info_;
|
|
137
|
+
const v8::Local<v8::Value> data_;
|
|
138
|
+
|
|
139
|
+
public:
|
|
140
|
+
explicit inline PropertyCallbackInfo(
|
|
141
|
+
const v8::PropertyCallbackInfo<T> &info
|
|
142
|
+
, const v8::Local<v8::Value> data) :
|
|
143
|
+
info_(info)
|
|
144
|
+
, data_(data) {}
|
|
145
|
+
|
|
146
|
+
inline v8::Isolate* GetIsolate() const { return info_.GetIsolate(); }
|
|
147
|
+
inline v8::Local<v8::Value> Data() const { return data_; }
|
|
148
|
+
inline v8::Local<v8::Object> This() const { return info_.This(); }
|
|
149
|
+
inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
|
|
150
|
+
inline ReturnValue<T> GetReturnValue() const {
|
|
151
|
+
return ReturnValue<T>(info_.GetReturnValue());
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
protected:
|
|
155
|
+
static const int kHolderIndex = 0;
|
|
156
|
+
static const int kIsolateIndex = 1;
|
|
157
|
+
static const int kReturnValueDefaultValueIndex = 2;
|
|
158
|
+
static const int kReturnValueIndex = 3;
|
|
159
|
+
static const int kDataIndex = 4;
|
|
160
|
+
static const int kThisIndex = 5;
|
|
161
|
+
static const int kArgsLength = 6;
|
|
162
|
+
|
|
163
|
+
private:
|
|
164
|
+
NAN_DISALLOW_ASSIGN_COPY_MOVE(PropertyCallbackInfo)
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
namespace imp {
|
|
168
|
+
static
|
|
169
|
+
void FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value> &info) {
|
|
170
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
171
|
+
FunctionCallback callback = reinterpret_cast<FunctionCallback>(
|
|
172
|
+
reinterpret_cast<intptr_t>(
|
|
173
|
+
obj->GetInternalField(kFunctionIndex)
|
|
174
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
175
|
+
FunctionCallbackInfo<v8::Value>
|
|
176
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
177
|
+
callback(cbinfo);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
typedef void (*NativeFunction)(const v8::FunctionCallbackInfo<v8::Value> &);
|
|
181
|
+
|
|
182
|
+
#if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
|
|
183
|
+
static
|
|
184
|
+
void GetterCallbackWrapper(
|
|
185
|
+
v8::Local<v8::Name> property
|
|
186
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
187
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
188
|
+
PropertyCallbackInfo<v8::Value>
|
|
189
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
190
|
+
GetterCallback callback = reinterpret_cast<GetterCallback>(
|
|
191
|
+
reinterpret_cast<intptr_t>(
|
|
192
|
+
obj->GetInternalField(kGetterIndex)
|
|
193
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
194
|
+
callback(property.As<v8::String>(), cbinfo);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
typedef void (*NativeGetter)
|
|
198
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
199
|
+
|
|
200
|
+
static
|
|
201
|
+
void SetterCallbackWrapper(
|
|
202
|
+
v8::Local<v8::Name> property
|
|
203
|
+
, v8::Local<v8::Value> value
|
|
204
|
+
, const v8::PropertyCallbackInfo<void> &info) {
|
|
205
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
206
|
+
PropertyCallbackInfo<void>
|
|
207
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
208
|
+
SetterCallback callback = reinterpret_cast<SetterCallback>(
|
|
209
|
+
reinterpret_cast<intptr_t>(
|
|
210
|
+
obj->GetInternalField(kSetterIndex)
|
|
211
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
212
|
+
callback(property.As<v8::String>(), value, cbinfo);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
typedef void (*NativeSetter)(
|
|
216
|
+
v8::Local<v8::Name>
|
|
217
|
+
, v8::Local<v8::Value>
|
|
218
|
+
, const v8::PropertyCallbackInfo<void> &);
|
|
219
|
+
#else
|
|
220
|
+
static
|
|
221
|
+
void GetterCallbackWrapper(
|
|
222
|
+
v8::Local<v8::String> property
|
|
223
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
224
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
225
|
+
PropertyCallbackInfo<v8::Value>
|
|
226
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
227
|
+
GetterCallback callback = reinterpret_cast<GetterCallback>(
|
|
228
|
+
reinterpret_cast<intptr_t>(
|
|
229
|
+
obj->GetInternalField(kGetterIndex)
|
|
230
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
231
|
+
callback(property, cbinfo);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
typedef void (*NativeGetter)
|
|
235
|
+
(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
236
|
+
|
|
237
|
+
static
|
|
238
|
+
void SetterCallbackWrapper(
|
|
239
|
+
v8::Local<v8::String> property
|
|
240
|
+
, v8::Local<v8::Value> value
|
|
241
|
+
, const v8::PropertyCallbackInfo<void> &info) {
|
|
242
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
243
|
+
PropertyCallbackInfo<void>
|
|
244
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
245
|
+
SetterCallback callback = reinterpret_cast<SetterCallback>(
|
|
246
|
+
reinterpret_cast<intptr_t>(
|
|
247
|
+
obj->GetInternalField(kSetterIndex)
|
|
248
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
249
|
+
callback(property, value, cbinfo);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
typedef void (*NativeSetter)(
|
|
253
|
+
v8::Local<v8::String>
|
|
254
|
+
, v8::Local<v8::Value>
|
|
255
|
+
, const v8::PropertyCallbackInfo<void> &);
|
|
256
|
+
#endif
|
|
257
|
+
|
|
258
|
+
#if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
|
|
259
|
+
|
|
260
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
|
|
261
|
+
(V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
|
|
262
|
+
static
|
|
263
|
+
v8::Intercepted PropertyGetterCallbackWrapper(
|
|
264
|
+
v8::Local<v8::Name> property
|
|
265
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
266
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
267
|
+
PropertyCallbackInfo<v8::Value>
|
|
268
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
269
|
+
PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
|
|
270
|
+
reinterpret_cast<intptr_t>(
|
|
271
|
+
obj->GetInternalField(kPropertyGetterIndex)
|
|
272
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
273
|
+
return callback(property.As<v8::String>(), cbinfo);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
typedef v8::Intercepted (*NativePropertyGetter)
|
|
277
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
278
|
+
|
|
279
|
+
static
|
|
280
|
+
v8::Intercepted PropertySetterCallbackWrapper(
|
|
281
|
+
v8::Local<v8::Name> property
|
|
282
|
+
, v8::Local<v8::Value> value
|
|
283
|
+
, const v8::PropertyCallbackInfo<void> &info) {
|
|
284
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
285
|
+
PropertyCallbackInfo<void>
|
|
286
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
287
|
+
PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
|
|
288
|
+
reinterpret_cast<intptr_t>(
|
|
289
|
+
obj->GetInternalField(kPropertySetterIndex)
|
|
290
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
291
|
+
return callback(property.As<v8::String>(), value, cbinfo);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
typedef v8::Intercepted (*NativePropertySetter)(
|
|
295
|
+
v8::Local<v8::Name>
|
|
296
|
+
, v8::Local<v8::Value>
|
|
297
|
+
, const v8::PropertyCallbackInfo<void> &);
|
|
298
|
+
|
|
299
|
+
#else
|
|
300
|
+
static
|
|
301
|
+
void PropertyGetterCallbackWrapper(
|
|
302
|
+
v8::Local<v8::Name> property
|
|
303
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
304
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
305
|
+
PropertyCallbackInfo<v8::Value>
|
|
306
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
307
|
+
PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
|
|
308
|
+
reinterpret_cast<intptr_t>(
|
|
309
|
+
obj->GetInternalField(kPropertyGetterIndex)
|
|
310
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
311
|
+
callback(property.As<v8::String>(), cbinfo);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
typedef void (*NativePropertyGetter)
|
|
315
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
316
|
+
|
|
317
|
+
static
|
|
318
|
+
void PropertySetterCallbackWrapper(
|
|
319
|
+
v8::Local<v8::Name> property
|
|
320
|
+
, v8::Local<v8::Value> value
|
|
321
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
322
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
323
|
+
PropertyCallbackInfo<v8::Value>
|
|
324
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
325
|
+
PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
|
|
326
|
+
reinterpret_cast<intptr_t>(
|
|
327
|
+
obj->GetInternalField(kPropertySetterIndex)
|
|
328
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
329
|
+
callback(property.As<v8::String>(), value, cbinfo);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
typedef void (*NativePropertySetter)(
|
|
333
|
+
v8::Local<v8::Name>
|
|
334
|
+
, v8::Local<v8::Value>
|
|
335
|
+
, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
336
|
+
#endif
|
|
337
|
+
|
|
338
|
+
static
|
|
339
|
+
void PropertyEnumeratorCallbackWrapper(
|
|
340
|
+
const v8::PropertyCallbackInfo<v8::Array> &info) {
|
|
341
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
342
|
+
PropertyCallbackInfo<v8::Array>
|
|
343
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
344
|
+
PropertyEnumeratorCallback callback =
|
|
345
|
+
reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
|
|
346
|
+
obj->GetInternalField(kPropertyEnumeratorIndex)
|
|
347
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
348
|
+
callback(cbinfo);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
typedef void (*NativePropertyEnumerator)
|
|
352
|
+
(const v8::PropertyCallbackInfo<v8::Array> &);
|
|
353
|
+
|
|
354
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
|
|
355
|
+
(V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
|
|
356
|
+
static
|
|
357
|
+
v8::Intercepted PropertyDeleterCallbackWrapper(
|
|
358
|
+
v8::Local<v8::Name> property
|
|
359
|
+
, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
|
|
360
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
361
|
+
PropertyCallbackInfo<v8::Boolean>
|
|
362
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
363
|
+
PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
|
|
364
|
+
reinterpret_cast<intptr_t>(
|
|
365
|
+
obj->GetInternalField(kPropertyDeleterIndex)
|
|
366
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
367
|
+
return callback(property.As<v8::String>(), cbinfo);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
typedef v8::Intercepted (NativePropertyDeleter)
|
|
371
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean> &);
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
static
|
|
375
|
+
v8::Intercepted PropertyQueryCallbackWrapper(
|
|
376
|
+
v8::Local<v8::Name> property
|
|
377
|
+
, const v8::PropertyCallbackInfo<v8::Integer> &info) {
|
|
378
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
379
|
+
PropertyCallbackInfo<v8::Integer>
|
|
380
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
381
|
+
PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
|
|
382
|
+
reinterpret_cast<intptr_t>(
|
|
383
|
+
obj->GetInternalField(kPropertyQueryIndex)
|
|
384
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
385
|
+
return callback(property.As<v8::String>(), cbinfo);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
typedef v8::Intercepted (*NativePropertyQuery)
|
|
389
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer> &);
|
|
390
|
+
#else
|
|
391
|
+
static
|
|
392
|
+
void PropertyDeleterCallbackWrapper(
|
|
393
|
+
v8::Local<v8::Name> property
|
|
394
|
+
, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
|
|
395
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
396
|
+
PropertyCallbackInfo<v8::Boolean>
|
|
397
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
398
|
+
PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
|
|
399
|
+
reinterpret_cast<intptr_t>(
|
|
400
|
+
obj->GetInternalField(kPropertyDeleterIndex)
|
|
401
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
402
|
+
callback(property.As<v8::String>(), cbinfo);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
typedef void (NativePropertyDeleter)
|
|
406
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean> &);
|
|
407
|
+
|
|
408
|
+
static
|
|
409
|
+
void PropertyQueryCallbackWrapper(
|
|
410
|
+
v8::Local<v8::Name> property
|
|
411
|
+
, const v8::PropertyCallbackInfo<v8::Integer> &info) {
|
|
412
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
413
|
+
PropertyCallbackInfo<v8::Integer>
|
|
414
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
415
|
+
PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
|
|
416
|
+
reinterpret_cast<intptr_t>(
|
|
417
|
+
obj->GetInternalField(kPropertyQueryIndex)
|
|
418
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
419
|
+
callback(property.As<v8::String>(), cbinfo);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
typedef void (*NativePropertyQuery)
|
|
423
|
+
(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer> &);
|
|
424
|
+
#endif
|
|
425
|
+
#else
|
|
426
|
+
static
|
|
427
|
+
void PropertyGetterCallbackWrapper(
|
|
428
|
+
v8::Local<v8::String> property
|
|
429
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
430
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
431
|
+
PropertyCallbackInfo<v8::Value>
|
|
432
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
433
|
+
PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
|
|
434
|
+
reinterpret_cast<intptr_t>(
|
|
435
|
+
obj->GetInternalField(kPropertyGetterIndex)
|
|
436
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
437
|
+
callback(property, cbinfo);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
typedef void (*NativePropertyGetter)
|
|
441
|
+
(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
442
|
+
|
|
443
|
+
static
|
|
444
|
+
void PropertySetterCallbackWrapper(
|
|
445
|
+
v8::Local<v8::String> property
|
|
446
|
+
, v8::Local<v8::Value> value
|
|
447
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
448
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
449
|
+
PropertyCallbackInfo<v8::Value>
|
|
450
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
451
|
+
PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
|
|
452
|
+
reinterpret_cast<intptr_t>(
|
|
453
|
+
obj->GetInternalField(kPropertySetterIndex)
|
|
454
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
455
|
+
callback(property, value, cbinfo);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
typedef void (*NativePropertySetter)(
|
|
459
|
+
v8::Local<v8::String>
|
|
460
|
+
, v8::Local<v8::Value>
|
|
461
|
+
, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
462
|
+
|
|
463
|
+
static
|
|
464
|
+
void PropertyEnumeratorCallbackWrapper(
|
|
465
|
+
const v8::PropertyCallbackInfo<v8::Array> &info) {
|
|
466
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
467
|
+
PropertyCallbackInfo<v8::Array>
|
|
468
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
469
|
+
PropertyEnumeratorCallback callback =
|
|
470
|
+
reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
|
|
471
|
+
obj->GetInternalField(kPropertyEnumeratorIndex)
|
|
472
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
473
|
+
callback(cbinfo);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
typedef void (*NativePropertyEnumerator)
|
|
477
|
+
(const v8::PropertyCallbackInfo<v8::Array> &);
|
|
478
|
+
|
|
479
|
+
static
|
|
480
|
+
void PropertyDeleterCallbackWrapper(
|
|
481
|
+
v8::Local<v8::String> property
|
|
482
|
+
, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
|
|
483
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
484
|
+
PropertyCallbackInfo<v8::Boolean>
|
|
485
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
486
|
+
PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
|
|
487
|
+
reinterpret_cast<intptr_t>(
|
|
488
|
+
obj->GetInternalField(kPropertyDeleterIndex)
|
|
489
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
490
|
+
callback(property, cbinfo);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
typedef void (NativePropertyDeleter)
|
|
494
|
+
(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Boolean> &);
|
|
495
|
+
|
|
496
|
+
static
|
|
497
|
+
void PropertyQueryCallbackWrapper(
|
|
498
|
+
v8::Local<v8::String> property
|
|
499
|
+
, const v8::PropertyCallbackInfo<v8::Integer> &info) {
|
|
500
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
501
|
+
PropertyCallbackInfo<v8::Integer>
|
|
502
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
503
|
+
PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
|
|
504
|
+
reinterpret_cast<intptr_t>(
|
|
505
|
+
obj->GetInternalField(kPropertyQueryIndex)
|
|
506
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
507
|
+
callback(property, cbinfo);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
typedef void (*NativePropertyQuery)
|
|
511
|
+
(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Integer> &);
|
|
512
|
+
#endif
|
|
513
|
+
|
|
514
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
|
|
515
|
+
(V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
|
|
516
|
+
static
|
|
517
|
+
v8::Intercepted IndexGetterCallbackWrapper(
|
|
518
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
519
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
520
|
+
PropertyCallbackInfo<v8::Value>
|
|
521
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
522
|
+
IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
|
|
523
|
+
reinterpret_cast<intptr_t>(
|
|
524
|
+
obj->GetInternalField(kIndexPropertyGetterIndex)
|
|
525
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
526
|
+
return callback(index, cbinfo);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
typedef v8::Intercepted (*NativeIndexGetter)
|
|
530
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
531
|
+
|
|
532
|
+
static
|
|
533
|
+
v8::Intercepted IndexSetterCallbackWrapper(
|
|
534
|
+
uint32_t index
|
|
535
|
+
, v8::Local<v8::Value> value
|
|
536
|
+
, const v8::PropertyCallbackInfo<void> &info) {
|
|
537
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
538
|
+
PropertyCallbackInfo<void>
|
|
539
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
540
|
+
IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
|
|
541
|
+
reinterpret_cast<intptr_t>(
|
|
542
|
+
obj->GetInternalField(kIndexPropertySetterIndex)
|
|
543
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
544
|
+
return callback(index, value, cbinfo);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
typedef v8::Intercepted (*NativeIndexSetter)(
|
|
548
|
+
uint32_t
|
|
549
|
+
, v8::Local<v8::Value>
|
|
550
|
+
, const v8::PropertyCallbackInfo<void> &);
|
|
551
|
+
|
|
552
|
+
#else
|
|
553
|
+
static
|
|
554
|
+
void IndexGetterCallbackWrapper(
|
|
555
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
556
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
557
|
+
PropertyCallbackInfo<v8::Value>
|
|
558
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
559
|
+
IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
|
|
560
|
+
reinterpret_cast<intptr_t>(
|
|
561
|
+
obj->GetInternalField(kIndexPropertyGetterIndex)
|
|
562
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
563
|
+
callback(index, cbinfo);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
typedef void (*NativeIndexGetter)
|
|
567
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
568
|
+
static
|
|
569
|
+
void IndexSetterCallbackWrapper(
|
|
570
|
+
uint32_t index
|
|
571
|
+
, v8::Local<v8::Value> value
|
|
572
|
+
, const v8::PropertyCallbackInfo<v8::Value> &info) {
|
|
573
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
574
|
+
PropertyCallbackInfo<v8::Value>
|
|
575
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
576
|
+
IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
|
|
577
|
+
reinterpret_cast<intptr_t>(
|
|
578
|
+
obj->GetInternalField(kIndexPropertySetterIndex)
|
|
579
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
580
|
+
callback(index, value, cbinfo);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
typedef void (*NativeIndexSetter)(
|
|
584
|
+
uint32_t
|
|
585
|
+
, v8::Local<v8::Value>
|
|
586
|
+
, const v8::PropertyCallbackInfo<v8::Value> &);
|
|
587
|
+
|
|
588
|
+
#endif
|
|
589
|
+
|
|
590
|
+
static
|
|
591
|
+
void IndexEnumeratorCallbackWrapper(
|
|
592
|
+
const v8::PropertyCallbackInfo<v8::Array> &info) {
|
|
593
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
594
|
+
PropertyCallbackInfo<v8::Array>
|
|
595
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
596
|
+
IndexEnumeratorCallback callback = reinterpret_cast<IndexEnumeratorCallback>(
|
|
597
|
+
reinterpret_cast<intptr_t>(
|
|
598
|
+
obj->GetInternalField(
|
|
599
|
+
kIndexPropertyEnumeratorIndex)
|
|
600
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
601
|
+
callback(cbinfo);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
typedef void (*NativeIndexEnumerator)
|
|
605
|
+
(const v8::PropertyCallbackInfo<v8::Array> &);
|
|
606
|
+
|
|
607
|
+
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
|
|
608
|
+
(V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
|
|
609
|
+
static
|
|
610
|
+
v8::Intercepted IndexDeleterCallbackWrapper(
|
|
611
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
|
|
612
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
613
|
+
PropertyCallbackInfo<v8::Boolean>
|
|
614
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
615
|
+
IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
|
|
616
|
+
reinterpret_cast<intptr_t>(
|
|
617
|
+
obj->GetInternalField(kIndexPropertyDeleterIndex)
|
|
618
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
619
|
+
return callback(index, cbinfo);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
typedef v8::Intercepted (*NativeIndexDeleter)
|
|
623
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &);
|
|
624
|
+
|
|
625
|
+
static
|
|
626
|
+
v8::Intercepted IndexQueryCallbackWrapper(
|
|
627
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) {
|
|
628
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
629
|
+
PropertyCallbackInfo<v8::Integer>
|
|
630
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
631
|
+
IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
|
|
632
|
+
reinterpret_cast<intptr_t>(
|
|
633
|
+
obj->GetInternalField(kIndexPropertyQueryIndex)
|
|
634
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
635
|
+
return callback(index, cbinfo);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
typedef v8::Intercepted (*NativeIndexQuery)
|
|
639
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &);
|
|
640
|
+
#else
|
|
641
|
+
static
|
|
642
|
+
void IndexDeleterCallbackWrapper(
|
|
643
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
|
|
644
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
645
|
+
PropertyCallbackInfo<v8::Boolean>
|
|
646
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
647
|
+
IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
|
|
648
|
+
reinterpret_cast<intptr_t>(
|
|
649
|
+
obj->GetInternalField(kIndexPropertyDeleterIndex)
|
|
650
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
651
|
+
callback(index, cbinfo);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
typedef void (*NativeIndexDeleter)
|
|
655
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &);
|
|
656
|
+
|
|
657
|
+
static
|
|
658
|
+
void IndexQueryCallbackWrapper(
|
|
659
|
+
uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) {
|
|
660
|
+
v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
|
|
661
|
+
PropertyCallbackInfo<v8::Integer>
|
|
662
|
+
cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
|
|
663
|
+
IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
|
|
664
|
+
reinterpret_cast<intptr_t>(
|
|
665
|
+
obj->GetInternalField(kIndexPropertyQueryIndex)
|
|
666
|
+
.As<v8::Value>().As<v8::External>()->Value()));
|
|
667
|
+
callback(index, cbinfo);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
typedef void (*NativeIndexQuery)
|
|
671
|
+
(uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &);
|
|
672
|
+
|
|
673
|
+
#endif
|
|
674
|
+
} // end of namespace imp
|
|
675
|
+
|
|
676
|
+
#endif // NAN_CALLBACKS_12_INL_H_
|