@gradientedge/cdk-utils 4.6.1 → 4.6.2
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/app/api-destined-function/package.json +1 -2
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +0 -4
- package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +1 -1
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js +6 -12
- package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +1 -1
- package/package.json +12 -12
- package/src/lib/construct/api-to-eventbridge-target/main.ts +8 -22
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +0 -109
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/LICENSE +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/README.md +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.mts +0 -10
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.ts +0 -80
- package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/package.json +0 -54
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/LICENSE.md +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/README.md +0 -505
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/bin/uuid +0 -2
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/index.js +0 -79
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5-browser.js +0 -223
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/nil.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/parse.js +0 -45
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/regex.js +0 -8
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng-browser.js +0 -26
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng.js +0 -24
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1.js +0 -23
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/stringify.js +0 -39
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v1.js +0 -107
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v3.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v35.js +0 -78
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v4.js +0 -37
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v5.js +0 -16
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/validate.js +0 -17
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/version.js +0 -21
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/package.json +0 -135
- package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/wrapper.mjs +0 -10
- package/dist/app/api-destined-function/layers/nodejs/package.json +0 -30
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _rng = _interopRequireDefault(require("./rng.js"));
|
|
9
|
-
|
|
10
|
-
var _stringify = _interopRequireDefault(require("./stringify.js"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
function v4(options, buf, offset) {
|
|
15
|
-
options = options || {};
|
|
16
|
-
|
|
17
|
-
const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
21
|
-
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
22
|
-
|
|
23
|
-
if (buf) {
|
|
24
|
-
offset = offset || 0;
|
|
25
|
-
|
|
26
|
-
for (let i = 0; i < 16; ++i) {
|
|
27
|
-
buf[offset + i] = rnds[i];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return buf;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return (0, _stringify.default)(rnds);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
var _default = v4;
|
|
37
|
-
exports.default = _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _v = _interopRequireDefault(require("./v35.js"));
|
|
9
|
-
|
|
10
|
-
var _sha = _interopRequireDefault(require("./sha1.js"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
const v5 = (0, _v.default)('v5', 0x50, _sha.default);
|
|
15
|
-
var _default = v5;
|
|
16
|
-
exports.default = _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _regex = _interopRequireDefault(require("./regex.js"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
function validate(uuid) {
|
|
13
|
-
return typeof uuid === 'string' && _regex.default.test(uuid);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
var _default = validate;
|
|
17
|
-
exports.default = _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _validate = _interopRequireDefault(require("./validate.js"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
function version(uuid) {
|
|
13
|
-
if (!(0, _validate.default)(uuid)) {
|
|
14
|
-
throw TypeError('Invalid UUID');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return parseInt(uuid.substr(14, 1), 16);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var _default = version;
|
|
21
|
-
exports.default = _default;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "uuid",
|
|
3
|
-
"version": "8.3.2",
|
|
4
|
-
"description": "RFC4122 (v1, v4, and v5) UUIDs",
|
|
5
|
-
"commitlint": {
|
|
6
|
-
"extends": [
|
|
7
|
-
"@commitlint/config-conventional"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"uuid",
|
|
12
|
-
"guid",
|
|
13
|
-
"rfc4122"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"bin": {
|
|
17
|
-
"uuid": "./dist/bin/uuid"
|
|
18
|
-
},
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"main": "./dist/index.js",
|
|
21
|
-
"exports": {
|
|
22
|
-
".": {
|
|
23
|
-
"node": {
|
|
24
|
-
"module": "./dist/esm-node/index.js",
|
|
25
|
-
"require": "./dist/index.js",
|
|
26
|
-
"import": "./wrapper.mjs"
|
|
27
|
-
},
|
|
28
|
-
"default": "./dist/esm-browser/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./package.json": "./package.json"
|
|
31
|
-
},
|
|
32
|
-
"module": "./dist/esm-node/index.js",
|
|
33
|
-
"browser": {
|
|
34
|
-
"./dist/md5.js": "./dist/md5-browser.js",
|
|
35
|
-
"./dist/rng.js": "./dist/rng-browser.js",
|
|
36
|
-
"./dist/sha1.js": "./dist/sha1-browser.js",
|
|
37
|
-
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"CHANGELOG.md",
|
|
41
|
-
"CONTRIBUTING.md",
|
|
42
|
-
"LICENSE.md",
|
|
43
|
-
"README.md",
|
|
44
|
-
"dist",
|
|
45
|
-
"wrapper.mjs"
|
|
46
|
-
],
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@babel/cli": "7.11.6",
|
|
49
|
-
"@babel/core": "7.11.6",
|
|
50
|
-
"@babel/preset-env": "7.11.5",
|
|
51
|
-
"@commitlint/cli": "11.0.0",
|
|
52
|
-
"@commitlint/config-conventional": "11.0.0",
|
|
53
|
-
"@rollup/plugin-node-resolve": "9.0.0",
|
|
54
|
-
"babel-eslint": "10.1.0",
|
|
55
|
-
"bundlewatch": "0.3.1",
|
|
56
|
-
"eslint": "7.10.0",
|
|
57
|
-
"eslint-config-prettier": "6.12.0",
|
|
58
|
-
"eslint-config-standard": "14.1.1",
|
|
59
|
-
"eslint-plugin-import": "2.22.1",
|
|
60
|
-
"eslint-plugin-node": "11.1.0",
|
|
61
|
-
"eslint-plugin-prettier": "3.1.4",
|
|
62
|
-
"eslint-plugin-promise": "4.2.1",
|
|
63
|
-
"eslint-plugin-standard": "4.0.1",
|
|
64
|
-
"husky": "4.3.0",
|
|
65
|
-
"jest": "25.5.4",
|
|
66
|
-
"lint-staged": "10.4.0",
|
|
67
|
-
"npm-run-all": "4.1.5",
|
|
68
|
-
"optional-dev-dependency": "2.0.1",
|
|
69
|
-
"prettier": "2.1.2",
|
|
70
|
-
"random-seed": "0.3.0",
|
|
71
|
-
"rollup": "2.28.2",
|
|
72
|
-
"rollup-plugin-terser": "7.0.2",
|
|
73
|
-
"runmd": "1.3.2",
|
|
74
|
-
"standard-version": "9.0.0"
|
|
75
|
-
},
|
|
76
|
-
"optionalDevDependencies": {
|
|
77
|
-
"@wdio/browserstack-service": "6.4.0",
|
|
78
|
-
"@wdio/cli": "6.4.0",
|
|
79
|
-
"@wdio/jasmine-framework": "6.4.0",
|
|
80
|
-
"@wdio/local-runner": "6.4.0",
|
|
81
|
-
"@wdio/spec-reporter": "6.4.0",
|
|
82
|
-
"@wdio/static-server-service": "6.4.0",
|
|
83
|
-
"@wdio/sync": "6.4.0"
|
|
84
|
-
},
|
|
85
|
-
"scripts": {
|
|
86
|
-
"examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
|
87
|
-
"examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
|
88
|
-
"examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
|
89
|
-
"examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
|
90
|
-
"lint": "npm run eslint:check && npm run prettier:check",
|
|
91
|
-
"eslint:check": "eslint src/ test/ examples/ *.js",
|
|
92
|
-
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
|
93
|
-
"pretest": "[ -n $CI ] || npm run build",
|
|
94
|
-
"test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
|
|
95
|
-
"pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
|
|
96
|
-
"test:browser": "wdio run ./wdio.conf.js",
|
|
97
|
-
"pretest:node": "npm run build",
|
|
98
|
-
"test:node": "npm-run-all --parallel examples:node:**",
|
|
99
|
-
"test:pack": "./scripts/testpack.sh",
|
|
100
|
-
"pretest:benchmark": "npm run build",
|
|
101
|
-
"test:benchmark": "cd examples/benchmark && npm install && npm test",
|
|
102
|
-
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
|
|
103
|
-
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
|
|
104
|
-
"bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
|
105
|
-
"md": "runmd --watch --output=README.md README_js.md",
|
|
106
|
-
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
|
|
107
|
-
"docs:diff": "npm run docs && git diff --quiet README.md",
|
|
108
|
-
"build": "./scripts/build.sh",
|
|
109
|
-
"prepack": "npm run build",
|
|
110
|
-
"release": "standard-version --no-verify"
|
|
111
|
-
},
|
|
112
|
-
"repository": {
|
|
113
|
-
"type": "git",
|
|
114
|
-
"url": "https://github.com/uuidjs/uuid.git"
|
|
115
|
-
},
|
|
116
|
-
"husky": {
|
|
117
|
-
"hooks": {
|
|
118
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
119
|
-
"pre-commit": "lint-staged"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"lint-staged": {
|
|
123
|
-
"*.{js,jsx,json,md}": [
|
|
124
|
-
"prettier --write"
|
|
125
|
-
],
|
|
126
|
-
"*.{js,jsx}": [
|
|
127
|
-
"eslint --fix"
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
"standard-version": {
|
|
131
|
-
"scripts": {
|
|
132
|
-
"postchangelog": "prettier --write CHANGELOG.md"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import uuid from './dist/index.js';
|
|
2
|
-
export const v1 = uuid.v1;
|
|
3
|
-
export const v3 = uuid.v3;
|
|
4
|
-
export const v4 = uuid.v4;
|
|
5
|
-
export const v5 = uuid.v5;
|
|
6
|
-
export const NIL = uuid.NIL;
|
|
7
|
-
export const version = uuid.version;
|
|
8
|
-
export const validate = uuid.validate;
|
|
9
|
-
export const stringify = uuid.stringify;
|
|
10
|
-
export const parse = uuid.parse;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gradientedge/cdk-utils-api-destined-function",
|
|
3
|
-
"version": "0.0.0-SNAPSHOT",
|
|
4
|
-
"description": "Application for API Destined Function",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=14.16.0 <15"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/gradientedge/cdk-utils.git"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "yarn package:function && yarn copy:layers",
|
|
16
|
-
"copy:layers": "cp -R layers ../../dist/app/api-destined-function",
|
|
17
|
-
"init": "yarn install",
|
|
18
|
-
"package:function": "mkdirp layers/nodejs && cp -R package.json layers/nodejs && cd layers/nodejs && yarn install --production --no-lockfile",
|
|
19
|
-
"start": "node dist/index",
|
|
20
|
-
"test": "npx jest --ci --runInBand --passWithNoTests"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@types/uuid": "^8.3.4",
|
|
24
|
-
"uuid": "^8.3.2"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"mkdirp": "^1.0.4",
|
|
28
|
-
"rimraf": "^3.0.2"
|
|
29
|
-
}
|
|
30
|
-
}
|