diff --git a/packages/core/src/submodules/cbor/index.ts b/packages/core/src/submodules/cbor/index.ts index e157be40a6b..444b9cbfdbf 100644 --- a/packages/core/src/submodules/cbor/index.ts +++ b/packages/core/src/submodules/cbor/index.ts @@ -1,2 +1,2 @@ -export { cbor } from './cbor'; -export * from './parseCborBody'; \ No newline at end of file +export { cbor } from "./cbor"; +export * from "./parseCborBody"; diff --git a/packages/core/src/submodules/cbor/test-data/decode-error-tests.json b/packages/core/src/submodules/cbor/test-data/decode-error-tests.json index d32f2308d5b..55c203ef176 100644 --- a/packages/core/src/submodules/cbor/test-data/decode-error-tests.json +++ b/packages/core/src/submodules/cbor/test-data/decode-error-tests.json @@ -279,4 +279,4 @@ "input": "c1", "error": true } -] \ No newline at end of file +] diff --git a/packages/core/src/submodules/cbor/test-data/success-tests.json b/packages/core/src/submodules/cbor/test-data/success-tests.json index a3d89502ac8..2c64d6aa406 100644 --- a/packages/core/src/submodules/cbor/test-data/success-tests.json +++ b/packages/core/src/submodules/cbor/test-data/success-tests.json @@ -199,11 +199,7 @@ "description": "definite slice - len \u003e 0", "input": "43666f6f", "expect": { - "bytestring": [ - 102, - 111, - 111 - ] + "bytestring": [102, 111, 111] } }, { @@ -238,36 +234,21 @@ "description": "indefinite slice - len = 0, len \u003e 0", "input": "5f4043666f6fff", "expect": { - "bytestring": [ - 102, - 111, - 111 - ] + "bytestring": [102, 111, 111] } }, { "description": "indefinite slice - len \u003e 0, len = 0", "input": "5f43666f6f40ff", "expect": { - "bytestring": [ - 102, - 111, - 111 - ] + "bytestring": [102, 111, 111] } }, { "description": "indefinite slice - len \u003e 0, len \u003e 0", "input": "5f43666f6f43666f6fff", "expect": { - "bytestring": [ - 102, - 111, - 111, - 102, - 111, - 111 - ] + "bytestring": [102, 111, 111, 102, 111, 111] } }, { @@ -1525,4 +1506,4 @@ } } } -] \ No newline at end of file +] diff --git a/packages/core/tsconfig.cjs.json b/packages/core/tsconfig.cjs.json index 8cd3074bce8..369e51b86bc 100644 --- a/packages/core/tsconfig.cjs.json +++ b/packages/core/tsconfig.cjs.json @@ -4,13 +4,9 @@ "outDir": "dist-cjs", "rootDir": "src", "paths": { - "@smithy/core/cbor": [ - "./src/submodules/cbor/index.ts" - ] + "@smithy/core/cbor": ["./src/submodules/cbor/index.ts"] } }, "extends": "../../tsconfig.cjs.json", - "include": [ - "src/" - ] + "include": ["src/"] } diff --git a/packages/core/tsconfig.es.json b/packages/core/tsconfig.es.json index db3b0f66a88..310918c39d3 100644 --- a/packages/core/tsconfig.es.json +++ b/packages/core/tsconfig.es.json @@ -1,19 +1,13 @@ { "compilerOptions": { "baseUrl": ".", - "lib": [ - "dom" - ], + "lib": ["dom"], "outDir": "dist-es", "rootDir": "src", "paths": { - "@smithy/core/cbor": [ - "./src/submodules/cbor/index.ts" - ] + "@smithy/core/cbor": ["./src/submodules/cbor/index.ts"] } }, "extends": "../../tsconfig.es.json", - "include": [ - "src/" - ] + "include": ["src/"] } diff --git a/packages/core/tsconfig.types.json b/packages/core/tsconfig.types.json index 4e6de6cfbf3..a50f3dbebad 100644 --- a/packages/core/tsconfig.types.json +++ b/packages/core/tsconfig.types.json @@ -4,13 +4,9 @@ "declarationDir": "dist-types", "rootDir": "src", "paths": { - "@smithy/core/cbor": [ - "./src/submodules/cbor/index.ts" - ] + "@smithy/core/cbor": ["./src/submodules/cbor/index.ts"] } }, "extends": "../../tsconfig.types.json", - "include": [ - "src/" - ] + "include": ["src/"] }