Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed May 28, 2024
1 parent 6436ca0 commit 63344d3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 48 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/submodules/cbor/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { cbor } from './cbor';
export * from './parseCborBody';
export { cbor } from "./cbor";
export * from "./parseCborBody";
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@
"input": "c1",
"error": true
}
]
]
29 changes: 5 additions & 24 deletions packages/core/src/submodules/cbor/test-data/success-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,7 @@
"description": "definite slice - len \u003e 0",
"input": "43666f6f",
"expect": {
"bytestring": [
102,
111,
111
]
"bytestring": [102, 111, 111]
}
},
{
Expand Down Expand Up @@ -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]
}
},
{
Expand Down Expand Up @@ -1525,4 +1506,4 @@
}
}
}
]
]
8 changes: 2 additions & 6 deletions packages/core/tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"]
}
12 changes: 3 additions & 9 deletions packages/core/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -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/"]
}
8 changes: 2 additions & 6 deletions packages/core/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"]
}

0 comments on commit 63344d3

Please sign in to comment.