@infrascan/s3-connector 0.2.0 → 0.3.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +9 -24
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
default: () => S3Connector
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_client_s3 = require("@aws-sdk/client-s3");
|
|
27
27
|
|
|
28
28
|
// src/cache.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrascan/s3-connector",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Connector for the Infrascan SDK to read and write state to an S3 bucket",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -8,33 +8,18 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": "./dist/index.js",
|
|
11
|
-
"import": "./dist/index.mjs"
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
11
|
+
"import": "./dist/index.mjs"
|
|
13
12
|
}
|
|
14
13
|
},
|
|
15
14
|
"files": [
|
|
16
15
|
"dist"
|
|
17
16
|
],
|
|
18
17
|
"scripts": {
|
|
19
|
-
"build": "rm -rf dist ; tsup",
|
|
20
|
-
"prepublish": "rm -rf dist ; tsup",
|
|
18
|
+
"build": "rm -rf dist ; tsup --config internal/tsconfig/tsup.json",
|
|
19
|
+
"prepublish": "rm -rf dist ; tsup --config internal/tsconfig/tsup.json",
|
|
21
20
|
"lint": "tsc --noEmit ; eslint .",
|
|
22
21
|
"clean": "rm -rf dist node_modules",
|
|
23
|
-
"test": "tap
|
|
24
|
-
},
|
|
25
|
-
"tsup": {
|
|
26
|
-
"clean": true,
|
|
27
|
-
"cjsInterop": true,
|
|
28
|
-
"splitting": false,
|
|
29
|
-
"dts": true,
|
|
30
|
-
"entry": [
|
|
31
|
-
"src/**/*.ts"
|
|
32
|
-
],
|
|
33
|
-
"format": [
|
|
34
|
-
"esm",
|
|
35
|
-
"cjs"
|
|
36
|
-
],
|
|
37
|
-
"target": "node18"
|
|
22
|
+
"test": "tap src/*.test.ts --allow-incomplete-coverage -- --typescript"
|
|
38
23
|
},
|
|
39
24
|
"keywords": [
|
|
40
25
|
"AWS",
|
|
@@ -47,15 +32,15 @@
|
|
|
47
32
|
"license": "MPL-2.0",
|
|
48
33
|
"devDependencies": {
|
|
49
34
|
"@aws-sdk/util-stream-node": "^3.374.0",
|
|
50
|
-
"@infrascan/shared-types": "^0.
|
|
35
|
+
"@infrascan/shared-types": "^0.6.0",
|
|
51
36
|
"aws-sdk-client-mock": "^3.0.0",
|
|
52
37
|
"eslint-config-custom": "*",
|
|
53
|
-
"tap": "^18.
|
|
38
|
+
"tap": "^18.7.0",
|
|
54
39
|
"tsconfig": "*",
|
|
55
40
|
"typescript": "^5.1.6"
|
|
56
41
|
},
|
|
57
42
|
"dependencies": {
|
|
58
|
-
"@aws-sdk/client-s3": "3.
|
|
43
|
+
"@aws-sdk/client-s3": "3.624.0",
|
|
59
44
|
"minimatch": "^9.0.3"
|
|
60
45
|
}
|
|
61
|
-
}
|
|
46
|
+
}
|