@coro-ai/runner 0.1.33 → 0.1.34
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/src/clients/tracker/jira.js +6 -0
- package/dist/src/clients/tracker/jira.js.map +1 -1
- package/dist/src/clients/tracker/linear.js +6 -2
- package/dist/src/clients/tracker/linear.js.map +1 -1
- package/dist/src/clients/tracker/types.d.ts +11 -0
- package/dist/src/mcp-handlers.d.ts +1 -0
- package/dist/src/mcp-handlers.js +6 -2
- package/dist/src/mcp-handlers.js.map +1 -1
- package/dist/src/mcp-server.js +6 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/plugins/builtin/github-tracker/intelligence/snippets/github-issues-keys.md +4 -1
- package/dist/src/plugins/builtin/jira/index.js +12 -0
- package/dist/src/plugins/builtin/jira/index.js.map +1 -1
- package/dist/src/plugins/builtin/jira/intelligence/snippets/jira-transitions.md +6 -1
- package/dist/src/plugins/builtin/linear/index.js +12 -0
- package/dist/src/plugins/builtin/linear/index.js.map +1 -1
- package/dist/src/plugins/builtin/linear/intelligence/snippets/linear-keys.md +6 -2
- package/dist/src/plugins/types.d.ts +12 -0
- package/node_modules/@coro-ai/cloud-protocol/package.json +1 -1
- package/node_modules/@coro-ai/intelligence-base/package.json +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.js +19 -3
- package/node_modules/@coro-ai/llm-anthropic/dist/executor.js.map +1 -1
- package/node_modules/@coro-ai/llm-anthropic/package.json +1 -1
- package/node_modules/@coro-ai/llm-openai/README.md +3 -3
- package/node_modules/@coro-ai/llm-openai/dist/executor.js +4 -4
- package/node_modules/@coro-ai/llm-openai/dist/executor.js.map +1 -1
- package/node_modules/@coro-ai/llm-openai/dist/models.d.ts.map +1 -1
- package/node_modules/@coro-ai/llm-openai/dist/models.js +24 -0
- package/node_modules/@coro-ai/llm-openai/dist/models.js.map +1 -1
- package/node_modules/@coro-ai/llm-openai/package.json +1 -1
- package/node_modules/@coro-ai/plugin-sdk/dist/types.d.ts +14 -0
- package/node_modules/@coro-ai/plugin-sdk/dist/types.d.ts.map +1 -1
- package/node_modules/@coro-ai/plugin-sdk/package.json +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/sbcs-data.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/encodings/utf32.js +10 -3
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/package.json +2 -2
- package/node_modules/@modelcontextprotocol/sdk/node_modules/iconv-lite/types/encodings.d.ts +2 -0
- package/node_modules/body-parser/HISTORY.md +7 -1
- package/node_modules/body-parser/lib/types/json.js +7 -3
- package/node_modules/body-parser/lib/types/raw.js +7 -3
- package/node_modules/body-parser/lib/types/text.js +7 -3
- package/node_modules/body-parser/lib/types/urlencoded.js +7 -3
- package/node_modules/body-parser/package.json +1 -1
- package/node_modules/express-rate-limit/dist/index.cjs +69 -5
- package/node_modules/express-rate-limit/dist/index.d.cts +18 -0
- package/node_modules/express-rate-limit/dist/index.d.mts +18 -0
- package/node_modules/express-rate-limit/dist/index.d.ts +18 -0
- package/node_modules/express-rate-limit/dist/index.mjs +55 -5
- package/node_modules/express-rate-limit/node_modules/debug/LICENSE +20 -0
- package/node_modules/express-rate-limit/node_modules/debug/README.md +481 -0
- package/node_modules/express-rate-limit/node_modules/debug/package.json +64 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/browser.js +272 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/common.js +292 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/index.js +10 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/node.js +263 -0
- package/node_modules/express-rate-limit/node_modules/ms/index.js +162 -0
- package/node_modules/express-rate-limit/node_modules/ms/license.md +21 -0
- package/node_modules/express-rate-limit/node_modules/ms/package.json +38 -0
- package/node_modules/express-rate-limit/node_modules/ms/readme.md +59 -0
- package/node_modules/express-rate-limit/package.json +11 -8
- package/node_modules/express-rate-limit/readme.md +2 -2
- package/node_modules/fast-copy/README.md +46 -46
- package/node_modules/fast-copy/dist/cjs/index.cjs +13 -19
- package/node_modules/fast-copy/dist/cjs/index.cjs.map +1 -1
- package/node_modules/fast-copy/dist/cjs/index.d.cts +40 -6
- package/node_modules/fast-copy/dist/es/index.d.mts +40 -6
- package/node_modules/fast-copy/dist/es/index.mjs +13 -19
- package/node_modules/fast-copy/dist/es/index.mjs.map +1 -1
- package/node_modules/fast-copy/dist/umd/index.d.ts +40 -6
- package/node_modules/fast-copy/dist/umd/index.js +13 -19
- package/node_modules/fast-copy/dist/umd/index.js.map +1 -1
- package/node_modules/fast-copy/index.d.ts +22 -22
- package/node_modules/fast-copy/package.json +30 -23
- package/node_modules/fast-uri/index.js +1 -1
- package/node_modules/fast-uri/package.json +1 -1
- package/node_modules/fast-uri/test/security.test.js +28 -0
- package/node_modules/hono/dist/adapter/aws-lambda/handler.js +2 -5
- package/node_modules/hono/dist/adapter/bun/websocket.js +3 -1
- package/node_modules/hono/dist/adapter/lambda-edge/handler.js +12 -2
- package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +2 -5
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +3 -1
- package/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +12 -2
- package/node_modules/hono/dist/cjs/client/client.js +10 -1
- package/node_modules/hono/dist/cjs/client/utils.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/cache/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/compress/index.js +2 -1
- package/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -1
- package/node_modules/hono/dist/cjs/middleware/method-override/index.js +5 -3
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/cjs/router/trie-router/node.js +9 -0
- package/node_modules/hono/dist/cjs/utils/body.js +12 -4
- package/node_modules/hono/dist/cjs/utils/buffer.js +2 -1
- package/node_modules/hono/dist/cjs/validator/validator.js +3 -3
- package/node_modules/hono/dist/client/client.js +10 -1
- package/node_modules/hono/dist/client/utils.js +1 -1
- package/node_modules/hono/dist/middleware/cache/index.js +1 -1
- package/node_modules/hono/dist/middleware/compress/index.js +2 -1
- package/node_modules/hono/dist/middleware/etag/index.js +2 -1
- package/node_modules/hono/dist/middleware/method-override/index.js +5 -3
- package/node_modules/hono/dist/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/router/trie-router/node.js +9 -0
- package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +1 -1
- package/node_modules/hono/dist/types/helper/websocket/index.d.ts +1 -1
- package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +2 -2
- package/node_modules/hono/dist/types/middleware/language/language.d.ts +18 -0
- package/node_modules/hono/dist/types/utils/body.d.ts +1 -1
- package/node_modules/hono/dist/types/utils/types.d.ts +1 -1
- package/node_modules/hono/dist/utils/body.js +12 -4
- package/node_modules/hono/dist/utils/buffer.js +2 -1
- package/node_modules/hono/dist/validator/validator.js +3 -3
- package/node_modules/hono/package.json +11 -10
- package/node_modules/js-yaml/README.md +5 -3
- package/node_modules/js-yaml/dist/js-yaml.js +3009 -2402
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +2 -33
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +3073 -2381
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/lib/loader.js +7 -11
- package/node_modules/js-yaml/lib/type/float.js +1 -1
- package/node_modules/js-yaml/lib/type/int.js +4 -4
- package/node_modules/js-yaml/package.json +10 -4
- package/node_modules/node-abi/abi_registry.json +8 -1
- package/node_modules/node-abi/package.json +1 -1
- package/node_modules/openai/CHANGELOG.md +69 -0
- package/node_modules/openai/README.md +9 -2
- package/node_modules/openai/client.d.mts +1 -0
- package/node_modules/openai/client.d.mts.map +1 -1
- package/node_modules/openai/client.d.ts +1 -0
- package/node_modules/openai/client.d.ts.map +1 -1
- package/node_modules/openai/client.js +11 -5
- package/node_modules/openai/client.js.map +1 -1
- package/node_modules/openai/client.mjs +11 -5
- package/node_modules/openai/client.mjs.map +1 -1
- package/node_modules/openai/core/streaming.d.mts.map +1 -1
- package/node_modules/openai/core/streaming.d.ts.map +1 -1
- package/node_modules/openai/core/streaming.js +38 -6
- package/node_modules/openai/core/streaming.js.map +1 -1
- package/node_modules/openai/core/streaming.mjs +38 -6
- package/node_modules/openai/core/streaming.mjs.map +1 -1
- package/node_modules/openai/core/uploads.d.mts +1 -1
- package/node_modules/openai/core/uploads.d.mts.map +1 -1
- package/node_modules/openai/core/uploads.d.ts +1 -1
- package/node_modules/openai/core/uploads.d.ts.map +1 -1
- package/node_modules/openai/core/uploads.js +3 -1
- package/node_modules/openai/core/uploads.js.map +1 -1
- package/node_modules/openai/core/uploads.mjs +1 -0
- package/node_modules/openai/core/uploads.mjs.map +1 -1
- package/node_modules/openai/helpers/audio.d.mts.map +1 -1
- package/node_modules/openai/helpers/audio.d.ts.map +1 -1
- package/node_modules/openai/helpers/audio.js +16 -3
- package/node_modules/openai/helpers/audio.js.map +1 -1
- package/node_modules/openai/helpers/audio.mjs +17 -4
- package/node_modules/openai/helpers/audio.mjs.map +1 -1
- package/node_modules/openai/helpers/zod.d.mts +20 -7
- package/node_modules/openai/helpers/zod.d.mts.map +1 -1
- package/node_modules/openai/helpers/zod.d.ts +20 -7
- package/node_modules/openai/helpers/zod.d.ts.map +1 -1
- package/node_modules/openai/helpers/zod.js +24 -12
- package/node_modules/openai/helpers/zod.js.map +1 -1
- package/node_modules/openai/helpers/zod.mjs +24 -12
- package/node_modules/openai/helpers/zod.mjs.map +1 -1
- package/node_modules/openai/index.d.mts +1 -1
- package/node_modules/openai/index.d.mts.map +1 -1
- package/node_modules/openai/index.d.ts +1 -1
- package/node_modules/openai/index.d.ts.map +1 -1
- package/node_modules/openai/index.js +2 -1
- package/node_modules/openai/index.js.map +1 -1
- package/node_modules/openai/index.mjs +1 -1
- package/node_modules/openai/index.mjs.map +1 -1
- package/node_modules/openai/internal/headers.d.mts.map +1 -1
- package/node_modules/openai/internal/headers.d.ts.map +1 -1
- package/node_modules/openai/internal/headers.js +7 -3
- package/node_modules/openai/internal/headers.js.map +1 -1
- package/node_modules/openai/internal/headers.mjs +7 -3
- package/node_modules/openai/internal/headers.mjs.map +1 -1
- package/node_modules/openai/internal/uploads.d.mts +26 -1
- package/node_modules/openai/internal/uploads.d.mts.map +1 -1
- package/node_modules/openai/internal/uploads.d.ts +26 -1
- package/node_modules/openai/internal/uploads.d.ts.map +1 -1
- package/node_modules/openai/internal/uploads.js +169 -1
- package/node_modules/openai/internal/uploads.js.map +1 -1
- package/node_modules/openai/internal/uploads.mjs +169 -2
- package/node_modules/openai/internal/uploads.mjs.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts +3 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts +3 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.js +18 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.js.map +1 -1
- package/node_modules/openai/lib/AbstractChatCompletionRunner.mjs +18 -3
- package/node_modules/openai/lib/AbstractChatCompletionRunner.mjs.map +1 -1
- package/node_modules/openai/lib/AssistantStream.d.mts.map +1 -1
- package/node_modules/openai/lib/AssistantStream.d.ts.map +1 -1
- package/node_modules/openai/lib/AssistantStream.js +4 -3
- package/node_modules/openai/lib/AssistantStream.js.map +1 -1
- package/node_modules/openai/lib/AssistantStream.mjs +4 -3
- package/node_modules/openai/lib/AssistantStream.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.d.mts +26 -2
- package/node_modules/openai/lib/ChatCompletionRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.d.ts +26 -2
- package/node_modules/openai/lib/ChatCompletionRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionRunner.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.mts +14 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.ts +14 -1
- package/node_modules/openai/lib/ChatCompletionStream.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.js +75 -16
- package/node_modules/openai/lib/ChatCompletionStream.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStream.mjs +74 -16
- package/node_modules/openai/lib/ChatCompletionStream.mjs.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts +25 -2
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts +25 -2
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.js +77 -0
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.js.map +1 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs +78 -1
- package/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs.map +1 -1
- package/node_modules/openai/lib/EventStream.d.mts +13 -0
- package/node_modules/openai/lib/EventStream.d.mts.map +1 -1
- package/node_modules/openai/lib/EventStream.d.ts +13 -0
- package/node_modules/openai/lib/EventStream.d.ts.map +1 -1
- package/node_modules/openai/lib/EventStream.js +107 -2
- package/node_modules/openai/lib/EventStream.js.map +1 -1
- package/node_modules/openai/lib/EventStream.mjs +107 -2
- package/node_modules/openai/lib/EventStream.mjs.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.d.mts +38 -21
- package/node_modules/openai/lib/RunnableFunction.d.mts.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.d.ts +38 -21
- package/node_modules/openai/lib/RunnableFunction.d.ts.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.js.map +1 -1
- package/node_modules/openai/lib/RunnableFunction.mjs.map +1 -1
- package/node_modules/openai/lib/parser.d.mts +2 -2
- package/node_modules/openai/lib/parser.d.mts.map +1 -1
- package/node_modules/openai/lib/parser.d.ts +2 -2
- package/node_modules/openai/lib/parser.d.ts.map +1 -1
- package/node_modules/openai/lib/parser.js.map +1 -1
- package/node_modules/openai/lib/parser.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.mts +6 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.ts +6 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.js +1 -0
- package/node_modules/openai/lib/responses/ResponseAccumulator.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseAccumulator.mjs +1 -0
- package/node_modules/openai/lib/responses/ResponseAccumulator.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.js +2 -0
- package/node_modules/openai/lib/responses/ResponseInputItems.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseInputItems.mjs +2 -0
- package/node_modules/openai/lib/responses/ResponseInputItems.mjs.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.mts +6 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.mts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.ts +6 -1
- package/node_modules/openai/lib/responses/ResponseStream.d.ts.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.js +21 -0
- package/node_modules/openai/lib/responses/ResponseStream.js.map +1 -1
- package/node_modules/openai/lib/responses/ResponseStream.mjs +21 -0
- package/node_modules/openai/lib/responses/ResponseStream.mjs.map +1 -1
- package/node_modules/openai/package.json +1 -1
- package/node_modules/openai/resources/admin/organization/audit-logs.d.mts +2 -2
- package/node_modules/openai/resources/admin/organization/audit-logs.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/audit-logs.d.ts +2 -2
- package/node_modules/openai/resources/admin/organization/audit-logs.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +12 -0
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts +12 -0
- package/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.mts +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.ts +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.js +4 -4
- package/node_modules/openai/resources/admin/organization/projects/index.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.mjs +1 -1
- package/node_modules/openai/resources/admin/organization/projects/index.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.d.mts +2 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.d.ts +2 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.js +2 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/projects.mjs +2 -2
- package/node_modules/openai/resources/admin/organization/projects/projects.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.mts +58 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.ts +58 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.js +26 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs +22 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.mts +3 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.ts +3 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.js +9 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.mjs +4 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/index.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +177 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.mts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.ts +177 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.js +109 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs +104 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -0
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts +1 -167
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts +1 -167
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.js +2 -97
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.js.map +1 -1
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.mjs +1 -95
- package/node_modules/openai/resources/admin/organization/projects/service-accounts.mjs.map +1 -1
- package/node_modules/openai/resources/admin/organization/usage.d.mts +517 -88
- package/node_modules/openai/resources/admin/organization/usage.d.mts.map +1 -1
- package/node_modules/openai/resources/admin/organization/usage.d.ts +517 -88
- package/node_modules/openai/resources/admin/organization/usage.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/assistants.d.mts +12 -26
- package/node_modules/openai/resources/beta/assistants.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/assistants.d.ts +12 -26
- package/node_modules/openai/resources/beta/assistants.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/beta.d.mts +6 -1
- package/node_modules/openai/resources/beta/beta.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/beta.d.ts +6 -1
- package/node_modules/openai/resources/beta/beta.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/beta.js +4 -0
- package/node_modules/openai/resources/beta/beta.js.map +1 -1
- package/node_modules/openai/resources/beta/beta.mjs +4 -0
- package/node_modules/openai/resources/beta/beta.mjs.map +1 -1
- package/node_modules/openai/resources/beta/index.d.mts +1 -0
- package/node_modules/openai/resources/beta/index.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/index.d.ts +1 -0
- package/node_modules/openai/resources/beta/index.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/index.js +5 -3
- package/node_modules/openai/resources/beta/index.js.map +1 -1
- package/node_modules/openai/resources/beta/index.mjs +1 -0
- package/node_modules/openai/resources/beta/index.mjs.map +1 -1
- package/node_modules/openai/resources/beta/responses/index.d.mts +6 -0
- package/node_modules/openai/resources/beta/responses/index.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.d.ts +6 -0
- package/node_modules/openai/resources/beta/responses/index.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.js +11 -0
- package/node_modules/openai/resources/beta/responses/index.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/index.mjs +5 -0
- package/node_modules/openai/resources/beta/responses/index.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.mts +69 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.ts +69 -0
- package/node_modules/openai/resources/beta/responses/input-items.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.js +37 -0
- package/node_modules/openai/resources/beta/responses/input-items.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-items.mjs +33 -0
- package/node_modules/openai/resources/beta/responses/input-items.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.mts +191 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.ts +191 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.js +34 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.mjs +30 -0
- package/node_modules/openai/resources/beta/responses/input-tokens.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.mts +71 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.ts +71 -0
- package/node_modules/openai/resources/beta/responses/internal-base.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.js +48 -0
- package/node_modules/openai/resources/beta/responses/internal-base.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/internal-base.mjs +42 -0
- package/node_modules/openai/resources/beta/responses/internal-base.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.d.mts +9986 -0
- package/node_modules/openai/resources/beta/responses/responses.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.d.ts +9986 -0
- package/node_modules/openai/resources/beta/responses/responses.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.js +121 -0
- package/node_modules/openai/resources/beta/responses/responses.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/responses.mjs +116 -0
- package/node_modules/openai/resources/beta/responses/responses.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.mts +106 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.ts +106 -0
- package/node_modules/openai/resources/beta/responses/ws-base.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.js +476 -0
- package/node_modules/openai/resources/beta/responses/ws-base.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws-base.mjs +472 -0
- package/node_modules/openai/resources/beta/responses/ws-base.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.d.mts +13 -0
- package/node_modules/openai/resources/beta/responses/ws.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.d.ts +13 -0
- package/node_modules/openai/resources/beta/responses/ws.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.js +31 -0
- package/node_modules/openai/resources/beta/responses/ws.js.map +1 -0
- package/node_modules/openai/resources/beta/responses/ws.mjs +26 -0
- package/node_modules/openai/resources/beta/responses/ws.mjs.map +1 -0
- package/node_modules/openai/resources/beta/responses.d.mts +2 -0
- package/node_modules/openai/resources/beta/responses.d.mts.map +1 -0
- package/node_modules/openai/resources/beta/responses.d.ts +2 -0
- package/node_modules/openai/resources/beta/responses.d.ts.map +1 -0
- package/node_modules/openai/resources/beta/responses.js +6 -0
- package/node_modules/openai/resources/beta/responses.js.map +1 -0
- package/node_modules/openai/resources/beta/responses.mjs +3 -0
- package/node_modules/openai/resources/beta/responses.mjs.map +1 -0
- package/node_modules/openai/resources/beta/threads/runs/runs.d.mts +6 -13
- package/node_modules/openai/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.d.ts +6 -13
- package/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.js.map +1 -1
- package/node_modules/openai/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.d.mts +170 -20
- package/node_modules/openai/resources/chat/completions/completions.d.mts.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.d.ts +170 -20
- package/node_modules/openai/resources/chat/completions/completions.d.ts.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.js.map +1 -1
- package/node_modules/openai/resources/chat/completions/completions.mjs.map +1 -1
- package/node_modules/openai/resources/completions.d.mts +4 -0
- package/node_modules/openai/resources/completions.d.mts.map +1 -1
- package/node_modules/openai/resources/completions.d.ts +4 -0
- package/node_modules/openai/resources/completions.d.ts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.d.mts +19 -0
- package/node_modules/openai/resources/conversations/conversations.d.mts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.d.ts +19 -0
- package/node_modules/openai/resources/conversations/conversations.d.ts.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.js.map +1 -1
- package/node_modules/openai/resources/conversations/conversations.mjs.map +1 -1
- package/node_modules/openai/resources/conversations/items.d.mts +45 -1
- package/node_modules/openai/resources/conversations/items.d.mts.map +1 -1
- package/node_modules/openai/resources/conversations/items.d.ts +45 -1
- package/node_modules/openai/resources/conversations/items.d.ts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.d.mts +66 -143
- package/node_modules/openai/resources/evals/runs/runs.d.mts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.d.ts +66 -143
- package/node_modules/openai/resources/evals/runs/runs.d.ts.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.js.map +1 -1
- package/node_modules/openai/resources/evals/runs/runs.mjs.map +1 -1
- package/node_modules/openai/resources/graders/grader-models.d.mts +6 -13
- package/node_modules/openai/resources/graders/grader-models.d.mts.map +1 -1
- package/node_modules/openai/resources/graders/grader-models.d.ts +6 -13
- package/node_modules/openai/resources/graders/grader-models.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/calls.d.mts +1 -1
- package/node_modules/openai/resources/realtime/calls.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/calls.d.ts +1 -1
- package/node_modules/openai/resources/realtime/calls.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.mts +5 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.ts +5 -1
- package/node_modules/openai/resources/realtime/client-secrets.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.d.mts +9 -1
- package/node_modules/openai/resources/realtime/realtime.d.mts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.d.ts +9 -1
- package/node_modules/openai/resources/realtime/realtime.d.ts.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.js.map +1 -1
- package/node_modules/openai/resources/realtime/realtime.mjs.map +1 -1
- package/node_modules/openai/resources/responses/input-tokens.d.mts +7 -1
- package/node_modules/openai/resources/responses/input-tokens.d.mts.map +1 -1
- package/node_modules/openai/resources/responses/input-tokens.d.ts +7 -1
- package/node_modules/openai/resources/responses/input-tokens.d.ts.map +1 -1
- package/node_modules/openai/resources/responses/responses.d.mts +819 -26
- package/node_modules/openai/resources/responses/responses.d.mts.map +1 -1
- package/node_modules/openai/resources/responses/responses.d.ts +819 -26
- package/node_modules/openai/resources/responses/responses.d.ts.map +1 -1
- package/node_modules/openai/resources/responses/responses.js +1 -1
- package/node_modules/openai/resources/responses/responses.js.map +1 -1
- package/node_modules/openai/resources/responses/responses.mjs +1 -1
- package/node_modules/openai/resources/responses/responses.mjs.map +1 -1
- package/node_modules/openai/resources/shared.d.mts +20 -28
- package/node_modules/openai/resources/shared.d.mts.map +1 -1
- package/node_modules/openai/resources/shared.d.ts +20 -28
- package/node_modules/openai/resources/shared.d.ts.map +1 -1
- package/node_modules/openai/src/client.ts +13 -5
- package/node_modules/openai/src/core/streaming.ts +36 -8
- package/node_modules/openai/src/core/uploads.ts +6 -1
- package/node_modules/openai/src/helpers/audio.ts +18 -4
- package/node_modules/openai/src/helpers/zod.ts +62 -23
- package/node_modules/openai/src/index.ts +1 -1
- package/node_modules/openai/src/internal/headers.ts +7 -3
- package/node_modules/openai/src/internal/uploads.ts +214 -4
- package/node_modules/openai/src/lib/AbstractChatCompletionRunner.ts +32 -9
- package/node_modules/openai/src/lib/AssistantStream.ts +4 -3
- package/node_modules/openai/src/lib/ChatCompletionRunner.ts +46 -6
- package/node_modules/openai/src/lib/ChatCompletionStream.ts +115 -17
- package/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts +144 -7
- package/node_modules/openai/src/lib/EventStream.ts +114 -4
- package/node_modules/openai/src/lib/RunnableFunction.ts +60 -31
- package/node_modules/openai/src/lib/parser.ts +4 -0
- package/node_modules/openai/src/lib/responses/ResponseAccumulator.ts +10 -1
- package/node_modules/openai/src/lib/responses/ResponseInputItems.ts +2 -0
- package/node_modules/openai/src/lib/responses/ResponseStream.ts +29 -1
- package/node_modules/openai/src/resources/admin/organization/audit-logs.ts +169 -1
- package/node_modules/openai/src/resources/admin/organization/projects/api-keys.ts +15 -1
- package/node_modules/openai/src/resources/admin/organization/projects/index.ts +1 -1
- package/node_modules/openai/src/resources/admin/organization/projects/projects.ts +13 -13
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/api-keys.ts +80 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/index.ts +15 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +284 -0
- package/node_modules/openai/src/resources/admin/organization/projects/service-accounts.ts +1 -264
- package/node_modules/openai/src/resources/admin/organization/usage.ts +616 -88
- package/node_modules/openai/src/resources/beta/assistants.ts +12 -26
- package/node_modules/openai/src/resources/beta/beta.ts +330 -2
- package/node_modules/openai/src/resources/beta/index.ts +163 -0
- package/node_modules/openai/src/resources/beta/responses/index.ts +169 -0
- package/node_modules/openai/src/resources/beta/responses/input-items.ts +105 -0
- package/node_modules/openai/src/resources/beta/responses/input-tokens.ts +245 -0
- package/node_modules/openai/src/resources/beta/responses/internal-base.ts +117 -0
- package/node_modules/openai/src/resources/beta/responses/responses.ts +12633 -0
- package/node_modules/openai/src/resources/beta/responses/ws-base.ts +615 -0
- package/node_modules/openai/src/resources/beta/responses/ws.ts +38 -0
- package/node_modules/openai/src/resources/beta/responses.ts +3 -0
- package/node_modules/openai/src/resources/beta/threads/runs/runs.ts +6 -13
- package/node_modules/openai/src/resources/chat/completions/completions.ts +237 -23
- package/node_modules/openai/src/resources/completions.ts +5 -0
- package/node_modules/openai/src/resources/conversations/conversations.ts +21 -0
- package/node_modules/openai/src/resources/conversations/items.ts +56 -0
- package/node_modules/openai/src/resources/evals/runs/runs.ts +66 -143
- package/node_modules/openai/src/resources/graders/grader-models.ts +6 -13
- package/node_modules/openai/src/resources/realtime/calls.ts +2 -0
- package/node_modules/openai/src/resources/realtime/client-secrets.ts +7 -0
- package/node_modules/openai/src/resources/realtime/realtime.ts +12 -0
- package/node_modules/openai/src/resources/responses/input-tokens.ts +8 -0
- package/node_modules/openai/src/resources/responses/responses.ts +953 -17
- package/node_modules/openai/src/resources/shared.ts +23 -27
- package/node_modules/openai/src/version.ts +1 -1
- package/node_modules/openai/version.d.mts +1 -1
- package/node_modules/openai/version.d.ts +1 -1
- package/node_modules/openai/version.js +1 -1
- package/node_modules/openai/version.mjs +1 -1
- package/node_modules/tar-fs/index.js +39 -10
- package/node_modules/tar-fs/package.json +6 -1
- package/node_modules/tar-fs/test/index.js +111 -0
- package/node_modules/ws/lib/receiver.js +15 -32
- package/node_modules/ws/lib/websocket-server.js +4 -4
- package/node_modules/ws/lib/websocket.js +4 -4
- package/node_modules/ws/package.json +5 -1
- package/package.json +6 -6
- package/node_modules/fast-copy/CHANGELOG.md +0 -176
- package/node_modules/fast-copy/dist/cjs/copier.d.cts +0 -75
- package/node_modules/fast-copy/dist/cjs/options.d.cts +0 -69
- package/node_modules/fast-copy/dist/cjs/utils.d.cts +0 -13
- package/node_modules/fast-copy/dist/es/copier.d.mts +0 -75
- package/node_modules/fast-copy/dist/es/options.d.mts +0 -69
- package/node_modules/fast-copy/dist/es/utils.d.mts +0 -13
- package/node_modules/fast-copy/dist/umd/copier.d.ts +0 -72
- package/node_modules/fast-copy/dist/umd/options.d.ts +0 -65
- package/node_modules/fast-copy/dist/umd/utils.d.ts +0 -13
- package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -19,6 +19,9 @@ export type AllModels =
|
|
|
19
19
|
| 'gpt-5.1-codex-max';
|
|
20
20
|
|
|
21
21
|
export type ChatModel =
|
|
22
|
+
| 'gpt-5.6-sol'
|
|
23
|
+
| 'gpt-5.6-terra'
|
|
24
|
+
| 'gpt-5.6-luna'
|
|
22
25
|
| 'gpt-5.4'
|
|
23
26
|
| 'gpt-5.4-mini'
|
|
24
27
|
| 'gpt-5.4-nano'
|
|
@@ -265,19 +268,12 @@ export interface Reasoning {
|
|
|
265
268
|
context?: 'auto' | 'current_turn' | 'all_turns' | null;
|
|
266
269
|
|
|
267
270
|
/**
|
|
268
|
-
* Constrains effort on reasoning for
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
|
275
|
-
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
|
276
|
-
* calls are supported for all reasoning values in gpt-5.1.
|
|
277
|
-
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
|
278
|
-
* support `none`.
|
|
279
|
-
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
280
|
-
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
|
|
271
|
+
* Constrains effort on reasoning for reasoning models. Currently supported values
|
|
272
|
+
* are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
273
|
+
* reasoning effort can result in faster responses and fewer tokens used on
|
|
274
|
+
* reasoning in a response. Not all reasoning models support every value. See the
|
|
275
|
+
* [reasoning guide](https://platform.openai.com/docs/guides/reasoning) for
|
|
276
|
+
* model-specific support.
|
|
281
277
|
*/
|
|
282
278
|
effort?: ReasoningEffort | null;
|
|
283
279
|
|
|
@@ -290,6 +286,13 @@ export interface Reasoning {
|
|
|
290
286
|
*/
|
|
291
287
|
generate_summary?: 'auto' | 'concise' | 'detailed' | null;
|
|
292
288
|
|
|
289
|
+
/**
|
|
290
|
+
* Controls the reasoning execution mode for the request.
|
|
291
|
+
*
|
|
292
|
+
* When returned on a response, this is the effective execution mode.
|
|
293
|
+
*/
|
|
294
|
+
mode?: (string & {}) | 'standard' | 'pro';
|
|
295
|
+
|
|
293
296
|
/**
|
|
294
297
|
* A summary of the reasoning performed by the model. This can be useful for
|
|
295
298
|
* debugging and understanding the model's reasoning process. One of `auto`,
|
|
@@ -302,21 +305,14 @@ export interface Reasoning {
|
|
|
302
305
|
}
|
|
303
306
|
|
|
304
307
|
/**
|
|
305
|
-
* Constrains effort on reasoning for
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
|
312
|
-
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
|
313
|
-
* calls are supported for all reasoning values in gpt-5.1.
|
|
314
|
-
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
|
315
|
-
* support `none`.
|
|
316
|
-
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
317
|
-
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
|
|
308
|
+
* Constrains effort on reasoning for reasoning models. Currently supported values
|
|
309
|
+
* are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
310
|
+
* reasoning effort can result in faster responses and fewer tokens used on
|
|
311
|
+
* reasoning in a response. Not all reasoning models support every value. See the
|
|
312
|
+
* [reasoning guide](https://platform.openai.com/docs/guides/reasoning) for
|
|
313
|
+
* model-specific support.
|
|
318
314
|
*/
|
|
319
|
-
export type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | null;
|
|
315
|
+
export type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
320
316
|
|
|
321
317
|
/**
|
|
322
318
|
* JSON object response format. An older method of generating JSON responses. Using
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.48.0'; // x-release-please-version
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.48.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.48.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.48.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -21,6 +21,10 @@ var normalize = !win32 ? echo : function (name) {
|
|
|
21
21
|
var statAll = function (fs, stat, cwd, ignore, entries, sort) {
|
|
22
22
|
var queue = entries || ['.']
|
|
23
23
|
|
|
24
|
+
for (var i = 0; i < queue.length; i++) { // do not pack entries outside cwd
|
|
25
|
+
if (!inCwd(path.resolve(cwd, queue[i]), cwd)) throw new Error(queue[i] + ' is not a valid path')
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
return function loop (callback) {
|
|
25
29
|
if (!queue.length) return callback()
|
|
26
30
|
var next = queue.shift()
|
|
@@ -226,7 +230,7 @@ exports.extract = function (cwd, opts) {
|
|
|
226
230
|
|
|
227
231
|
if (!chmod) return cb()
|
|
228
232
|
|
|
229
|
-
var mode = (header.mode | (header.type === 'directory' ? dmode : fmode)) & umask
|
|
233
|
+
var mode = (header.mode | (header.type === 'directory' ? dmode : fmode)) & umask & parseInt(777, 8) // never extract setuid/setgid/sticky bits
|
|
230
234
|
|
|
231
235
|
if (chown && own) chown.call(xfs, name, header.uid, header.gid, onchown)
|
|
232
236
|
else onchown(null)
|
|
@@ -250,6 +254,7 @@ exports.extract = function (cwd, opts) {
|
|
|
250
254
|
|
|
251
255
|
var stat = function (err) {
|
|
252
256
|
if (err) return next(err)
|
|
257
|
+
if (path.join(name, '.') === path.join(cwd, '.')) return next() // do not touch the extraction root itself
|
|
253
258
|
utimes(name, header, function (err) {
|
|
254
259
|
if (err) return next(err)
|
|
255
260
|
if (win32) return next()
|
|
@@ -263,7 +268,11 @@ exports.extract = function (cwd, opts) {
|
|
|
263
268
|
var dst = path.resolve(path.dirname(name), header.linkname)
|
|
264
269
|
if (!inCwd(dst, cwd)) return next(new Error(name + ' is not a valid symlink'))
|
|
265
270
|
|
|
266
|
-
xfs.
|
|
271
|
+
validateNotSymlink(xfs, dst, path.resolve(cwd), function (err, valid) {
|
|
272
|
+
if (err) return next(err)
|
|
273
|
+
if (!valid) return next(new Error(name + ' is not a valid symlink'))
|
|
274
|
+
xfs.symlink(header.linkname, name, stat)
|
|
275
|
+
})
|
|
267
276
|
})
|
|
268
277
|
}
|
|
269
278
|
|
|
@@ -288,17 +297,26 @@ exports.extract = function (cwd, opts) {
|
|
|
288
297
|
}
|
|
289
298
|
|
|
290
299
|
var onfile = function () {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
ws.on('error', function (err) { // always forward errors on destroy
|
|
295
|
-
rs.destroy(err)
|
|
300
|
+
xfs.lstat(name, function (err, st) {
|
|
301
|
+
if (!err && st.isSymbolicLink()) return xfs.unlink(name, onwrite) // never write through an existing symlink
|
|
302
|
+
onwrite()
|
|
296
303
|
})
|
|
297
304
|
|
|
298
|
-
|
|
305
|
+
function onwrite (err) {
|
|
299
306
|
if (err) return next(err)
|
|
300
|
-
|
|
301
|
-
|
|
307
|
+
|
|
308
|
+
var ws = xfs.createWriteStream(name)
|
|
309
|
+
var rs = mapStream(stream, header)
|
|
310
|
+
|
|
311
|
+
ws.on('error', function (err) { // always forward errors on destroy
|
|
312
|
+
rs.destroy(err)
|
|
313
|
+
})
|
|
314
|
+
|
|
315
|
+
pump(rs, ws, function (err) {
|
|
316
|
+
if (err) return next(err)
|
|
317
|
+
ws.on('close', stat)
|
|
318
|
+
})
|
|
319
|
+
}
|
|
302
320
|
}
|
|
303
321
|
|
|
304
322
|
if (header.type === 'directory') {
|
|
@@ -347,6 +365,17 @@ function validate (fs, name, root, cb) {
|
|
|
347
365
|
})
|
|
348
366
|
}
|
|
349
367
|
|
|
368
|
+
function validateNotSymlink (fs, name, root, cb) {
|
|
369
|
+
if (name === root) return cb(null, true)
|
|
370
|
+
if (!name.startsWith(root + path.sep)) return cb(null, false)
|
|
371
|
+
|
|
372
|
+
fs.lstat(name, function (err, st) {
|
|
373
|
+
if (err && err.code !== 'ENOENT' && err.code !== 'EPERM') return cb(err)
|
|
374
|
+
if (err || !st.isSymbolicLink()) return validateNotSymlink(fs, path.join(name, '..'), root, cb)
|
|
375
|
+
cb(null, false)
|
|
376
|
+
})
|
|
377
|
+
}
|
|
378
|
+
|
|
350
379
|
function mkdirfix (name, opts, cb) {
|
|
351
380
|
mkdirp(name, { fs: opts.fs }, function (err, made) {
|
|
352
381
|
if (!err && made && opts.own) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tar-fs",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "filesystem bindings for tar-stream",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"chownr": "^1.1.1",
|
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"test": "standard && tape test/index.js"
|
|
26
26
|
},
|
|
27
|
+
"standard": {
|
|
28
|
+
"ignore": [
|
|
29
|
+
"test/fixtures/**"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
27
32
|
"bugs": {
|
|
28
33
|
"url": "https://github.com/mafintosh/tar-fs/issues"
|
|
29
34
|
},
|
|
@@ -344,3 +344,114 @@ test('no abs hardlink targets', function (t) {
|
|
|
344
344
|
})
|
|
345
345
|
})
|
|
346
346
|
})
|
|
347
|
+
|
|
348
|
+
test('do not follow a pre-existing symlink chain', function (t) {
|
|
349
|
+
if (win32) { // no symlink support on win32 currently. TODO: test if this can be enabled somehow
|
|
350
|
+
t.plan(1)
|
|
351
|
+
t.ok(true)
|
|
352
|
+
return
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
var out = path.join(__dirname, 'fixtures', 'copy', 'symlink-chain')
|
|
356
|
+
var outside = path.join(__dirname, 'fixtures', 'copy', 'symlink-chain-outside')
|
|
357
|
+
|
|
358
|
+
rimraf.sync(out)
|
|
359
|
+
rimraf.sync(outside)
|
|
360
|
+
fs.mkdirSync(out, { recursive: true })
|
|
361
|
+
fs.mkdirSync(outside, { recursive: true })
|
|
362
|
+
fs.symlinkSync(outside, path.join(out, 'shared')) // pre-existing external symlink
|
|
363
|
+
|
|
364
|
+
var s = tarStream.pack()
|
|
365
|
+
s.entry({ name: 'newlink', type: 'symlink', linkname: 'shared/secret.txt' })
|
|
366
|
+
s.finalize()
|
|
367
|
+
|
|
368
|
+
s.pipe(tar.extract(out))
|
|
369
|
+
.on('error', function (err) {
|
|
370
|
+
t.ok(/is not a valid symlink/i.test(err.message), 'blocked symlink through external chain')
|
|
371
|
+
t.end()
|
|
372
|
+
})
|
|
373
|
+
})
|
|
374
|
+
|
|
375
|
+
test('do not write through a pre-existing symlink', function (t) {
|
|
376
|
+
if (win32) {
|
|
377
|
+
t.plan(1)
|
|
378
|
+
t.ok(true)
|
|
379
|
+
return
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
var out = path.join(__dirname, 'fixtures', 'copy', 'symlink-target')
|
|
383
|
+
var outside = path.join(__dirname, 'fixtures', 'copy', 'symlink-target-outside')
|
|
384
|
+
|
|
385
|
+
rimraf.sync(out)
|
|
386
|
+
rimraf.sync(outside)
|
|
387
|
+
fs.mkdirSync(out, { recursive: true })
|
|
388
|
+
fs.writeFileSync(outside, 'something')
|
|
389
|
+
fs.symlinkSync(outside, path.join(out, 'config'))
|
|
390
|
+
|
|
391
|
+
var s = tarStream.pack()
|
|
392
|
+
s.entry({ name: 'config', type: 'file' }, 'overwrite')
|
|
393
|
+
s.finalize()
|
|
394
|
+
|
|
395
|
+
s.pipe(tar.extract(out))
|
|
396
|
+
.on('finish', function () {
|
|
397
|
+
t.same(fs.readFileSync(outside, 'utf-8'), 'something', 'outside file untouched')
|
|
398
|
+
t.same(fs.readFileSync(path.join(out, 'config'), 'utf-8'), 'overwrite', 'written inside cwd')
|
|
399
|
+
t.end()
|
|
400
|
+
})
|
|
401
|
+
})
|
|
402
|
+
|
|
403
|
+
test('do not chmod the extraction root', function (t) {
|
|
404
|
+
if (win32) {
|
|
405
|
+
t.plan(1)
|
|
406
|
+
t.ok(true)
|
|
407
|
+
return
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
var out = path.join(__dirname, 'fixtures', 'copy', 'chmod-root')
|
|
411
|
+
|
|
412
|
+
rimraf.sync(out)
|
|
413
|
+
fs.mkdirSync(out, { recursive: true })
|
|
414
|
+
fs.chmodSync(out, parseInt(755, 8))
|
|
415
|
+
|
|
416
|
+
var s = tarStream.pack()
|
|
417
|
+
s.entry({ name: '.', type: 'directory', mode: parseInt(100, 8) })
|
|
418
|
+
s.finalize()
|
|
419
|
+
|
|
420
|
+
s.pipe(tar.extract(out))
|
|
421
|
+
.on('finish', function () {
|
|
422
|
+
t.same(fs.statSync(out).mode & parseInt(777, 8), parseInt(755, 8), 'root permissions unchanged')
|
|
423
|
+
t.end()
|
|
424
|
+
})
|
|
425
|
+
})
|
|
426
|
+
|
|
427
|
+
test('strip setuid/setgid/sticky bits', function (t) {
|
|
428
|
+
if (win32) {
|
|
429
|
+
t.plan(1)
|
|
430
|
+
t.ok(true)
|
|
431
|
+
return
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
var out = path.join(__dirname, 'fixtures', 'copy', 'suid')
|
|
435
|
+
|
|
436
|
+
rimraf.sync(out)
|
|
437
|
+
|
|
438
|
+
var s = tarStream.pack()
|
|
439
|
+
s.entry({ name: 'suid', type: 'file', mode: parseInt(4755, 8) }, 'data')
|
|
440
|
+
s.finalize()
|
|
441
|
+
|
|
442
|
+
s.pipe(tar.extract(out))
|
|
443
|
+
.on('finish', function () {
|
|
444
|
+
t.same(fs.statSync(path.join(out, 'suid')).mode & parseInt(7000, 8), 0, 'special bits stripped')
|
|
445
|
+
t.end()
|
|
446
|
+
})
|
|
447
|
+
})
|
|
448
|
+
|
|
449
|
+
test('do not pack entries outside cwd', function (t) {
|
|
450
|
+
t.plan(1)
|
|
451
|
+
|
|
452
|
+
var a = path.join(__dirname, 'fixtures', 'a')
|
|
453
|
+
|
|
454
|
+
t.throws(function () {
|
|
455
|
+
tar.pack(a, { entries: ['../b'] })
|
|
456
|
+
}, /is not a valid path/)
|
|
457
|
+
})
|
|
@@ -77,6 +77,7 @@ class Receiver extends Writable {
|
|
|
77
77
|
|
|
78
78
|
this._totalPayloadLength = 0;
|
|
79
79
|
this._messageLength = 0;
|
|
80
|
+
this._numFragments = 0;
|
|
80
81
|
this._fragments = [];
|
|
81
82
|
|
|
82
83
|
this._errored = false;
|
|
@@ -500,6 +501,19 @@ class Receiver extends Writable {
|
|
|
500
501
|
return;
|
|
501
502
|
}
|
|
502
503
|
|
|
504
|
+
if (this._maxFragments > 0 && ++this._numFragments > this._maxFragments) {
|
|
505
|
+
const error = this.createError(
|
|
506
|
+
RangeError,
|
|
507
|
+
'Too many message fragments',
|
|
508
|
+
false,
|
|
509
|
+
1008,
|
|
510
|
+
'WS_ERR_TOO_MANY_BUFFERED_PARTS'
|
|
511
|
+
);
|
|
512
|
+
|
|
513
|
+
cb(error);
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
|
|
503
517
|
if (this._compressed) {
|
|
504
518
|
this._state = INFLATING;
|
|
505
519
|
this.decompress(data, cb);
|
|
@@ -507,22 +521,6 @@ class Receiver extends Writable {
|
|
|
507
521
|
}
|
|
508
522
|
|
|
509
523
|
if (data.length) {
|
|
510
|
-
if (
|
|
511
|
-
this._maxFragments > 0 &&
|
|
512
|
-
this._fragments.length >= this._maxFragments
|
|
513
|
-
) {
|
|
514
|
-
const error = this.createError(
|
|
515
|
-
RangeError,
|
|
516
|
-
'Too many message fragments',
|
|
517
|
-
false,
|
|
518
|
-
1008,
|
|
519
|
-
'WS_ERR_TOO_MANY_BUFFERED_PARTS'
|
|
520
|
-
);
|
|
521
|
-
|
|
522
|
-
cb(error);
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
524
|
//
|
|
527
525
|
// This message is not compressed so its length is the sum of the payload
|
|
528
526
|
// length of all fragments.
|
|
@@ -562,22 +560,6 @@ class Receiver extends Writable {
|
|
|
562
560
|
return;
|
|
563
561
|
}
|
|
564
562
|
|
|
565
|
-
if (
|
|
566
|
-
this._maxFragments > 0 &&
|
|
567
|
-
this._fragments.length >= this._maxFragments
|
|
568
|
-
) {
|
|
569
|
-
const error = this.createError(
|
|
570
|
-
RangeError,
|
|
571
|
-
'Too many message fragments',
|
|
572
|
-
false,
|
|
573
|
-
1008,
|
|
574
|
-
'WS_ERR_TOO_MANY_BUFFERED_PARTS'
|
|
575
|
-
);
|
|
576
|
-
|
|
577
|
-
cb(error);
|
|
578
|
-
return;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
563
|
this._fragments.push(buf);
|
|
582
564
|
}
|
|
583
565
|
|
|
@@ -604,6 +586,7 @@ class Receiver extends Writable {
|
|
|
604
586
|
this._totalPayloadLength = 0;
|
|
605
587
|
this._messageLength = 0;
|
|
606
588
|
this._fragmented = 0;
|
|
589
|
+
this._numFragments = 0;
|
|
607
590
|
this._fragments = [];
|
|
608
591
|
|
|
609
592
|
if (this._opcode === 2) {
|
|
@@ -43,9 +43,9 @@ class WebSocketServer extends EventEmitter {
|
|
|
43
43
|
* called
|
|
44
44
|
* @param {Function} [options.handleProtocols] A hook to handle protocols
|
|
45
45
|
* @param {String} [options.host] The hostname where to bind the server
|
|
46
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
46
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
47
47
|
* buffered data chunks
|
|
48
|
-
* @param {Number} [options.maxFragments=
|
|
48
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
49
49
|
* fragments
|
|
50
50
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
51
51
|
* size
|
|
@@ -69,8 +69,8 @@ class WebSocketServer extends EventEmitter {
|
|
|
69
69
|
options = {
|
|
70
70
|
allowSynchronousEvents: true,
|
|
71
71
|
autoPong: true,
|
|
72
|
-
maxBufferedChunks:
|
|
73
|
-
maxFragments:
|
|
72
|
+
maxBufferedChunks: 256 * 1024,
|
|
73
|
+
maxFragments: 16 * 1024,
|
|
74
74
|
maxPayload: 100 * 1024 * 1024,
|
|
75
75
|
skipUTF8Validation: false,
|
|
76
76
|
perMessageDeflate: false,
|
|
@@ -646,9 +646,9 @@ module.exports = WebSocket;
|
|
|
646
646
|
* masking key
|
|
647
647
|
* @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
|
|
648
648
|
* handshake request
|
|
649
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
649
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
650
650
|
* buffered data chunks
|
|
651
|
-
* @param {Number} [options.maxFragments=
|
|
651
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
652
652
|
* fragments
|
|
653
653
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
654
654
|
* size
|
|
@@ -670,8 +670,8 @@ function initAsClient(websocket, address, protocols, options) {
|
|
|
670
670
|
autoPong: true,
|
|
671
671
|
closeTimeout: CLOSE_TIMEOUT,
|
|
672
672
|
protocolVersion: protocolVersions[1],
|
|
673
|
-
maxBufferedChunks:
|
|
674
|
-
maxFragments:
|
|
673
|
+
maxBufferedChunks: 256 * 1024,
|
|
674
|
+
maxFragments: 16 * 1024,
|
|
675
675
|
maxPayload: 100 * 1024 * 1024,
|
|
676
676
|
skipUTF8Validation: false,
|
|
677
677
|
perMessageDeflate: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ws",
|
|
3
|
-
"version": "8.21.
|
|
3
|
+
"version": "8.21.1",
|
|
4
4
|
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"HyBi",
|
|
@@ -66,5 +66,9 @@
|
|
|
66
66
|
"nyc": "^15.0.0",
|
|
67
67
|
"prettier": "^3.0.0",
|
|
68
68
|
"utf-8-validate": "^6.0.0"
|
|
69
|
+
},
|
|
70
|
+
"allowScripts": {
|
|
71
|
+
"bufferutil": true,
|
|
72
|
+
"utf-8-validate": true
|
|
69
73
|
}
|
|
70
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coro-ai/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "Coro Runner — local agent runtime, cloud control plane, and CLI (`coro` command).",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"engines": {
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"cli"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@coro-ai/cloud-protocol": "0.1.
|
|
39
|
-
"@coro-ai/intelligence-base": "0.1.
|
|
40
|
-
"@coro-ai/llm-anthropic": "0.1.
|
|
41
|
-
"@coro-ai/llm-openai": "0.1.
|
|
42
|
-
"@coro-ai/plugin-sdk": "0.1.
|
|
38
|
+
"@coro-ai/cloud-protocol": "0.1.34",
|
|
39
|
+
"@coro-ai/intelligence-base": "0.1.34",
|
|
40
|
+
"@coro-ai/llm-anthropic": "0.1.34",
|
|
41
|
+
"@coro-ai/llm-openai": "0.1.34",
|
|
42
|
+
"@coro-ai/plugin-sdk": "0.1.34",
|
|
43
43
|
"bcryptjs": "^3.0.3",
|
|
44
44
|
"better-sqlite3": "^12.9.0",
|
|
45
45
|
"commander": "^13.1.0",
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
# fast-copy CHANGELOG
|
|
2
|
-
|
|
3
|
-
## 4.0.3
|
|
4
|
-
|
|
5
|
-
- [#130](https://github.com/planttheidea/fast-copy/pull/130) - Remove invalid `Uint64Array` in favor of `BigInt64Array`
|
|
6
|
-
/ `BigUint64Array`) (fixes [#128](https://github.com/planttheidea/fast-copy/issues/128))
|
|
7
|
-
|
|
8
|
-
## 4.0.2
|
|
9
|
-
|
|
10
|
-
- [#112](https://github.com/planttheidea/fast-copy/pull/112) - Prevent generators from attempting to be copied (fixes
|
|
11
|
-
[#111](https://github.com/planttheidea/fast-copy/issues/111))
|
|
12
|
-
|
|
13
|
-
## 4.0.1
|
|
14
|
-
|
|
15
|
-
- [#110](https://github.com/planttheidea/fast-copy/pull/110) - Fix legacy types not aligning with types from build
|
|
16
|
-
package
|
|
17
|
-
|
|
18
|
-
## 4.0.0
|
|
19
|
-
|
|
20
|
-
### BREAKING CHANGES
|
|
21
|
-
|
|
22
|
-
- The default `copy` method is now a named export, and the default export has been removed.
|
|
23
|
-
- Legacy environment support has been removed; `Symbol`, `WeakMap`, and `RegExp.prototype.flags` are now expected to be
|
|
24
|
-
present.
|
|
25
|
-
- `createCopier` now receives an object of options. The methods passed previously are namespaced under the `methods` key
|
|
26
|
-
in that options object.
|
|
27
|
-
- `createStrictCopier` has been removed; please use the `strict` option passed to `createCopier`
|
|
28
|
-
|
|
29
|
-
## 3.0.2
|
|
30
|
-
|
|
31
|
-
- [#95](https://github.com/planttheidea/fast-copy/pull/95) - Add support for objects that have a prototype with no
|
|
32
|
-
constructor
|
|
33
|
-
|
|
34
|
-
## 3.0.1
|
|
35
|
-
|
|
36
|
-
- [#78](https://github.com/planttheidea/fast-copy/pull/78) - Work when running Node process with `--disable-proto=throw`
|
|
37
|
-
(thanks [@castarco](https://github.com/castarco))
|
|
38
|
-
|
|
39
|
-
## 3.0.0
|
|
40
|
-
|
|
41
|
-
**Breaking changes**
|
|
42
|
-
|
|
43
|
-
- Exports are now always named, so the `.default` suffix is required when accessing
|
|
44
|
-
- CommonJS in Node => `const copy = require('fast-copy').default;`
|
|
45
|
-
- UMD global via CDN => `const copy = globalThis['fast-copy'].default;`
|
|
46
|
-
- `copy.strict` is no longer available; it is now available as the explicit `copyStrict` named import
|
|
47
|
-
- Options have been removed
|
|
48
|
-
- `isStrict` option has been replaced with importing the separate `copyStrict` method
|
|
49
|
-
- `realm` has been removed entirely, as `instanceof` is no longer used internally
|
|
50
|
-
- The `FastCopy` namespace in typings has been removed in favor of explicit import of available types
|
|
51
|
-
|
|
52
|
-
**Enhancements**
|
|
53
|
-
|
|
54
|
-
- Support `exports` option, to have bettern handling for different environments (ESM vs CJS vs UMD) and improve
|
|
55
|
-
tree-shaking when supported
|
|
56
|
-
- Can now create a custom copier (either standard or strict), allowing maximum performance for specific use-cases
|
|
57
|
-
- Small speed improvements when handling certain object types
|
|
58
|
-
|
|
59
|
-
**Bug fixes**
|
|
60
|
-
|
|
61
|
-
- Correctly handle primitive wrappers, e.g. `new String('foo')`
|
|
62
|
-
|
|
63
|
-
## 2.1.7
|
|
64
|
-
|
|
65
|
-
- Republish of [`2.1.6`](#216), as the release process failed mid-publish
|
|
66
|
-
|
|
67
|
-
## 2.1.6
|
|
68
|
-
|
|
69
|
-
- Revert [#69](https://github.com/planttheidea/fast-copy/pull/69) and
|
|
70
|
-
[#71](https://github.com/planttheidea/fast-copy/pull/71), as they broke the package for NodeJS consumption (will be
|
|
71
|
-
reintroduced in v3, as breaking changes are required)
|
|
72
|
-
|
|
73
|
-
## 2.1.5 - DO NOT USE
|
|
74
|
-
|
|
75
|
-
- Ensure `"type": "module"` is set to allow ESM in NodeJS to work
|
|
76
|
-
[#71](https://github.com/planttheidea/fast-copy/pull/71)
|
|
77
|
-
|
|
78
|
-
## 2.1.4 - DO NOT USE
|
|
79
|
-
|
|
80
|
-
- Provide `"exports"` definition in `package.json` [#69](https://github.com/planttheidea/fast-copy/pull/69) (thanks
|
|
81
|
-
[@liteoood](https://github.com/ilteoood))
|
|
82
|
-
|
|
83
|
-
## 2.1.3
|
|
84
|
-
|
|
85
|
-
- Fix source maps not referencing source code [#65](https://github.com/planttheidea/fast-copy/pull/65)
|
|
86
|
-
|
|
87
|
-
## 2.1.2
|
|
88
|
-
|
|
89
|
-
- Support `constructor` property override on object [#60](https://github.com/planttheidea/fast-copy/pull/60)
|
|
90
|
-
- Provide better support for `constructor` override on non-plain object types
|
|
91
|
-
[#61](https://github.com/planttheidea/fast-copy/pull/61)
|
|
92
|
-
- Remove `tslint` in favor of `@typescript-eslint` [#62](https://github.com/planttheidea/fast-copy/pull/62)
|
|
93
|
-
|
|
94
|
-
## 2.1.1
|
|
95
|
-
|
|
96
|
-
- Fix ESM-to-CommonJS issue when using TSC to consume [#37](https://github.com/planttheidea/fast-copy/issues/37)
|
|
97
|
-
- Modify `Blob` cloning to use `blob.slice()` instead of `new Blob()` for speed
|
|
98
|
-
|
|
99
|
-
## 2.1.0
|
|
100
|
-
|
|
101
|
-
- Support cloning `Blob` [#31](https://github.com/planttheidea/fast-copy/pull/31) (thanks
|
|
102
|
-
[@fratzigner](https://github.com/fratzinger))
|
|
103
|
-
- Fix cloning descriptors that only are getters / setters in strict mode
|
|
104
|
-
- Handle errors when defining properties in strict mode
|
|
105
|
-
|
|
106
|
-
## 2.0.5
|
|
107
|
-
|
|
108
|
-
- Fix issue copying objects referenced multiple times in source [#28](https://github.com/planttheidea/fast-copy/pull/28)
|
|
109
|
-
(thanks [@darkowic](https://github.com/darkowic))
|
|
110
|
-
|
|
111
|
-
## 2.0.4
|
|
112
|
-
|
|
113
|
-
- Cache length of arrays for faster iteration [#22](https://github.com/planttheidea/fast-copy/pull/22)
|
|
114
|
-
- Update dev dependencies and types
|
|
115
|
-
|
|
116
|
-
## 2.0.3
|
|
117
|
-
|
|
118
|
-
- Add safety to constructing native objects (fixes #19)
|
|
119
|
-
|
|
120
|
-
## 2.0.2
|
|
121
|
-
|
|
122
|
-
- Manually coalesce options instead of use destructuring (performance)
|
|
123
|
-
|
|
124
|
-
## 2.0.1
|
|
125
|
-
|
|
126
|
-
- Fix typings declarations - [#17](https://github.com/planttheidea/fast-copy/pull/17)
|
|
127
|
-
|
|
128
|
-
## 2.0.0
|
|
129
|
-
|
|
130
|
-
- Rewrite in TypeScript
|
|
131
|
-
- Add strict mode (for more accurate and thorough copying, at the expense of less performance)
|
|
132
|
-
|
|
133
|
-
#### BREAKING CHANGES
|
|
134
|
-
|
|
135
|
-
- Second parameter is now an object of [options](README.md#options)
|
|
136
|
-
|
|
137
|
-
## 1.2.4
|
|
138
|
-
|
|
139
|
-
- Ensure `Date` copy uses realm-specific constructor
|
|
140
|
-
|
|
141
|
-
## 1.2.3
|
|
142
|
-
|
|
143
|
-
- Support custom prototype applied to plain object via `Object.create()`
|
|
144
|
-
|
|
145
|
-
## 1.2.2
|
|
146
|
-
|
|
147
|
-
- Support copy of extensions of native `Array` with alternative `push()` method
|
|
148
|
-
|
|
149
|
-
## 1.2.1
|
|
150
|
-
|
|
151
|
-
- Under-the-hood optimizations per recommendations from #7
|
|
152
|
-
|
|
153
|
-
## 1.2.0
|
|
154
|
-
|
|
155
|
-
- Add support for multiple realms
|
|
156
|
-
|
|
157
|
-
## 1.1.2
|
|
158
|
-
|
|
159
|
-
- Optimize order of operations for common use cases
|
|
160
|
-
|
|
161
|
-
## 1.1.1
|
|
162
|
-
|
|
163
|
-
- Fix cache using `WeakSet` when there was support for `WeakMap`s instead of `WeakSet`s (in case one was polyfilled but
|
|
164
|
-
not the other)
|
|
165
|
-
|
|
166
|
-
## 1.1.0
|
|
167
|
-
|
|
168
|
-
- Add TypeScript and FlowType bindings
|
|
169
|
-
|
|
170
|
-
## 1.0.1
|
|
171
|
-
|
|
172
|
-
- Activate tree-shaking
|
|
173
|
-
|
|
174
|
-
## 1.0.0
|
|
175
|
-
|
|
176
|
-
- Initial release
|