@wopee-io/wopee.pw 4.4.0
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/.commit.hbs +71 -0
- package/.commitlintrc.json +3 -0
- package/.eslintignore +2 -0
- package/.eslintrc +21 -0
- package/.github/actions/npm_clean_install/action.yaml +35 -0
- package/.github/workflows/ci_cd.yaml +146 -0
- package/.prettierignore +3 -0
- package/.prettierrc +12 -0
- package/README.md +3 -0
- package/build/core/domain/configuration/config.interface.d.ts +7 -0
- package/build/core/domain/configuration/config.interface.js +3 -0
- package/build/core/domain/configuration/config.interface.js.map +1 -0
- package/build/core/domain/configuration/index.d.ts +2 -0
- package/build/core/domain/configuration/index.js +3 -0
- package/build/core/domain/configuration/index.js.map +1 -0
- package/build/core/domain/index.d.ts +2 -0
- package/build/core/domain/index.js +19 -0
- package/build/core/domain/index.js.map +1 -0
- package/build/core/domain/valueObjects/index.d.ts +2 -0
- package/build/core/domain/valueObjects/index.js +3 -0
- package/build/core/domain/valueObjects/index.js.map +1 -0
- package/build/core/domain/valueObjects/track.interface.d.ts +13 -0
- package/build/core/domain/valueObjects/track.interface.js +3 -0
- package/build/core/domain/valueObjects/track.interface.js.map +1 -0
- package/build/core/index.d.ts +3 -0
- package/build/core/index.js +20 -0
- package/build/core/index.js.map +1 -0
- package/build/core/ports/configPort/configDefaults.d.ts +2 -0
- package/build/core/ports/configPort/configDefaults.js +20 -0
- package/build/core/ports/configPort/configDefaults.js.map +1 -0
- package/build/core/ports/configPort/configPort.d.ts +6 -0
- package/build/core/ports/configPort/configPort.js +12 -0
- package/build/core/ports/configPort/configPort.js.map +1 -0
- package/build/core/ports/configPort/index.d.ts +2 -0
- package/build/core/ports/configPort/index.js +6 -0
- package/build/core/ports/configPort/index.js.map +1 -0
- package/build/core/ports/index.d.ts +1 -0
- package/build/core/ports/index.js +18 -0
- package/build/core/ports/index.js.map +1 -0
- package/build/core/services/index.d.ts +1 -0
- package/build/core/services/index.js +18 -0
- package/build/core/services/index.js.map +1 -0
- package/build/core/services/wopeeService/index.d.ts +2 -0
- package/build/core/services/wopeeService/index.js +6 -0
- package/build/core/services/wopeeService/index.js.map +1 -0
- package/build/core/services/wopeeService/wopee.d.ts +19 -0
- package/build/core/services/wopeeService/wopee.js +163 -0
- package/build/core/services/wopeeService/wopee.js.map +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +20 -0
- package/build/index.js.map +1 -0
- package/build/infrastructure/adapters/envConfigAdapter/envConfigAdapter.d.ts +6 -0
- package/build/infrastructure/adapters/envConfigAdapter/envConfigAdapter.js +28 -0
- package/build/infrastructure/adapters/envConfigAdapter/envConfigAdapter.js.map +1 -0
- package/build/infrastructure/adapters/envConfigAdapter/index.d.ts +2 -0
- package/build/infrastructure/adapters/envConfigAdapter/index.js +6 -0
- package/build/infrastructure/adapters/envConfigAdapter/index.js.map +1 -0
- package/build/infrastructure/adapters/index.d.ts +1 -0
- package/build/infrastructure/adapters/index.js +18 -0
- package/build/infrastructure/adapters/index.js.map +1 -0
- package/build/infrastructure/index.d.ts +1 -0
- package/build/infrastructure/index.js +18 -0
- package/build/infrastructure/index.js.map +1 -0
- package/build/shared/index.d.ts +1 -0
- package/build/shared/index.js +18 -0
- package/build/shared/index.js.map +1 -0
- package/build/shared/metadata/index.d.ts +2 -0
- package/build/shared/metadata/index.js +6 -0
- package/build/shared/metadata/index.js.map +1 -0
- package/build/shared/metadata/versionMetadata.d.ts +1 -0
- package/build/shared/metadata/versionMetadata.js +21 -0
- package/build/shared/metadata/versionMetadata.js.map +1 -0
- package/docs/configuration.md +21 -0
- package/docs/minimal.md +26 -0
- package/jest.config.ts +16 -0
- package/node_modules/@autonomous-testing/sdk/.commit.hbs +71 -0
- package/node_modules/@autonomous-testing/sdk/.commitlintrc.json +3 -0
- package/node_modules/@autonomous-testing/sdk/.eslintignore +2 -0
- package/node_modules/@autonomous-testing/sdk/.eslintrc +21 -0
- package/node_modules/@autonomous-testing/sdk/.github/actions/npm_clean_install/action.yaml +35 -0
- package/node_modules/@autonomous-testing/sdk/.github/workflows/ci_cd.yaml +149 -0
- package/node_modules/@autonomous-testing/sdk/.prettierignore +3 -0
- package/node_modules/@autonomous-testing/sdk/.prettierrc +12 -0
- package/node_modules/@autonomous-testing/sdk/README.md +57 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationScenarioPayload.interface.d.ts +14 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationScenarioPayload.interface.js +10 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationStepPayload.interface.d.ts +32 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationStepPayload.interface.js +16 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationSuitePayload.interface.d.ts +11 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/createIntegrationSuitePayload.interface.js +9 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/index.d.ts +14 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/index.js +16 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationScenario.interface.d.ts +14 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationScenario.interface.js +10 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.d.ts +24 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationStep.interface.js +20 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationSuite.interface.d.ts +14 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/entities/integrationSuite.interface.js +10 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/index.d.ts +2 -0
- package/node_modules/@autonomous-testing/sdk/build/core/domain/index.js +18 -0
- package/node_modules/@autonomous-testing/sdk/build/core/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/core/index.js +19 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/api.d.ts +16 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/api.js +7 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/index.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/index.js +8 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/logger.d.ts +7 -0
- package/node_modules/@autonomous-testing/sdk/build/core/ports/logger.js +7 -0
- package/node_modules/@autonomous-testing/sdk/build/index.d.ts +5 -0
- package/node_modules/@autonomous-testing/sdk/build/index.js +22 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.d.ts +19 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/adapter.js +123 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/factories.d.ts +9 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/factories.js +144 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/index.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/index.js +8 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.d.ts +235 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/interface.js +82 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/mutations.d.ts +5 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/apolloAdapter/mutations.js +85 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/consoleLogger/consoleLogger.d.ts +36 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/consoleLogger/consoleLogger.js +49 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/consoleLogger/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/consoleLogger/index.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/index.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/index.js +20 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/noLogger/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/noLogger/index.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/noLogger/noLogger.d.ts +31 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/adapters/noLogger/noLogger.js +34 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/index.js +19 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloAdapterService.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloAdapterService.js +12 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloService.interface.d.ts +7 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/apolloService.interface.js +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/index.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/apolloAdapterService/index.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/index.js +19 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/consoleLoggerOptions.interface.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/consoleLoggerOptions.interface.js +3 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/index.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/index.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.d.ts +22 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerOptions.interface.js +15 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerService.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/infrastructure/services/loggerService/loggerService.js +32 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/index.js +19 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/metadata/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/metadata/index.js +7 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/metadata/versionMetadata.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/metadata/versionMetadata.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/error.interface.d.ts +4 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/error.interface.js +12 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/index.d.ts +5 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/index.js +22 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/mergeDicts/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/mergeDicts/index.js +7 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/mergeDicts/mergeDicts.d.ts +17 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/mergeDicts/mergeDicts.js +29 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/index.d.ts +3 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/index.js +6 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.d.ts +14 -0
- package/node_modules/@autonomous-testing/sdk/build/shared/utils/zodHelper/zodHelper.js +39 -0
- package/node_modules/@autonomous-testing/sdk/package.json +50 -0
- package/node_modules/@autonomous-testing/sdk/release.config.mjs +55 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +63 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/axios/CHANGELOG.md +943 -0
- package/node_modules/axios/LICENSE +19 -0
- package/node_modules/axios/README.md +991 -0
- package/node_modules/axios/SECURITY.md +5 -0
- package/node_modules/axios/UPGRADE_GUIDE.md +168 -0
- package/node_modules/axios/dist/axios.js +2595 -0
- package/node_modules/axios/dist/axios.map +1 -0
- package/node_modules/axios/dist/axios.min.js +3 -0
- package/node_modules/axios/dist/axios.min.map +1 -0
- package/node_modules/axios/index.d.ts +254 -0
- package/node_modules/axios/index.js +1 -0
- package/node_modules/axios/lib/adapters/README.md +37 -0
- package/node_modules/axios/lib/adapters/http.js +424 -0
- package/node_modules/axios/lib/adapters/xhr.js +222 -0
- package/node_modules/axios/lib/axios.js +64 -0
- package/node_modules/axios/lib/cancel/CancelToken.js +119 -0
- package/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/axios/lib/core/Axios.js +160 -0
- package/node_modules/axios/lib/core/AxiosError.js +86 -0
- package/node_modules/axios/lib/core/InterceptorManager.js +54 -0
- package/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/axios/lib/core/buildFullPath.js +20 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +87 -0
- package/node_modules/axios/lib/core/mergeConfig.js +100 -0
- package/node_modules/axios/lib/core/settle.js +25 -0
- package/node_modules/axios/lib/core/transformData.js +22 -0
- package/node_modules/axios/lib/defaults/env/FormData.js +2 -0
- package/node_modules/axios/lib/defaults/index.js +146 -0
- package/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/axios/lib/env/data.js +3 -0
- package/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/axios/lib/helpers/bind.js +11 -0
- package/node_modules/axios/lib/helpers/buildURL.js +70 -0
- package/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- package/node_modules/axios/lib/helpers/cookies.js +53 -0
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- package/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- package/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/axios/lib/helpers/spread.js +27 -0
- package/node_modules/axios/lib/helpers/toFormData.js +72 -0
- package/node_modules/axios/lib/helpers/validator.js +86 -0
- package/node_modules/axios/lib/utils.js +470 -0
- package/node_modules/axios/package.json +87 -0
- package/node_modules/axios/tsconfig.json +14 -0
- package/node_modules/axios/tslint.json +6 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +25 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/follow-redirects/LICENSE +18 -0
- package/node_modules/follow-redirects/README.md +155 -0
- package/node_modules/follow-redirects/debug.js +15 -0
- package/node_modules/follow-redirects/http.js +1 -0
- package/node_modules/follow-redirects/https.js +1 -0
- package/node_modules/follow-redirects/index.js +672 -0
- package/node_modules/follow-redirects/package.json +58 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md.bak +358 -0
- package/node_modules/form-data/Readme.md +358 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +2 -0
- package/node_modules/form-data/lib/form_data.js +501 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/package.json +68 -0
- package/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +100 -0
- package/node_modules/mime-db/db.json +8519 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +60 -0
- package/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +113 -0
- package/node_modules/mime-types/index.js +188 -0
- package/node_modules/mime-types/package.json +44 -0
- package/node_modules/process/.eslintrc +21 -0
- package/node_modules/process/LICENSE +22 -0
- package/node_modules/process/README.md +26 -0
- package/node_modules/process/browser.js +184 -0
- package/node_modules/process/index.js +2 -0
- package/node_modules/process/package.json +27 -0
- package/node_modules/process/test.js +199 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +2876 -0
- package/node_modules/zod/index.d.ts +2 -0
- package/node_modules/zod/lib/ZodError.d.ts +164 -0
- package/node_modules/zod/lib/ZodError.js +137 -0
- package/node_modules/zod/lib/__tests__/Mocker.d.ts +17 -0
- package/node_modules/zod/lib/__tests__/Mocker.js +57 -0
- package/node_modules/zod/lib/benchmarks/datetime.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/datetime.js +54 -0
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.js +79 -0
- package/node_modules/zod/lib/benchmarks/index.d.ts +1 -0
- package/node_modules/zod/lib/benchmarks/index.js +59 -0
- package/node_modules/zod/lib/benchmarks/ipv4.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/ipv4.js +54 -0
- package/node_modules/zod/lib/benchmarks/object.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/object.js +70 -0
- package/node_modules/zod/lib/benchmarks/primitives.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/primitives.js +170 -0
- package/node_modules/zod/lib/benchmarks/realworld.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/realworld.js +56 -0
- package/node_modules/zod/lib/benchmarks/string.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/string.js +55 -0
- package/node_modules/zod/lib/benchmarks/union.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/union.js +79 -0
- package/node_modules/zod/lib/errors.d.ts +5 -0
- package/node_modules/zod/lib/errors.js +17 -0
- package/node_modules/zod/lib/external.d.ts +6 -0
- package/node_modules/zod/lib/external.js +18 -0
- package/node_modules/zod/lib/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/lib/helpers/enumUtil.js +2 -0
- package/node_modules/zod/lib/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/lib/helpers/errorUtil.js +8 -0
- package/node_modules/zod/lib/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/lib/helpers/parseUtil.js +125 -0
- package/node_modules/zod/lib/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/lib/helpers/partialUtil.js +2 -0
- package/node_modules/zod/lib/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/lib/helpers/typeAliases.js +2 -0
- package/node_modules/zod/lib/helpers/util.d.ts +82 -0
- package/node_modules/zod/lib/helpers/util.js +142 -0
- package/node_modules/zod/lib/index.d.ts +4 -0
- package/node_modules/zod/lib/index.js +29 -0
- package/node_modules/zod/lib/index.mjs +4236 -0
- package/node_modules/zod/lib/index.umd.js +4351 -0
- package/node_modules/zod/lib/locales/en.d.ts +3 -0
- package/node_modules/zod/lib/locales/en.js +129 -0
- package/node_modules/zod/lib/types.d.ts +1127 -0
- package/node_modules/zod/lib/types.js +3677 -0
- package/node_modules/zod/package.json +119 -0
- package/package.json +57 -0
- package/release.config.mjs +55 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* mime-types
|
|
3
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
4
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5
|
+
* MIT Licensed
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
'use strict'
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Module dependencies.
|
|
12
|
+
* @private
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
var db = require('mime-db')
|
|
16
|
+
var extname = require('path').extname
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Module variables.
|
|
20
|
+
* @private
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/
|
|
24
|
+
var TEXT_TYPE_REGEXP = /^text\//i
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Module exports.
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
exports.charset = charset
|
|
32
|
+
exports.charsets = { lookup: charset }
|
|
33
|
+
exports.contentType = contentType
|
|
34
|
+
exports.extension = extension
|
|
35
|
+
exports.extensions = Object.create(null)
|
|
36
|
+
exports.lookup = lookup
|
|
37
|
+
exports.types = Object.create(null)
|
|
38
|
+
|
|
39
|
+
// Populate the extensions/types maps
|
|
40
|
+
populateMaps(exports.extensions, exports.types)
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Get the default charset for a MIME type.
|
|
44
|
+
*
|
|
45
|
+
* @param {string} type
|
|
46
|
+
* @return {boolean|string}
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
function charset (type) {
|
|
50
|
+
if (!type || typeof type !== 'string') {
|
|
51
|
+
return false
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// TODO: use media-typer
|
|
55
|
+
var match = EXTRACT_TYPE_REGEXP.exec(type)
|
|
56
|
+
var mime = match && db[match[1].toLowerCase()]
|
|
57
|
+
|
|
58
|
+
if (mime && mime.charset) {
|
|
59
|
+
return mime.charset
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// default text/* to utf-8
|
|
63
|
+
if (match && TEXT_TYPE_REGEXP.test(match[1])) {
|
|
64
|
+
return 'UTF-8'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return false
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Create a full Content-Type header given a MIME type or extension.
|
|
72
|
+
*
|
|
73
|
+
* @param {string} str
|
|
74
|
+
* @return {boolean|string}
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
function contentType (str) {
|
|
78
|
+
// TODO: should this even be in this module?
|
|
79
|
+
if (!str || typeof str !== 'string') {
|
|
80
|
+
return false
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var mime = str.indexOf('/') === -1
|
|
84
|
+
? exports.lookup(str)
|
|
85
|
+
: str
|
|
86
|
+
|
|
87
|
+
if (!mime) {
|
|
88
|
+
return false
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// TODO: use content-type or other module
|
|
92
|
+
if (mime.indexOf('charset') === -1) {
|
|
93
|
+
var charset = exports.charset(mime)
|
|
94
|
+
if (charset) mime += '; charset=' + charset.toLowerCase()
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return mime
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Get the default extension for a MIME type.
|
|
102
|
+
*
|
|
103
|
+
* @param {string} type
|
|
104
|
+
* @return {boolean|string}
|
|
105
|
+
*/
|
|
106
|
+
|
|
107
|
+
function extension (type) {
|
|
108
|
+
if (!type || typeof type !== 'string') {
|
|
109
|
+
return false
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// TODO: use media-typer
|
|
113
|
+
var match = EXTRACT_TYPE_REGEXP.exec(type)
|
|
114
|
+
|
|
115
|
+
// get extensions
|
|
116
|
+
var exts = match && exports.extensions[match[1].toLowerCase()]
|
|
117
|
+
|
|
118
|
+
if (!exts || !exts.length) {
|
|
119
|
+
return false
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return exts[0]
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Lookup the MIME type for a file path/extension.
|
|
127
|
+
*
|
|
128
|
+
* @param {string} path
|
|
129
|
+
* @return {boolean|string}
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
function lookup (path) {
|
|
133
|
+
if (!path || typeof path !== 'string') {
|
|
134
|
+
return false
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// get the extension ("ext" or ".ext" or full path)
|
|
138
|
+
var extension = extname('x.' + path)
|
|
139
|
+
.toLowerCase()
|
|
140
|
+
.substr(1)
|
|
141
|
+
|
|
142
|
+
if (!extension) {
|
|
143
|
+
return false
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return exports.types[extension] || false
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Populate the extensions and types maps.
|
|
151
|
+
* @private
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
function populateMaps (extensions, types) {
|
|
155
|
+
// source preference (least -> most)
|
|
156
|
+
var preference = ['nginx', 'apache', undefined, 'iana']
|
|
157
|
+
|
|
158
|
+
Object.keys(db).forEach(function forEachMimeType (type) {
|
|
159
|
+
var mime = db[type]
|
|
160
|
+
var exts = mime.extensions
|
|
161
|
+
|
|
162
|
+
if (!exts || !exts.length) {
|
|
163
|
+
return
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// mime -> extensions
|
|
167
|
+
extensions[type] = exts
|
|
168
|
+
|
|
169
|
+
// extension -> mime
|
|
170
|
+
for (var i = 0; i < exts.length; i++) {
|
|
171
|
+
var extension = exts[i]
|
|
172
|
+
|
|
173
|
+
if (types[extension]) {
|
|
174
|
+
var from = preference.indexOf(db[types[extension]].source)
|
|
175
|
+
var to = preference.indexOf(mime.source)
|
|
176
|
+
|
|
177
|
+
if (types[extension] !== 'application/octet-stream' &&
|
|
178
|
+
(from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {
|
|
179
|
+
// skip the remapping
|
|
180
|
+
continue
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// set the extension -> mime
|
|
185
|
+
types[extension] = type
|
|
186
|
+
}
|
|
187
|
+
})
|
|
188
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mime-types",
|
|
3
|
+
"description": "The ultimate javascript content-type utility.",
|
|
4
|
+
"version": "2.1.35",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
|
+
"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)",
|
|
8
|
+
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
|
|
9
|
+
],
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"mime",
|
|
13
|
+
"types"
|
|
14
|
+
],
|
|
15
|
+
"repository": "jshttp/mime-types",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"mime-db": "1.52.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"eslint": "7.32.0",
|
|
21
|
+
"eslint-config-standard": "14.1.1",
|
|
22
|
+
"eslint-plugin-import": "2.25.4",
|
|
23
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
24
|
+
"eslint-plugin-node": "11.1.0",
|
|
25
|
+
"eslint-plugin-promise": "5.2.0",
|
|
26
|
+
"eslint-plugin-standard": "4.1.0",
|
|
27
|
+
"mocha": "9.2.2",
|
|
28
|
+
"nyc": "15.1.0"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"HISTORY.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"index.js"
|
|
34
|
+
],
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">= 0.6"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"lint": "eslint .",
|
|
40
|
+
"test": "mocha --reporter spec test/test.js",
|
|
41
|
+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
42
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
extends: "eslint:recommended",
|
|
3
|
+
"env": {
|
|
4
|
+
"node": true,
|
|
5
|
+
"browser": true,
|
|
6
|
+
"es6" : true,
|
|
7
|
+
"mocha": true
|
|
8
|
+
},
|
|
9
|
+
"rules": {
|
|
10
|
+
"indent": [2, 4],
|
|
11
|
+
"brace-style": [2, "1tbs"],
|
|
12
|
+
"quotes": [2, "single"],
|
|
13
|
+
"no-console": 0,
|
|
14
|
+
"no-shadow": 0,
|
|
15
|
+
"no-use-before-define": [2, "nofunc"],
|
|
16
|
+
"no-underscore-dangle": 0,
|
|
17
|
+
"no-constant-condition": 0,
|
|
18
|
+
"space-after-function-name": 0,
|
|
19
|
+
"consistent-return": 0
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013 Roman Shtylman <shtylman@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# process
|
|
2
|
+
|
|
3
|
+
```require('process');``` just like any other module.
|
|
4
|
+
|
|
5
|
+
Works in node.js and browsers via the browser.js shim provided with the module.
|
|
6
|
+
|
|
7
|
+
## browser implementation
|
|
8
|
+
|
|
9
|
+
The goal of this module is not to be a full-fledged alternative to the builtin process module. This module mostly exists to provide the nextTick functionality and little more. We keep this module lean because it will often be included by default by tools like browserify when it detects a module has used the `process` global.
|
|
10
|
+
|
|
11
|
+
It also exposes a "browser" member (i.e. `process.browser`) which is `true` in this implementation but `undefined` in node. This can be used in isomorphic code that adjusts it's behavior depending on which environment it's running in.
|
|
12
|
+
|
|
13
|
+
If you are looking to provide other process methods, I suggest you monkey patch them onto the process global in your app. A list of user created patches is below.
|
|
14
|
+
|
|
15
|
+
* [hrtime](https://github.com/kumavis/browser-process-hrtime)
|
|
16
|
+
* [stdout](https://github.com/kumavis/browser-stdout)
|
|
17
|
+
|
|
18
|
+
## package manager notes
|
|
19
|
+
|
|
20
|
+
If you are writing a bundler to package modules for client side use, make sure you use the ```browser``` field hint in package.json.
|
|
21
|
+
|
|
22
|
+
See https://gist.github.com/4339901 for details.
|
|
23
|
+
|
|
24
|
+
The [browserify](https://github.com/substack/node-browserify) module will properly handle this field when bundling your files.
|
|
25
|
+
|
|
26
|
+
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
// shim for using process in browser
|
|
2
|
+
var process = module.exports = {};
|
|
3
|
+
|
|
4
|
+
// cached from whatever global is present so that test runners that stub it
|
|
5
|
+
// don't break things. But we need to wrap it in a try catch in case it is
|
|
6
|
+
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
|
7
|
+
// function because try/catches deoptimize in certain engines.
|
|
8
|
+
|
|
9
|
+
var cachedSetTimeout;
|
|
10
|
+
var cachedClearTimeout;
|
|
11
|
+
|
|
12
|
+
function defaultSetTimout() {
|
|
13
|
+
throw new Error('setTimeout has not been defined');
|
|
14
|
+
}
|
|
15
|
+
function defaultClearTimeout () {
|
|
16
|
+
throw new Error('clearTimeout has not been defined');
|
|
17
|
+
}
|
|
18
|
+
(function () {
|
|
19
|
+
try {
|
|
20
|
+
if (typeof setTimeout === 'function') {
|
|
21
|
+
cachedSetTimeout = setTimeout;
|
|
22
|
+
} else {
|
|
23
|
+
cachedSetTimeout = defaultSetTimout;
|
|
24
|
+
}
|
|
25
|
+
} catch (e) {
|
|
26
|
+
cachedSetTimeout = defaultSetTimout;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
if (typeof clearTimeout === 'function') {
|
|
30
|
+
cachedClearTimeout = clearTimeout;
|
|
31
|
+
} else {
|
|
32
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
33
|
+
}
|
|
34
|
+
} catch (e) {
|
|
35
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
36
|
+
}
|
|
37
|
+
} ())
|
|
38
|
+
function runTimeout(fun) {
|
|
39
|
+
if (cachedSetTimeout === setTimeout) {
|
|
40
|
+
//normal enviroments in sane situations
|
|
41
|
+
return setTimeout(fun, 0);
|
|
42
|
+
}
|
|
43
|
+
// if setTimeout wasn't available but was latter defined
|
|
44
|
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
45
|
+
cachedSetTimeout = setTimeout;
|
|
46
|
+
return setTimeout(fun, 0);
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
50
|
+
return cachedSetTimeout(fun, 0);
|
|
51
|
+
} catch(e){
|
|
52
|
+
try {
|
|
53
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
54
|
+
return cachedSetTimeout.call(null, fun, 0);
|
|
55
|
+
} catch(e){
|
|
56
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
57
|
+
return cachedSetTimeout.call(this, fun, 0);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
function runClearTimeout(marker) {
|
|
64
|
+
if (cachedClearTimeout === clearTimeout) {
|
|
65
|
+
//normal enviroments in sane situations
|
|
66
|
+
return clearTimeout(marker);
|
|
67
|
+
}
|
|
68
|
+
// if clearTimeout wasn't available but was latter defined
|
|
69
|
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
70
|
+
cachedClearTimeout = clearTimeout;
|
|
71
|
+
return clearTimeout(marker);
|
|
72
|
+
}
|
|
73
|
+
try {
|
|
74
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
75
|
+
return cachedClearTimeout(marker);
|
|
76
|
+
} catch (e){
|
|
77
|
+
try {
|
|
78
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
79
|
+
return cachedClearTimeout.call(null, marker);
|
|
80
|
+
} catch (e){
|
|
81
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
82
|
+
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
83
|
+
return cachedClearTimeout.call(this, marker);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
var queue = [];
|
|
91
|
+
var draining = false;
|
|
92
|
+
var currentQueue;
|
|
93
|
+
var queueIndex = -1;
|
|
94
|
+
|
|
95
|
+
function cleanUpNextTick() {
|
|
96
|
+
if (!draining || !currentQueue) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
draining = false;
|
|
100
|
+
if (currentQueue.length) {
|
|
101
|
+
queue = currentQueue.concat(queue);
|
|
102
|
+
} else {
|
|
103
|
+
queueIndex = -1;
|
|
104
|
+
}
|
|
105
|
+
if (queue.length) {
|
|
106
|
+
drainQueue();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function drainQueue() {
|
|
111
|
+
if (draining) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
var timeout = runTimeout(cleanUpNextTick);
|
|
115
|
+
draining = true;
|
|
116
|
+
|
|
117
|
+
var len = queue.length;
|
|
118
|
+
while(len) {
|
|
119
|
+
currentQueue = queue;
|
|
120
|
+
queue = [];
|
|
121
|
+
while (++queueIndex < len) {
|
|
122
|
+
if (currentQueue) {
|
|
123
|
+
currentQueue[queueIndex].run();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
queueIndex = -1;
|
|
127
|
+
len = queue.length;
|
|
128
|
+
}
|
|
129
|
+
currentQueue = null;
|
|
130
|
+
draining = false;
|
|
131
|
+
runClearTimeout(timeout);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
process.nextTick = function (fun) {
|
|
135
|
+
var args = new Array(arguments.length - 1);
|
|
136
|
+
if (arguments.length > 1) {
|
|
137
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
138
|
+
args[i - 1] = arguments[i];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
queue.push(new Item(fun, args));
|
|
142
|
+
if (queue.length === 1 && !draining) {
|
|
143
|
+
runTimeout(drainQueue);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
// v8 likes predictible objects
|
|
148
|
+
function Item(fun, array) {
|
|
149
|
+
this.fun = fun;
|
|
150
|
+
this.array = array;
|
|
151
|
+
}
|
|
152
|
+
Item.prototype.run = function () {
|
|
153
|
+
this.fun.apply(null, this.array);
|
|
154
|
+
};
|
|
155
|
+
process.title = 'browser';
|
|
156
|
+
process.browser = true;
|
|
157
|
+
process.env = {};
|
|
158
|
+
process.argv = [];
|
|
159
|
+
process.version = ''; // empty string to avoid regexp issues
|
|
160
|
+
process.versions = {};
|
|
161
|
+
|
|
162
|
+
function noop() {}
|
|
163
|
+
|
|
164
|
+
process.on = noop;
|
|
165
|
+
process.addListener = noop;
|
|
166
|
+
process.once = noop;
|
|
167
|
+
process.off = noop;
|
|
168
|
+
process.removeListener = noop;
|
|
169
|
+
process.removeAllListeners = noop;
|
|
170
|
+
process.emit = noop;
|
|
171
|
+
process.prependListener = noop;
|
|
172
|
+
process.prependOnceListener = noop;
|
|
173
|
+
|
|
174
|
+
process.listeners = function (name) { return [] }
|
|
175
|
+
|
|
176
|
+
process.binding = function (name) {
|
|
177
|
+
throw new Error('process.binding is not supported');
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
process.cwd = function () { return '/' };
|
|
181
|
+
process.chdir = function (dir) {
|
|
182
|
+
throw new Error('process.chdir is not supported');
|
|
183
|
+
};
|
|
184
|
+
process.umask = function() { return 0; };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Roman Shtylman <shtylman@gmail.com>",
|
|
3
|
+
"name": "process",
|
|
4
|
+
"description": "process information for node.js and browsers",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"process"
|
|
7
|
+
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "mocha test.js",
|
|
10
|
+
"browser": "zuul --no-coverage --ui mocha-bdd --local 8080 -- test.js"
|
|
11
|
+
},
|
|
12
|
+
"version": "0.11.10",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git://github.com/shtylman/node-process.git"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"browser": "./browser.js",
|
|
19
|
+
"main": "./index.js",
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">= 0.6.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"mocha": "2.2.1",
|
|
25
|
+
"zuul": "^3.10.3"
|
|
26
|
+
}
|
|
27
|
+
}
|