cdk-comprehend-s3olap 2.0.102 → 2.0.104
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/.jsii +5 -5
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +12 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +59 -8
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +237 -126
- package/node_modules/aws-sdk/apis/devicefarm-2015-06-23.min.json +166 -132
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +3 -1
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -1
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +102 -19
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +584 -572
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +72 -0
- package/node_modules/aws-sdk/clients/comprehend.d.ts +148 -34
- package/node_modules/aws-sdk/clients/devicefarm.d.ts +38 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +70 -67
- package/node_modules/aws-sdk/clients/glue.d.ts +8 -0
- package/node_modules/aws-sdk/clients/identitystore.d.ts +8 -8
- package/node_modules/aws-sdk/clients/s3control.d.ts +109 -41
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +31 -10
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +409 -262
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +78 -78
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/es-abstract/2015/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2015/ToNumber.js +1 -1
- package/node_modules/es-abstract/2016/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2016/ToNumber.js +1 -1
- package/node_modules/es-abstract/2017/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2017/ToNumber.js +1 -1
- package/node_modules/es-abstract/2018/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2018/ToNumber.js +1 -1
- package/node_modules/es-abstract/2019/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2019/ToNumber.js +1 -1
- package/node_modules/es-abstract/2020/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2020/ToNumber.js +1 -1
- package/node_modules/es-abstract/2021/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2021/ToNumber.js +1 -1
- package/node_modules/es-abstract/2022/GetSubstitution.js +1 -1
- package/node_modules/es-abstract/2022/StringToNumber.js +1 -1
- package/node_modules/es-abstract/CHANGELOG.md +6 -0
- package/node_modules/es-abstract/helpers/regexTester.js +2 -6
- package/node_modules/es-abstract/package.json +6 -5
- package/node_modules/esbuild/bin/esbuild +34 -9
- package/node_modules/esbuild/install.js +4 -4
- package/node_modules/esbuild/lib/main.js +41 -16
- package/node_modules/esbuild/package.json +23 -23
- package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
- package/node_modules/esbuild-linux-64/package.json +1 -1
- package/node_modules/safe-regex-test/.eslintrc +9 -0
- package/node_modules/safe-regex-test/.github/FUNDING.yml +12 -0
- package/node_modules/safe-regex-test/CHANGELOG.md +15 -0
- package/node_modules/safe-regex-test/LICENSE +21 -0
- package/node_modules/safe-regex-test/README.md +42 -0
- package/node_modules/safe-regex-test/index.js +17 -0
- package/node_modules/safe-regex-test/package.json +75 -0
- package/node_modules/safe-regex-test/test/index.js +37 -0
- package/package.json +10 -10
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022 Jordan Harband
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# safe-regex-test <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
2
|
+
|
3
|
+
[![dependency status][deps-svg]][deps-url]
|
4
|
+
[![dev dependency status][dev-deps-svg]][dev-deps-url]
|
5
|
+
[![License][license-image]][license-url]
|
6
|
+
[![Downloads][downloads-image]][downloads-url]
|
7
|
+
|
8
|
+
[![npm badge][npm-badge-png]][package-url]
|
9
|
+
|
10
|
+
Give a regex, get a robust predicate function that tests it against a string. This will work even if `RegExp.prototype` is altered later.
|
11
|
+
|
12
|
+
## Getting started
|
13
|
+
|
14
|
+
```sh
|
15
|
+
npm install --save safe-regex-test
|
16
|
+
```
|
17
|
+
|
18
|
+
## Usage/Examples
|
19
|
+
|
20
|
+
```js
|
21
|
+
var regexTester = require('safe-regex-test');
|
22
|
+
var assert = require('assert');
|
23
|
+
|
24
|
+
var tester = regexTester('a');
|
25
|
+
assert.ok(tester('a'));
|
26
|
+
assert.notOk(tester('b'));
|
27
|
+
```
|
28
|
+
|
29
|
+
## Tests
|
30
|
+
Simply clone the repo, `npm install`, and run `npm test`
|
31
|
+
|
32
|
+
[package-url]: https://npmjs.org/package/safe-regex-test
|
33
|
+
[npm-version-svg]: https://versionbadg.es/ljharb/safe-regex-test.svg
|
34
|
+
[deps-svg]: https://david-dm.org/ljharb/safe-regex-test.svg
|
35
|
+
[deps-url]: https://david-dm.org/ljharb/safe-regex-test
|
36
|
+
[dev-deps-svg]: https://david-dm.org/ljharb/safe-regex-test/dev-status.svg
|
37
|
+
[dev-deps-url]: https://david-dm.org/ljharb/safe-regex-test#info=devDependencies
|
38
|
+
[npm-badge-png]: https://nodei.co/npm/safe-regex-test.png?downloads=true&stars=true
|
39
|
+
[license-image]: https://img.shields.io/npm/l/safe-regex-test.svg
|
40
|
+
[license-url]: LICENSE
|
41
|
+
[downloads-image]: https://img.shields.io/npm/dm/safe-regex-test.svg
|
42
|
+
[downloads-url]: https://npm-stat.com/charts.html?package=safe-regex-test
|
@@ -0,0 +1,17 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var callBound = require('call-bind/callBound');
|
4
|
+
var GetIntrinsic = require('get-intrinsic');
|
5
|
+
var isRegex = require('is-regex');
|
6
|
+
|
7
|
+
var $exec = callBound('RegExp.prototype.exec');
|
8
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
9
|
+
|
10
|
+
module.exports = function regexTester(regex) {
|
11
|
+
if (!isRegex(regex)) {
|
12
|
+
throw new $TypeError('`regex` must be a RegExp');
|
13
|
+
}
|
14
|
+
return function test(s) {
|
15
|
+
return $exec(regex, s) !== null;
|
16
|
+
};
|
17
|
+
};
|
@@ -0,0 +1,75 @@
|
|
1
|
+
{
|
2
|
+
"name": "safe-regex-test",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Give a regex, get a robust predicate function that tests it against a string.",
|
5
|
+
"main": "index.js",
|
6
|
+
"exports": {
|
7
|
+
".": "./index.js",
|
8
|
+
"./package.json": "./package.json"
|
9
|
+
},
|
10
|
+
"scripts": {
|
11
|
+
"prepack": "npmignore --auto --commentLines=autogenerated",
|
12
|
+
"version": "auto-changelog && git add CHANGELOG.md",
|
13
|
+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
|
14
|
+
"lint": "eslint --ext=js,mjs .",
|
15
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
16
|
+
"prepublishOnly": "safe-publish-latest",
|
17
|
+
"pretest": "npm run lint",
|
18
|
+
"tests-only": "tape test",
|
19
|
+
"test": "npm run tests-only",
|
20
|
+
"posttest": "aud --production"
|
21
|
+
},
|
22
|
+
"repository": {
|
23
|
+
"type": "git",
|
24
|
+
"url": "git+https://github.com/ljharb/safe-regex-test.git"
|
25
|
+
},
|
26
|
+
"keywords": [
|
27
|
+
"regex",
|
28
|
+
"regexp",
|
29
|
+
"test",
|
30
|
+
"tester",
|
31
|
+
"safe",
|
32
|
+
"robust",
|
33
|
+
"exec"
|
34
|
+
],
|
35
|
+
"author": "Jordan Harband <ljharb@gmail.com>",
|
36
|
+
"funding": {
|
37
|
+
"url": "https://github.com/sponsors/ljharb"
|
38
|
+
},
|
39
|
+
"license": "MIT",
|
40
|
+
"bugs": {
|
41
|
+
"url": "https://github.com/ljharb/safe-regex-test/issues"
|
42
|
+
},
|
43
|
+
"homepage": "https://github.com/ljharb/safe-regex-test#readme",
|
44
|
+
"dependencies": {
|
45
|
+
"call-bind": "^1.0.2",
|
46
|
+
"get-intrinsic": "^1.1.3",
|
47
|
+
"is-regex": "^1.1.4"
|
48
|
+
},
|
49
|
+
"devDependencies": {
|
50
|
+
"@ljharb/eslint-config": "^21.0.0",
|
51
|
+
"aud": "^2.0.1",
|
52
|
+
"auto-changelog": "^2.4.0",
|
53
|
+
"es-value-fixtures": "^1.4.2",
|
54
|
+
"eslint": "=8.8.0",
|
55
|
+
"for-each": "^0.3.3",
|
56
|
+
"in-publish": "^2.0.1",
|
57
|
+
"npmignore": "^0.3.0",
|
58
|
+
"object-inspect": "^1.12.2",
|
59
|
+
"safe-publish-latest": "^2.0.0",
|
60
|
+
"tape": "^5.6.1"
|
61
|
+
},
|
62
|
+
"auto-changelog": {
|
63
|
+
"output": "CHANGELOG.md",
|
64
|
+
"template": "keepachangelog",
|
65
|
+
"unreleased": false,
|
66
|
+
"commitLimit": false,
|
67
|
+
"backfillLimit": false,
|
68
|
+
"hideCredit": true
|
69
|
+
},
|
70
|
+
"publishConfig": {
|
71
|
+
"ignore": [
|
72
|
+
".github/workflows"
|
73
|
+
]
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var test = require('tape');
|
4
|
+
var v = require('es-value-fixtures');
|
5
|
+
var forEach = require('for-each');
|
6
|
+
var inspect = require('object-inspect');
|
7
|
+
|
8
|
+
var regexTester = require('../');
|
9
|
+
|
10
|
+
test('regex tester', function (t) {
|
11
|
+
t.equal(typeof regexTester, 'function', 'is a function');
|
12
|
+
|
13
|
+
t.test('non-regexes', function (st) {
|
14
|
+
forEach(v.primitives.concat(v.objects), function (val) {
|
15
|
+
st['throws'](
|
16
|
+
function () { regexTester(val); },
|
17
|
+
TypeError,
|
18
|
+
inspect(val) + ' is not a regex'
|
19
|
+
);
|
20
|
+
});
|
21
|
+
|
22
|
+
st.end();
|
23
|
+
});
|
24
|
+
|
25
|
+
t.test('regexes', function (st) {
|
26
|
+
var tester = regexTester(/a/);
|
27
|
+
|
28
|
+
st.equal(typeof tester, 'function', 'returns a function');
|
29
|
+
st.equal(tester('a'), true, 'returns true for a match');
|
30
|
+
st.equal(tester('b'), false, 'returns false for a non-match');
|
31
|
+
st.equal(tester('a'), true, 'returns true for a match again');
|
32
|
+
|
33
|
+
st.end();
|
34
|
+
});
|
35
|
+
|
36
|
+
t.end();
|
37
|
+
});
|
package/package.json
CHANGED
@@ -44,22 +44,22 @@
|
|
44
44
|
"@types/node": "^14",
|
45
45
|
"@typescript-eslint/eslint-plugin": "^5",
|
46
46
|
"@typescript-eslint/parser": "^5",
|
47
|
-
"aws-cdk-lib": "^2.
|
47
|
+
"aws-cdk-lib": "^2.43.0",
|
48
48
|
"constructs": "^10.0.5",
|
49
|
-
"esbuild": "^0.15.
|
49
|
+
"esbuild": "^0.15.9",
|
50
50
|
"eslint": "^8",
|
51
51
|
"eslint-import-resolver-node": "^0.3.6",
|
52
52
|
"eslint-import-resolver-typescript": "^2.7.1",
|
53
53
|
"eslint-plugin-import": "^2.26.0",
|
54
54
|
"jest": "^27",
|
55
55
|
"jest-junit": "^13",
|
56
|
-
"jsii": "^1.
|
57
|
-
"jsii-diff": "^1.
|
56
|
+
"jsii": "^1.68.0",
|
57
|
+
"jsii-diff": "^1.68.0",
|
58
58
|
"jsii-docgen": "^1.8.110",
|
59
|
-
"jsii-pacmak": "^1.
|
59
|
+
"jsii-pacmak": "^1.68.0",
|
60
60
|
"json-schema": "^0.4.0",
|
61
61
|
"npm-check-updates": "^15",
|
62
|
-
"projen": "^0.62.
|
62
|
+
"projen": "^0.62.17",
|
63
63
|
"standard-version": "^9",
|
64
64
|
"ts-jest": "^27",
|
65
65
|
"typescript": "^4.8.3"
|
@@ -69,10 +69,10 @@
|
|
69
69
|
"constructs": "^10.0.5"
|
70
70
|
},
|
71
71
|
"dependencies": {
|
72
|
-
"aws-cdk-lib": "^2.
|
73
|
-
"aws-sdk": "^2.
|
72
|
+
"aws-cdk-lib": "^2.43.0",
|
73
|
+
"aws-sdk": "^2.1222.0",
|
74
74
|
"constructs": "^10.0.5",
|
75
|
-
"esbuild": "^0.15.
|
75
|
+
"esbuild": "^0.15.9"
|
76
76
|
},
|
77
77
|
"bundledDependencies": [
|
78
78
|
"aws-sdk",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
],
|
93
93
|
"main": "lib/index.js",
|
94
94
|
"license": "Apache-2.0",
|
95
|
-
"version": "2.0.
|
95
|
+
"version": "2.0.104",
|
96
96
|
"jest": {
|
97
97
|
"testMatch": [
|
98
98
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|