@lambda-kata/licensing 0.1.17 → 0.1.18
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/out/tsc/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,yDAAyD;IACzD,QAAQ,EAAE,OAAO,CAAC;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEhE;;;;;;;;;;;OAWG;IACH,oBAAoB,CAAC,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAC7D;AAaD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,sBAAuB,YAAW,gBAAgB;IAC7D,OAAO,CAAC,KAAK,CAA4B;IACzC,OAAO,CAAC,kBAAkB,CAAS;IACnC,OAAO,CAAC,oBAAoB,CAAuB;IAEnD;;;;;OAKG;;IAQH;;;;;;;;;;;;;;;;;OAiBG;IACG,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAoErE;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB;IAkE1D;;;;OAIG;IACH,qBAAqB;IAIrB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;IAaxB;;;;;;;OAOG;IACH,O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C,OAAO;IAUf;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ;CASjB;AAED;;GAEG;AACH,eAAe,sBAAsB,CAAC;AAEtC;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,IAAI,gBAAgB,CAEzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performance-optimizations.d.ts","sourceRoot":"","sources":["../../src/performance-optimizations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B;IAC3B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAqC;IAC5D,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO;IAWP;;;;OAIG;WACW,WAAW,IAAI,oBAAoB;IAOjD;;;;;;;;OAQG;IACI,mBAAmB,IAAI,IAAI;IAiBlC;;;;;;;;OAQG;IACI,mBAAmB,IAAI,IAAI;IAwBlC;;;;OAIG;IACI,UAAU,IAAI,kBAAkB;IAOvC;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAIhC;;;;OAIG;IACI,eAAe,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAQ/C;;;;OAIG;IACH,OAAO,CAAC,8BAA8B;IA0BtC;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAoBjC;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;
|
|
1
|
+
{"version":3,"file":"performance-optimizations.d.ts","sourceRoot":"","sources":["../../src/performance-optimizations.ts"],"names":[],"mappings":"AAAA;;;;;;;GA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;;;OAIG;IACH,qBAAqB,IAAI,kBAAkB;CAG5C;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,IAAI,+BAA+B,CAEjF;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAQ/C"}
|
package/package.json
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"lambda-kata",
|
|
15
|
-
"licensing",
|
|
16
|
-
"native",
|
|
17
|
-
"node-api",
|
|
18
|
-
"security",
|
|
19
|
-
"aws-lambda"
|
|
20
|
-
],
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=18.0.0"
|
|
23
|
-
},
|
|
24
|
-
"os": [
|
|
25
|
-
"linux",
|
|
26
|
-
"darwin"
|
|
27
|
-
],
|
|
28
|
-
"cpu": [
|
|
29
|
-
"x64",
|
|
30
|
-
"arm64"
|
|
31
|
-
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "yarn build:clean && yarn build:native && yarn build:ts && yarn build:types",
|
|
34
|
-
"build:clean": "rm -rf out/ build/ prebuilt/",
|
|
35
|
-
"build:native": "node-gyp rebuild || echo 'Native build failed - addon will be unavailable'",
|
|
36
|
-
"build:native:docker": "./scripts/build-docker.sh",
|
|
37
|
-
"build:ts": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=out/dist/index.js --tree-shaking=true --minify --external:*.node",
|
|
38
|
-
"build:types": "tsc --emitDeclarationOnly --outDir out/tsc",
|
|
39
|
-
"build:all": "./scripts/build-all.sh",
|
|
40
|
-
"build:prebuilt": "./scripts/build-prebuilt.sh",
|
|
41
|
-
"test": "npx jest --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
42
|
-
"test:watch": "npx jest --watch --testTimeout=15000 --runInBand --no-cache",
|
|
43
|
-
"test:coverage": "npx jest --coverage --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
44
|
-
"test:safe": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
45
|
-
"test:unit": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.test\\.ts' --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
46
|
-
"test:property": "npx jest --runInBand --colors --verbose --testTimeout=20000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.property\\.test\\.ts'",
|
|
47
|
-
"test:deployment": "./scripts/test-deployment.sh",
|
|
48
|
-
"lint": "eslint src/ test/ --ext .ts",
|
|
49
|
-
"lint:fix": "eslint src/ test/ --ext .ts --fix",
|
|
50
|
-
"docs": "typedoc src/index.ts --out docs/",
|
|
51
|
-
"install": "node scripts/install.js",
|
|
52
|
-
"postinstall": "node scripts/postinstall.js || echo 'Postinstall script failed, using fallback mode'",
|
|
53
|
-
"publish": "yarn build:native:docker all && ./scripts/build-prebuilt.sh package && ls -la prebuilt/ && npm publish"
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"out/",
|
|
57
|
-
"prebuilt/",
|
|
58
|
-
"scripts/install.js",
|
|
59
|
-
"scripts/postinstall.js",
|
|
60
|
-
"README.md",
|
|
61
|
-
"LICENSE"
|
|
62
|
-
],
|
|
63
|
-
"dependencies": {
|
|
64
|
-
"node-addon-api": "^7.0.0"
|
|
65
|
-
},
|
|
66
|
-
"devDependencies": {
|
|
67
|
-
"@types/jest": "^29.5.0",
|
|
68
|
-
"@types/node": "^20.0.0",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
70
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
71
|
-
"esbuild": "^0.19.0",
|
|
72
|
-
"eslint": "^8.0.0",
|
|
73
|
-
"fast-check": "^3.15.0",
|
|
74
|
-
"jest": "^29.5.0",
|
|
75
|
-
"node-gyp": "^10.0.0",
|
|
76
|
-
"ts-jest": "^29.1.0",
|
|
77
|
-
"typedoc": "^0.25.0",
|
|
78
|
-
"typescript": "^5.0.0"
|
|
79
|
-
},
|
|
80
|
-
"peerDependencies": {
|
|
81
|
-
"aws-cdk-lib": "^2.0.0",
|
|
82
|
-
"constructs": "^10.0.0"
|
|
83
|
-
},
|
|
84
|
-
"peerDependenciesMeta": {
|
|
85
|
-
"aws-cdk-lib": {
|
|
86
|
-
"optional": true
|
|
2
|
+
"name": "@lambda-kata/licensing",
|
|
3
|
+
"version": "0.1.18",
|
|
4
|
+
"description": "Tamper-resistant native licensing validator for Lambda Kata Integration",
|
|
5
|
+
"main": "out/dist/index.js",
|
|
6
|
+
"types": "out/tsc/index.d.ts",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
8
|
+
"author": "Lambda Kata Team",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/lambda-kata/licensing.git"
|
|
87
12
|
},
|
|
88
|
-
"
|
|
89
|
-
|
|
13
|
+
"keywords": [
|
|
14
|
+
"lambda-kata",
|
|
15
|
+
"licensing",
|
|
16
|
+
"native",
|
|
17
|
+
"node-api",
|
|
18
|
+
"security",
|
|
19
|
+
"aws-lambda"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=18.0.0"
|
|
23
|
+
},
|
|
24
|
+
"os": [
|
|
25
|
+
"linux",
|
|
26
|
+
"darwin"
|
|
27
|
+
],
|
|
28
|
+
"cpu": [
|
|
29
|
+
"x64",
|
|
30
|
+
"arm64"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "yarn build:clean && yarn build:native && yarn build:ts && yarn build:types",
|
|
34
|
+
"build:clean": "rm -rf out/ build/ prebuilt/",
|
|
35
|
+
"build:native": "node-gyp rebuild || echo 'Native build failed - addon will be unavailable'",
|
|
36
|
+
"build:native:docker": "./scripts/build-docker.sh",
|
|
37
|
+
"build:ts": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=out/dist/index.js --tree-shaking=true --minify --external:*.node",
|
|
38
|
+
"build:types": "tsc --emitDeclarationOnly --outDir out/tsc",
|
|
39
|
+
"build:all": "./scripts/build-all.sh",
|
|
40
|
+
"build:prebuilt": "./scripts/build-prebuilt.sh",
|
|
41
|
+
"test": "npx jest --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
42
|
+
"test:watch": "npx jest --watch --testTimeout=15000 --runInBand --no-cache",
|
|
43
|
+
"test:coverage": "npx jest --coverage --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
44
|
+
"test:safe": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
45
|
+
"test:unit": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.test\\.ts' --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
46
|
+
"test:property": "npx jest --runInBand --colors --verbose --testTimeout=20000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.property\\.test\\.ts'",
|
|
47
|
+
"test:deployment": "./scripts/test-deployment.sh",
|
|
48
|
+
"lint": "eslint src/ test/ --ext .ts",
|
|
49
|
+
"lint:fix": "eslint src/ test/ --ext .ts --fix",
|
|
50
|
+
"docs": "typedoc src/index.ts --out docs/",
|
|
51
|
+
"install": "node scripts/install.js",
|
|
52
|
+
"postinstall": "node scripts/postinstall.js || echo 'Postinstall script failed, using fallback mode'",
|
|
53
|
+
"publish": "yarn build:native:docker all && yarn run build:prebuilt && ls -la prebuilt/ && npm publish"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"out/",
|
|
57
|
+
"prebuilt/",
|
|
58
|
+
"scripts/install.js",
|
|
59
|
+
"scripts/postinstall.js",
|
|
60
|
+
"README.md",
|
|
61
|
+
"LICENSE"
|
|
62
|
+
],
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"node-addon-api": "^7.0.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@types/jest": "^29.5.0",
|
|
68
|
+
"@types/node": "^20.0.0",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
70
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
71
|
+
"esbuild": "^0.19.0",
|
|
72
|
+
"eslint": "^8.0.0",
|
|
73
|
+
"fast-check": "^3.15.0",
|
|
74
|
+
"jest": "^29.5.0",
|
|
75
|
+
"node-gyp": "^10.0.0",
|
|
76
|
+
"ts-jest": "^29.1.0",
|
|
77
|
+
"typedoc": "^0.25.0",
|
|
78
|
+
"typescript": "^5.0.0"
|
|
79
|
+
},
|
|
80
|
+
"peerDependencies": {
|
|
81
|
+
"aws-cdk-lib": "^2.0.0",
|
|
82
|
+
"constructs": "^10.0.0"
|
|
83
|
+
},
|
|
84
|
+
"peerDependenciesMeta": {
|
|
85
|
+
"aws-cdk-lib": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"constructs": {
|
|
89
|
+
"optional": true
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"gypfile": true,
|
|
93
|
+
"binary": {
|
|
94
|
+
"napi_versions": [
|
|
95
|
+
8,
|
|
96
|
+
9
|
|
97
|
+
]
|
|
90
98
|
}
|
|
91
|
-
},
|
|
92
|
-
"gypfile": true,
|
|
93
|
-
"binary": {
|
|
94
|
-
"napi_versions": [
|
|
95
|
-
8,
|
|
96
|
-
9
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
99
|
}
|