{"name":"@aws-sdk/core","version":"3.796.0","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/core@3.796.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"}],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/core","bugs":{"url":"https://github.com/aws/aws-sdk-js-v3/issues"},"dist":{"shasum":"6076b78772c1eb97ec6ea9064c85ce500e0aa889","tarball":"http://registry-npm.ywwl.com/@aws-sdk/core/download/@aws-sdk/core-3.796.0.tgz","fileCount":95,"integrity":"sha512-tH8Sp7lCxISVoLnkyv4AouuXs2CDlMhTuesWa0lq2NX1f+DXsMwSBtN37ttZdpFMw3F8mWdsJt27X9h2Oq868A==","signatures":[{"sig":"MEUCIQDv470x6sMRx0Abt2CHVmQCsLxEli6j6ykcGL8BeyhwMAIgJ7rAA1wiu0AUU1Ea3UNBWRta7cP5hG/DTpbwPBihyT4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83183,"size":17320,"noattachment":false,"key":"/@aws-sdk/core/-/@aws-sdk/core-3.796.0.tgz"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","import":"./dist-es/index.js","module":"./dist-es/index.js","require":"./dist-cjs/index.js"},"./client":{"node":"./dist-cjs/submodules/client/index.js","types":"./dist-types/submodules/client/index.d.ts","import":"./dist-es/submodules/client/index.js","module":"./dist-es/submodules/client/index.js","require":"./dist-cjs/submodules/client/index.js"},"./protocols":{"node":"./dist-cjs/submodules/protocols/index.js","types":"./dist-types/submodules/protocols/index.d.ts","import":"./dist-es/submodules/protocols/index.js","module":"./dist-es/submodules/protocols/index.js","require":"./dist-cjs/submodules/protocols/index.js"},"./package.json":{"node":"./package.json","import":"./package.json","module":"./package.json","require":"./package.json"},"./httpAuthSchemes":{"node":"./dist-cjs/submodules/httpAuthSchemes/index.js","types":"./dist-types/submodules/httpAuthSchemes/index.d.ts","import":"./dist-es/submodules/httpAuthSchemes/index.js","module":"./dist-es/submodules/httpAuthSchemes/index.js","require":"./dist-cjs/submodules/httpAuthSchemes/index.js"},"./account-id-endpoint":{"node":"./dist-cjs/submodules/account-id-endpoint/index.js","types":"./dist-types/submodules/account-id-endpoint/index.d.ts","import":"./dist-es/submodules/account-id-endpoint/index.js","module":"./dist-es/submodules/account-id-endpoint/index.js","require":"./dist-cjs/submodules/account-id-endpoint/index.js"}},"scripts":{"lint":"node ../../scripts/validation/submodules-linter.js --pkg core","test":"yarn g:vitest run","build":"yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","build:es":"tsc -p tsconfig.es.json && rimraf ./dist-es/api-extractor-type-index.js","build:cjs":"node ../../scripts/compilation/inline core && rimraf ./dist-cjs/api-extractor-type-index.js","test:watch":"yarn g:vitest watch","build:types":"tsc -p tsconfig.types.json","extract:docs":"api-extractor run --local","test:integration":"yarn g:vitest run -c vitest.config.integ.ts","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","test:integration:watch":"yarn g:vitest watch -c vitest.config.integ.ts"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-sdk-js-v3.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Core functions & classes shared by multiple AWS SDK clients.","directories":{},"sideEffects":false,"_nodeVersion":"18.20.6","dependencies":{"tslib":"^2.6.2","@smithy/core":"^3.2.0","@smithy/types":"^4.2.0","@aws-sdk/types":"3.775.0","fast-xml-parser":"4.4.1","@smithy/signature-v4":"^5.1.0","@smithy/protocol-http":"^5.1.0","@smithy/smithy-client":"^4.2.0","@smithy/util-middleware":"^4.0.2","@smithy/property-provider":"^4.0.2","@smithy/node-config-provider":"^4.0.2"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"3.0.2","typescript":"~5.2.2","concurrently":"7.0.0","downlevel-dts":"0.10.1","@tsconfig/recommended":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/core_3.796.0_1745521016504_0.9770004376645425","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@aws-sdk/core`\n\nThis package provides common or core functionality to the AWS SDK for JavaScript (v3).\n\nYou do not need to explicitly install this package, since it will be transitively installed by AWS SDK clients.\n\n## `@aws-sdk/core` submodules\n\nCore submodules are organized for distribution via the `package.json` `exports` field.\n\n`exports` is supported by default by the latest Node.js, webpack, and esbuild. For react-native, it can be\nenabled via instructions found at [reactnative.dev/blog](https://reactnative.dev/blog/2023/06/21/package-exports-support).\n\nThink of `@aws-sdk/core` as a mono-package within the monorepo.\nIt preserves the benefits of modularization, for example to optimize Node.js initialization speed,\nwhile making it easier to have a consistent version of core dependencies, reducing package sprawl when\ninstalling an SDK client.\n\n### Guide for submodules\n\n- Each `index.ts` file corresponding to the pattern `./src/submodules/<MODULE_NAME>/index.ts` will be\n  published as a separate `dist-cjs` bundled submodule index using the `Inliner.js` build script.\n- create a folder as `./src/submodules/<SUBMODULE>` including an `index.ts` file and a `README.md` file.\n  - The linter will throw an error on missing submodule metadata in `package.json` and the various `tsconfig.json` files, but it will automatically fix them if possible.\n- a submodule is equivalent to a standalone `@aws-sdk/<pkg>` package in that importing it in Node.js will resolve a separate bundle.\n- submodules may not relatively import files from other submodules. Instead, directly use the `@scope/pkg/submodule` name as the import.\n  - The linter will check for this and throw an error.\n- To the extent possible, correctly declaring submodule metadata is validated by the linter in `@aws-sdk/core`.\n  The linter runs during `yarn build` and also as `yarn lint`.\n\n### When should I create an `@aws-sdk/core/submodule` vs. `@aws-sdk/new-package`?\n\nKeep in mind that the core package is installed by all AWS SDK clients.\n\nIf the component functionality is upstream of multiple clients, it is\na good candidate for a core submodule. For example, XML serialization.\n\nIf the component's functionality is downstream of a client, for example S3 pre-signing,\nit should be a standalone package with potentially a peer or runtime dependency on an AWS SDK client.\n","publish_time":1745521016734,"_cnpm_publish_time":1745521016734,"dist-tags":{"latest":"3.981.2"}}