@proteinjs/reflection-build 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test/examples/source-repository/a/generated/index.js +1 -1
- package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
- package/package.json +4 -5
- package/test/examples/source-repository/a/dist/generated/index.js +1 -1
- package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/a/generated/index.ts +33 -38
- package/test/examples/source-repository/a/node_modules/.package-lock.json +63 -6
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.eslintrc.js +20 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierignore +4 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierrc +8 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/CHANGELOG.md +58 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.d.ts +5 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js +18 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +19 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +555 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +3 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js +5 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +45 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +176 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +11 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +9 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +13 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +19 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.d.ts +221 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js +234 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js.map +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/index.ts +5 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/jest.config.js +9 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/package.json +42 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +702 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/Loadable.ts +2 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepository.ts +250 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +15 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +14 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/types.ts +236 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/tsconfig.json +19 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/CHANGELOG.md +11 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/PackageUtil.js +19 -11
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/PackageUtil.js.map +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/package.json +2 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/src/PackageUtil.ts +4 -0
- package/test/examples/source-repository/a/node_modules/bindings/LICENSE.md +22 -0
- package/test/examples/source-repository/a/node_modules/bindings/README.md +98 -0
- package/test/examples/source-repository/a/node_modules/bindings/bindings.js +221 -0
- package/test/examples/source-repository/a/node_modules/bindings/package.json +28 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/.travis.yml +30 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/History.md +21 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/LICENSE +20 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/README.md +74 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.d.ts +2 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.js +66 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/package.json +32 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/test.js +24 -0
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/tests.json +13 -0
- package/test/examples/source-repository/a/node_modules/fsevents/LICENSE +22 -0
- package/test/examples/source-repository/a/node_modules/fsevents/README.md +89 -0
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.d.ts +46 -0
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.js +83 -0
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.node +0 -0
- package/test/examples/source-repository/a/node_modules/fsevents/package.json +62 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +103 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
- package/{LICENSE → test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/LICENSE} +6 -5
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/Readme.md +78 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +21 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +53 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +352 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +79 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +6 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +191 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +766 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +88 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +106 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/install.js +13 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/package.json +34 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +43 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +110 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +44 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +27 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +71 -0
- package/test/examples/source-repository/a/node_modules/nan/CHANGELOG.md +557 -0
- package/test/examples/source-repository/a/node_modules/nan/CMakeLists.txt +138 -0
- package/test/examples/source-repository/a/node_modules/nan/LICENSE.md +9 -0
- package/test/examples/source-repository/a/node_modules/nan/README.md +456 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/asyncworker.md +146 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/buffers.md +54 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/callback.md +76 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/converters.md +41 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/errors.md +226 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/json.md +62 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/maybe_types.md +583 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/methods.md +672 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/new.md +147 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/node_misc.md +123 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/object_wrappers.md +263 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/persistent.md +296 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/scopes.md +73 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/script.md +58 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/string_bytes.md +62 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/v8_internals.md +199 -0
- package/test/examples/source-repository/a/node_modules/nan/doc/v8_misc.md +85 -0
- package/test/examples/source-repository/a/node_modules/nan/include_dirs.js +1 -0
- package/test/examples/source-repository/a/node_modules/nan/nan.h +2958 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks.h +92 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_12_inl.h +520 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_converters.h +72 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_json.h +166 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_maybe_43_inl.h +356 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_new.h +340 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_object_wrap.h +156 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_private.h +73 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_scriptorigin.h +76 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_string_bytes.h +305 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/test/examples/source-repository/a/node_modules/nan/nan_weak.h +437 -0
- package/test/examples/source-repository/a/node_modules/nan/package.json +38 -0
- package/test/examples/source-repository/a/node_modules/nan/tools/1to2.js +412 -0
- package/test/examples/source-repository/a/node_modules/nan/tools/README.md +14 -0
- package/test/examples/source-repository/a/node_modules/nan/tools/package.json +19 -0
- package/test/examples/source-repository/a/package-lock.json +12 -8
- package/test/examples/source-repository/a/package.json +3 -3
- package/test/examples/source-repository/b/dist/generated/index.js +1 -1
- package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/b/generated/index.ts +11 -10
- package/test/examples/source-repository/b/node_modules/.package-lock.json +61 -4
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.eslintrc.js +20 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierignore +4 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierrc +8 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/CHANGELOG.md +58 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.d.ts +5 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js +18 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +19 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +555 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +3 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js +5 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +45 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +176 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +11 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +9 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +13 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +19 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.d.ts +221 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js +234 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js.map +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/index.ts +5 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/jest.config.js +9 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/package.json +42 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +702 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/Loadable.ts +2 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepository.ts +250 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +15 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +14 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/types.ts +236 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/tsconfig.json +19 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/CHANGELOG.md +11 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/PackageUtil.js +19 -11
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/PackageUtil.js.map +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/package.json +2 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/src/PackageUtil.ts +4 -0
- package/test/examples/source-repository/b/node_modules/bindings/LICENSE.md +22 -0
- package/test/examples/source-repository/b/node_modules/bindings/README.md +98 -0
- package/test/examples/source-repository/b/node_modules/bindings/bindings.js +221 -0
- package/test/examples/source-repository/b/node_modules/bindings/package.json +28 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/.travis.yml +30 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/History.md +21 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/LICENSE +20 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/README.md +74 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.d.ts +2 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.js +66 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/package.json +32 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/test.js +24 -0
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/tests.json +13 -0
- package/test/examples/source-repository/b/node_modules/fsevents/LICENSE +22 -0
- package/test/examples/source-repository/b/node_modules/fsevents/README.md +89 -0
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.d.ts +46 -0
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.js +83 -0
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.node +0 -0
- package/test/examples/source-repository/b/node_modules/fsevents/package.json +62 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +103 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/LICENSE +22 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/Readme.md +78 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +21 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +53 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +352 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +79 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +6 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +191 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +766 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +88 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +106 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/install.js +13 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/package.json +34 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +43 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +110 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +44 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +27 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +71 -0
- package/test/examples/source-repository/b/node_modules/nan/CHANGELOG.md +557 -0
- package/test/examples/source-repository/b/node_modules/nan/CMakeLists.txt +138 -0
- package/test/examples/source-repository/b/node_modules/nan/LICENSE.md +9 -0
- package/test/examples/source-repository/b/node_modules/nan/README.md +456 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/asyncworker.md +146 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/buffers.md +54 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/callback.md +76 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/converters.md +41 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/errors.md +226 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/json.md +62 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/maybe_types.md +583 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/methods.md +672 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/new.md +147 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/node_misc.md +123 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/object_wrappers.md +263 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/persistent.md +296 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/scopes.md +73 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/script.md +58 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/string_bytes.md +62 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/v8_internals.md +199 -0
- package/test/examples/source-repository/b/node_modules/nan/doc/v8_misc.md +85 -0
- package/test/examples/source-repository/b/node_modules/nan/include_dirs.js +1 -0
- package/test/examples/source-repository/b/node_modules/nan/nan.h +2958 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks.h +92 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_12_inl.h +520 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_converters.h +72 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_json.h +166 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_maybe_43_inl.h +356 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_new.h +340 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_object_wrap.h +156 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_private.h +73 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_scriptorigin.h +76 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_string_bytes.h +305 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/test/examples/source-repository/b/node_modules/nan/nan_weak.h +437 -0
- package/test/examples/source-repository/b/node_modules/nan/package.json +38 -0
- package/test/examples/source-repository/b/node_modules/nan/tools/1to2.js +412 -0
- package/test/examples/source-repository/b/node_modules/nan/tools/README.md +14 -0
- package/test/examples/source-repository/b/node_modules/nan/tools/package.json +19 -0
- package/test/examples/source-repository/b/package-lock.json +10 -6
- package/test/examples/source-repository/b/package.json +3 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"file://host/path": "\\\\host\\path",
|
|
3
|
+
"file://localhost/etc/fstab": "\\etc\\fstab",
|
|
4
|
+
"file:///etc/fstab": "\\etc\\fstab",
|
|
5
|
+
"file:///c:/WINDOWS/clock.avi": "c:\\WINDOWS\\clock.avi",
|
|
6
|
+
"file://localhost/c|/WINDOWS/clock.avi": "c:\\WINDOWS\\clock.avi",
|
|
7
|
+
"file:///c|/WINDOWS/clock.avi": "c:\\WINDOWS\\clock.avi",
|
|
8
|
+
"file://localhost/c:/WINDOWS/clock.avi": "c:\\WINDOWS\\clock.avi",
|
|
9
|
+
"file://hostname/path/to/the%20file.txt": "\\\\hostname\\path\\to\\the file.txt",
|
|
10
|
+
"file:///c:/path/to/the%20file.txt": "c:\\path\\to\\the file.txt",
|
|
11
|
+
"file:///C:/Documents%20and%20Settings/davris/FileSchemeURIs.doc": "C:\\Documents and Settings\\davris\\FileSchemeURIs.doc",
|
|
12
|
+
"file:///C:/caf%C3%A9/%C3%A5r/d%C3%BCnn/%E7%89%9B%E9%93%83/Ph%E1%BB%9F/%F0%9F%98%B5.exe": "C:\\café\\år\\dünn\\牛铃\\Phở\\😵.exe"
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
-----------
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2010-2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# fsevents
|
|
2
|
+
|
|
3
|
+
Native access to MacOS FSEvents in [Node.js](https://nodejs.org/)
|
|
4
|
+
|
|
5
|
+
The FSEvents API in MacOS allows applications to register for notifications of
|
|
6
|
+
changes to a given directory tree. It is a very fast and lightweight alternative
|
|
7
|
+
to kqueue.
|
|
8
|
+
|
|
9
|
+
This is a low-level library. For a cross-platform file watching module that
|
|
10
|
+
uses fsevents, check out [Chokidar](https://github.com/paulmillr/chokidar).
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install fsevents
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Supports only **Node.js v8.16 and higher**.
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
const fsevents = require('fsevents');
|
|
22
|
+
|
|
23
|
+
// To start observation
|
|
24
|
+
const stop = fsevents.watch(__dirname, (path, flags, id) => {
|
|
25
|
+
const info = fsevents.getInfo(path, flags);
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// To end observation
|
|
29
|
+
stop();
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
> **Important note:** The API behaviour is slightly different from typical JS APIs. The `stop` function **must** be
|
|
33
|
+
> retrieved and stored somewhere, even if you don't plan to stop the watcher. If you forget it, the garbage collector
|
|
34
|
+
> will eventually kick in, the watcher will be unregistered, and your callbacks won't be called anymore.
|
|
35
|
+
|
|
36
|
+
The callback passed as the second parameter to `.watch` get's called whenever the operating system detects a
|
|
37
|
+
a change in the file system. It takes three arguments:
|
|
38
|
+
|
|
39
|
+
###### `fsevents.watch(dirname: string, (path: string, flags: number, id: string) => void): () => Promise<undefined>`
|
|
40
|
+
|
|
41
|
+
* `path: string` - the item in the filesystem that have been changed
|
|
42
|
+
* `flags: number` - a numeric value describing what the change was
|
|
43
|
+
* `id: string` - an unique-id identifying this specific event
|
|
44
|
+
|
|
45
|
+
Returns closer callback which when called returns a Promise resolving when the watcher process has been shut down.
|
|
46
|
+
|
|
47
|
+
###### `fsevents.getInfo(path: string, flags: number, id: string): FsEventInfo`
|
|
48
|
+
|
|
49
|
+
The `getInfo` function takes the `path`, `flags` and `id` arguments and converts those parameters into a structure
|
|
50
|
+
that is easier to digest to determine what the change was.
|
|
51
|
+
|
|
52
|
+
The `FsEventsInfo` has the following shape:
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
/**
|
|
56
|
+
* @typedef {'created'|'modified'|'deleted'|'moved'|'root-changed'|'cloned'|'unknown'} FsEventsEvent
|
|
57
|
+
* @typedef {'file'|'directory'|'symlink'} FsEventsType
|
|
58
|
+
*/
|
|
59
|
+
{
|
|
60
|
+
"event": "created", // {FsEventsEvent}
|
|
61
|
+
"path": "file.txt",
|
|
62
|
+
"type": "file", // {FsEventsType}
|
|
63
|
+
"changes": {
|
|
64
|
+
"inode": true, // Had iNode Meta-Information changed
|
|
65
|
+
"finder": false, // Had Finder Meta-Data changed
|
|
66
|
+
"access": false, // Had access permissions changed
|
|
67
|
+
"xattrs": false // Had xAttributes changed
|
|
68
|
+
},
|
|
69
|
+
"flags": 0x100000000
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Changelog
|
|
74
|
+
|
|
75
|
+
- v2.3 supports Apple Silicon ARM CPUs
|
|
76
|
+
- v2 supports node 8.16+ and reduces package size massively
|
|
77
|
+
- v1.2.8 supports node 6+
|
|
78
|
+
- v1.2.7 supports node 4+
|
|
79
|
+
|
|
80
|
+
## Troubleshooting
|
|
81
|
+
|
|
82
|
+
- I'm getting `EBADPLATFORM` `Unsupported platform for fsevents` error.
|
|
83
|
+
- It's fine, nothing is broken. fsevents is macos-only. Other platforms are skipped. If you want to hide this warning, report a bug to NPM bugtracker asking them to hide ebadplatform warnings by default.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
The MIT License Copyright (C) 2010-2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller — see LICENSE file.
|
|
88
|
+
|
|
89
|
+
Visit our [GitHub page](https://github.com/fsevents/fsevents) and [NPM Page](https://npmjs.org/package/fsevents)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare type Event = "created" | "cloned" | "modified" | "deleted" | "moved" | "root-changed" | "unknown";
|
|
2
|
+
declare type Type = "file" | "directory" | "symlink";
|
|
3
|
+
declare type FileChanges = {
|
|
4
|
+
inode: boolean;
|
|
5
|
+
finder: boolean;
|
|
6
|
+
access: boolean;
|
|
7
|
+
xattrs: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare type Info = {
|
|
10
|
+
event: Event;
|
|
11
|
+
path: string;
|
|
12
|
+
type: Type;
|
|
13
|
+
changes: FileChanges;
|
|
14
|
+
flags: number;
|
|
15
|
+
};
|
|
16
|
+
declare type WatchHandler = (path: string, flags: number, id: string) => void;
|
|
17
|
+
export declare function watch(path: string, handler: WatchHandler): () => Promise<void>;
|
|
18
|
+
export declare function watch(path: string, since: number, handler: WatchHandler): () => Promise<void>;
|
|
19
|
+
export declare function getInfo(path: string, flags: number): Info;
|
|
20
|
+
export declare const constants: {
|
|
21
|
+
None: 0x00000000;
|
|
22
|
+
MustScanSubDirs: 0x00000001;
|
|
23
|
+
UserDropped: 0x00000002;
|
|
24
|
+
KernelDropped: 0x00000004;
|
|
25
|
+
EventIdsWrapped: 0x00000008;
|
|
26
|
+
HistoryDone: 0x00000010;
|
|
27
|
+
RootChanged: 0x00000020;
|
|
28
|
+
Mount: 0x00000040;
|
|
29
|
+
Unmount: 0x00000080;
|
|
30
|
+
ItemCreated: 0x00000100;
|
|
31
|
+
ItemRemoved: 0x00000200;
|
|
32
|
+
ItemInodeMetaMod: 0x00000400;
|
|
33
|
+
ItemRenamed: 0x00000800;
|
|
34
|
+
ItemModified: 0x00001000;
|
|
35
|
+
ItemFinderInfoMod: 0x00002000;
|
|
36
|
+
ItemChangeOwner: 0x00004000;
|
|
37
|
+
ItemXattrMod: 0x00008000;
|
|
38
|
+
ItemIsFile: 0x00010000;
|
|
39
|
+
ItemIsDir: 0x00020000;
|
|
40
|
+
ItemIsSymlink: 0x00040000;
|
|
41
|
+
ItemIsHardlink: 0x00100000;
|
|
42
|
+
ItemIsLastHardlink: 0x00200000;
|
|
43
|
+
OwnEvent: 0x00080000;
|
|
44
|
+
ItemCloned: 0x00400000;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
** © 2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller
|
|
3
|
+
** Licensed under MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* jshint node:true */
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
if (process.platform !== "darwin") {
|
|
10
|
+
throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const Native = require("./fsevents.node");
|
|
14
|
+
const events = Native.constants;
|
|
15
|
+
|
|
16
|
+
function watch(path, since, handler) {
|
|
17
|
+
if (typeof path !== "string") {
|
|
18
|
+
throw new TypeError(`fsevents argument 1 must be a string and not a ${typeof path}`);
|
|
19
|
+
}
|
|
20
|
+
if ("function" === typeof since && "undefined" === typeof handler) {
|
|
21
|
+
handler = since;
|
|
22
|
+
since = Native.flags.SinceNow;
|
|
23
|
+
}
|
|
24
|
+
if (typeof since !== "number") {
|
|
25
|
+
throw new TypeError(`fsevents argument 2 must be a number and not a ${typeof since}`);
|
|
26
|
+
}
|
|
27
|
+
if (typeof handler !== "function") {
|
|
28
|
+
throw new TypeError(`fsevents argument 3 must be a function and not a ${typeof handler}`);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
let instance = Native.start(Native.global, path, since, handler);
|
|
32
|
+
if (!instance) throw new Error(`could not watch: ${path}`);
|
|
33
|
+
return () => {
|
|
34
|
+
const result = instance ? Promise.resolve(instance).then(Native.stop) : Promise.resolve(undefined);
|
|
35
|
+
instance = undefined;
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function getInfo(path, flags) {
|
|
41
|
+
return {
|
|
42
|
+
path,
|
|
43
|
+
flags,
|
|
44
|
+
event: getEventType(flags),
|
|
45
|
+
type: getFileType(flags),
|
|
46
|
+
changes: getFileChanges(flags),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function getFileType(flags) {
|
|
51
|
+
if (events.ItemIsFile & flags) return "file";
|
|
52
|
+
if (events.ItemIsDir & flags) return "directory";
|
|
53
|
+
if (events.MustScanSubDirs & flags) return "directory";
|
|
54
|
+
if (events.ItemIsSymlink & flags) return "symlink";
|
|
55
|
+
}
|
|
56
|
+
function anyIsTrue(obj) {
|
|
57
|
+
for (let key in obj) {
|
|
58
|
+
if (obj[key]) return true;
|
|
59
|
+
}
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
function getEventType(flags) {
|
|
63
|
+
if (events.ItemRemoved & flags) return "deleted";
|
|
64
|
+
if (events.ItemRenamed & flags) return "moved";
|
|
65
|
+
if (events.ItemCreated & flags) return "created";
|
|
66
|
+
if (events.ItemModified & flags) return "modified";
|
|
67
|
+
if (events.RootChanged & flags) return "root-changed";
|
|
68
|
+
if (events.ItemCloned & flags) return "cloned";
|
|
69
|
+
if (anyIsTrue(flags)) return "modified";
|
|
70
|
+
return "unknown";
|
|
71
|
+
}
|
|
72
|
+
function getFileChanges(flags) {
|
|
73
|
+
return {
|
|
74
|
+
inode: !!(events.ItemInodeMetaMod & flags),
|
|
75
|
+
finder: !!(events.ItemFinderInfoMod & flags),
|
|
76
|
+
access: !!(events.ItemChangeOwner & flags),
|
|
77
|
+
xattrs: !!(events.ItemXattrMod & flags),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
exports.watch = watch;
|
|
82
|
+
exports.getInfo = getInfo;
|
|
83
|
+
exports.constants = events;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fsevents",
|
|
3
|
+
"version": "2.3.3",
|
|
4
|
+
"description": "Native Access to MacOS FSEvents",
|
|
5
|
+
"main": "fsevents.js",
|
|
6
|
+
"types": "fsevents.d.ts",
|
|
7
|
+
"os": [
|
|
8
|
+
"darwin"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
"fsevents.d.ts",
|
|
12
|
+
"fsevents.js",
|
|
13
|
+
"fsevents.node"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"clean": "node-gyp clean && rm -f fsevents.node",
|
|
20
|
+
"build": "node-gyp clean && rm -f fsevents.node && node-gyp rebuild && node-gyp clean",
|
|
21
|
+
"test": "/bin/bash ./test.sh 2>/dev/null",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/fsevents/fsevents.git"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"fsevents",
|
|
30
|
+
"mac"
|
|
31
|
+
],
|
|
32
|
+
"contributors": [
|
|
33
|
+
{
|
|
34
|
+
"name": "Philipp Dunkel",
|
|
35
|
+
"email": "pip@pipobscure.com"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Ben Noordhuis",
|
|
39
|
+
"email": "info@bnoordhuis.nl"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Elan Shankar",
|
|
43
|
+
"email": "elan.shanker@gmail.com"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "Miroslav Bajtoš",
|
|
47
|
+
"email": "mbajtoss@gmail.com"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "Paul Miller",
|
|
51
|
+
"url": "https://paulmillr.com"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"license": "MIT",
|
|
55
|
+
"bugs": {
|
|
56
|
+
"url": "https://github.com/fsevents/fsevents/issues"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://github.com/fsevents/fsevents",
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"node-gyp": "^9.4.0"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
language: objective-c
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
env:
|
|
5
|
+
global:
|
|
6
|
+
- secure: "gve1nkeKkwFEG1VAT3i+JwYyAdF0gKXwKx0uxbkBTsmm2M+0MDusohQdFLoEIkSIFktXBIDefoa7iGpLKRfG2VsZLpwJgnvnD0HqbnuR+k+W+bu7BHt4CAaR6GTllsDCjyq9zNyhUThzSnf2WNIpOEF5kHspZlbGfawURuUJH/U="
|
|
7
|
+
- secure: "jqVpmWxxBVXu2X8+XJMpKH0cooc2EKz9xKL2znBfYdNafJORSXcFAVbjCX5mZmVDcgIMwDtm2+gIG4P73hzJ2e3S+y2Z9ROJGyXHa3AxUTvXHQsxqzH8coHHqB8vTvfr0t2O5aKfpvpICpSea39r0hzNoMv6Ie5SwBdqj1YY9K0="
|
|
8
|
+
matrix:
|
|
9
|
+
- NODE_VERSION="v13"
|
|
10
|
+
- NODE_VERSION="v12"
|
|
11
|
+
- NODE_VERSION="v11"
|
|
12
|
+
- NODE_VERSION="v10"
|
|
13
|
+
- NODE_VERSION="v9"
|
|
14
|
+
- NODE_VERSION="v8"
|
|
15
|
+
- NODE_VERSION="v7"
|
|
16
|
+
- NODE_VERSION="v6"
|
|
17
|
+
|
|
18
|
+
before_install:
|
|
19
|
+
|
|
20
|
+
- echo $TRAVIS_OS_NAME
|
|
21
|
+
|
|
22
|
+
# commit
|
|
23
|
+
# ------------------------
|
|
24
|
+
# The commit message is used to determine the whether to manually
|
|
25
|
+
# invoke a binary publish
|
|
26
|
+
|
|
27
|
+
- COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
|
|
28
|
+
|
|
29
|
+
# node
|
|
30
|
+
# ------------------------
|
|
31
|
+
|
|
32
|
+
- export PATH=./node_modules/.bin/:$PATH
|
|
33
|
+
- rm -rf ~/.nvm && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
|
|
34
|
+
- source ~/.nvm/nvm.sh
|
|
35
|
+
- nvm install $NODE_VERSION
|
|
36
|
+
- nvm use $NODE_VERSION
|
|
37
|
+
- npm install -g npm@3
|
|
38
|
+
- node --version
|
|
39
|
+
- npm --version
|
|
40
|
+
- nvm --version
|
|
41
|
+
|
|
42
|
+
# publish dependencies
|
|
43
|
+
# ------------------------
|
|
44
|
+
|
|
45
|
+
- npm install node-gyp -g
|
|
46
|
+
- npm install aws-sdk
|
|
47
|
+
|
|
48
|
+
install:
|
|
49
|
+
|
|
50
|
+
# in the first instance we build from source to create the initial binary
|
|
51
|
+
# which can then be used to create a package
|
|
52
|
+
|
|
53
|
+
- npm install --build-from-source
|
|
54
|
+
- npm test
|
|
55
|
+
|
|
56
|
+
before_script:
|
|
57
|
+
|
|
58
|
+
# Detemine if a publish is required.
|
|
59
|
+
#
|
|
60
|
+
# a) we are building a tag
|
|
61
|
+
# b) we put [publish binary] in the commit message
|
|
62
|
+
|
|
63
|
+
- PUBLISH_BINARY=false
|
|
64
|
+
|
|
65
|
+
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=true; fi; # a
|
|
66
|
+
- if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then PUBLISH_BINARY=true; fi; # b
|
|
67
|
+
|
|
68
|
+
# package & publish
|
|
69
|
+
# ------------------------
|
|
70
|
+
|
|
71
|
+
- if [[ $PUBLISH_BINARY == true ]]; then ./node_modules/.bin/node-pre-gyp package publish; fi;
|
|
72
|
+
|
|
73
|
+
# clean-up
|
|
74
|
+
# ------------------------
|
|
75
|
+
|
|
76
|
+
- ./node_modules/.bin/node-pre-gyp clean
|
|
77
|
+
- node-gyp clean
|
|
78
|
+
|
|
79
|
+
script:
|
|
80
|
+
|
|
81
|
+
# validate
|
|
82
|
+
# ------------------------
|
|
83
|
+
# Post publishing a release verify that installing will pull down latest
|
|
84
|
+
# binary from remote host
|
|
85
|
+
|
|
86
|
+
- INSTALL_RESULT=0
|
|
87
|
+
- if [[ $PUBLISH_BINARY == true ]]; then INSTALL_RESULT=$(npm install --fallback-to-build=false > /dev/null)$? || true; fi;
|
|
88
|
+
|
|
89
|
+
- ./node_modules/.bin/node-pre-gyp clean
|
|
90
|
+
|
|
91
|
+
# failure?
|
|
92
|
+
# ------------------------
|
|
93
|
+
# if install returned non zero (errored) then we first unpublish and then
|
|
94
|
+
# call false so travis will bail at this line.
|
|
95
|
+
|
|
96
|
+
- if [[ $INSTALL_RESULT != 0 ]]; then ./node_modules/.bin/node-pre-gyp unpublish; fi;
|
|
97
|
+
- if [[ $INSTALL_RESULT != 0 ]]; then echo "returned $INSTALL_RESULT";false; fi;
|
|
98
|
+
|
|
99
|
+
after_success:
|
|
100
|
+
|
|
101
|
+
# display all published binaries
|
|
102
|
+
|
|
103
|
+
- npm run node-pre-gyp info
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
If you are NOT on OS X and have come here to file an issue about compatibility problems,
|
|
2
|
+
please stop and go to #115 for your answer.
|
|
3
|
+
|
|
4
|
+
You can look through many other similar closed issues as well if you're interested:
|
|
5
|
+
https://github.com/strongloop/fsevents/search?utf8=%E2%9C%93&q=%22notsup%22+OR+%22EBADPLATFORM%22&type=Issues.
|
|
6
|
+
|
|
7
|
+
If you are here to report an issue observed while using this module on OS X, please delete
|
|
8
|
+
all this pre-filled text then go ahead and submit your report.
|
package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
-----------
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2010-2014 Philipp Dunkel
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/Readme.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# fsevents [](https://nodei.co/npm/fsevents/)
|
|
2
|
+
|
|
3
|
+
Native access to OS X FSEvents in [Node.js](http://nodejs.org/)
|
|
4
|
+
|
|
5
|
+
The FSEvents API in OS X allows applications to register for notifications of
|
|
6
|
+
changes to a given directory tree. It is a very fast and lightweight alternative
|
|
7
|
+
to kqueue.
|
|
8
|
+
|
|
9
|
+
This is a low-level library. For a cross-compatible file watching module that
|
|
10
|
+
uses fsevents, check out [Chokidar](https://www.npmjs.com/package/chokidar).
|
|
11
|
+
|
|
12
|
+
* [Module Site & GitHub](https://github.com/strongloop/fsevents)
|
|
13
|
+
* [NPM Page](https://npmjs.org/package/fsevents)
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
$ npm install fsevents
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```js
|
|
22
|
+
var fsevents = require('fsevents');
|
|
23
|
+
var watcher = fsevents(__dirname);
|
|
24
|
+
watcher.on('fsevent', function(path, flags, id) { }); // RAW Event as emitted by OS-X
|
|
25
|
+
watcher.on('change', function(path, info) { }); // Common Event for all changes
|
|
26
|
+
watcher.start() // To start observation
|
|
27
|
+
watcher.stop() // To end observation
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Events
|
|
31
|
+
|
|
32
|
+
* *fsevent* - RAW Event as emitted by OS-X
|
|
33
|
+
* *change* - Common Event for all changes
|
|
34
|
+
* *created* - A File-System-Item has been created
|
|
35
|
+
* *deleted* - A File-System-Item has been deleted
|
|
36
|
+
* *modified* - A File-System-Item has been modified
|
|
37
|
+
* *moved-out* - A File-System-Item has been moved away from this location
|
|
38
|
+
* *moved-in* - A File-System-Item has been moved into this location
|
|
39
|
+
|
|
40
|
+
All events except *fsevent* take an *info* object as the second parameter of the callback. The structure of this object is:
|
|
41
|
+
|
|
42
|
+
```js
|
|
43
|
+
{
|
|
44
|
+
"event": "<event-type>",
|
|
45
|
+
"id": <eventi-id>,
|
|
46
|
+
"path": "<path-that-this-is-about>",
|
|
47
|
+
"type": "<file|directory|symlink>",
|
|
48
|
+
"changes": {
|
|
49
|
+
"inode": true, // Has the iNode Meta-Information changed
|
|
50
|
+
"finder": false, // Has the Finder Meta-Data changed
|
|
51
|
+
"access": false, // Have the access permissions changed
|
|
52
|
+
"xattrs": false // Have the xAttributes changed
|
|
53
|
+
},
|
|
54
|
+
"flags": <raw-flags>
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## MIT License
|
|
59
|
+
|
|
60
|
+
Copyright (C) 2010-2014 Philipp Dunkel
|
|
61
|
+
|
|
62
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
63
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
64
|
+
in the Software without restriction, including without limitation the rights
|
|
65
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
66
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
67
|
+
furnished to do so, subject to the following conditions:
|
|
68
|
+
|
|
69
|
+
The above copyright notice and this permission notice shall be included in
|
|
70
|
+
all copies or substantial portions of the Software.
|
|
71
|
+
|
|
72
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
73
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
74
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
75
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
76
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
77
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
78
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{ "target_name": "" }
|
|
4
|
+
],
|
|
5
|
+
"conditions": [
|
|
6
|
+
['OS=="mac"', {
|
|
7
|
+
"targets": [{
|
|
8
|
+
"target_name": "fse",
|
|
9
|
+
"sources": ["fsevents.cc"],
|
|
10
|
+
"xcode_settings": {
|
|
11
|
+
"OTHER_LDFLAGS": [
|
|
12
|
+
"-framework CoreFoundation -framework CoreServices"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"include_dirs": [
|
|
16
|
+
"<!(node -e \"require('nan')\")"
|
|
17
|
+
]
|
|
18
|
+
}]
|
|
19
|
+
}]
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
|
2
|
+
|
|
3
|
+
TOOLSET := target
|
|
4
|
+
TARGET :=
|
|
5
|
+
### Rules for final target.
|
|
6
|
+
LDFLAGS_Debug := \
|
|
7
|
+
-undefined dynamic_lookup \
|
|
8
|
+
-Wl,-search_paths_first \
|
|
9
|
+
-mmacosx-version-min=13.5 \
|
|
10
|
+
-arch \
|
|
11
|
+
arm64 \
|
|
12
|
+
-L$(builddir) \
|
|
13
|
+
-stdlib=libc++
|
|
14
|
+
|
|
15
|
+
LIBTOOLFLAGS_Debug := \
|
|
16
|
+
-undefined dynamic_lookup \
|
|
17
|
+
-Wl,-search_paths_first
|
|
18
|
+
|
|
19
|
+
LDFLAGS_Release := \
|
|
20
|
+
-undefined dynamic_lookup \
|
|
21
|
+
-Wl,-search_paths_first \
|
|
22
|
+
-mmacosx-version-min=13.5 \
|
|
23
|
+
-arch \
|
|
24
|
+
arm64 \
|
|
25
|
+
-L$(builddir) \
|
|
26
|
+
-stdlib=libc++
|
|
27
|
+
|
|
28
|
+
LIBTOOLFLAGS_Release := \
|
|
29
|
+
-undefined dynamic_lookup \
|
|
30
|
+
-Wl,-search_paths_first
|
|
31
|
+
|
|
32
|
+
LIBS :=
|
|
33
|
+
|
|
34
|
+
$(builddir)/.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
|
35
|
+
$(builddir)/.node: LIBS := $(LIBS)
|
|
36
|
+
$(builddir)/.node: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
|
|
37
|
+
$(builddir)/.node: TOOLSET := $(TOOLSET)
|
|
38
|
+
$(builddir)/.node: FORCE_DO_CMD
|
|
39
|
+
$(call do_cmd,solink_module)
|
|
40
|
+
|
|
41
|
+
all_deps += $(builddir)/.node
|
|
42
|
+
# Add target alias
|
|
43
|
+
.PHONY:
|
|
44
|
+
: $(builddir)/.node
|
|
45
|
+
|
|
46
|
+
# Short alias for building this executable.
|
|
47
|
+
.PHONY: .node
|
|
48
|
+
.node: $(builddir)/.node
|
|
49
|
+
|
|
50
|
+
# Add executable to "all" target.
|
|
51
|
+
.PHONY: all
|
|
52
|
+
all: $(builddir)/.node
|
|
53
|
+
|