cdk-rds-sql 1.0.1 → 1.1.1
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 +165 -49
- package/.pre-commit-config.yaml +2 -2
- package/.projenrc.ts +1 -1
- package/README.md +6 -5
- package/cdk.json +1 -2
- package/lib/database.d.ts +16 -6
- package/lib/database.js +17 -2
- package/lib/handler.js +27 -5
- package/lib/provider.js +1 -1
- package/lib/role.custom-resource.d.ts +7 -0
- package/lib/role.custom-resource.js +4 -1
- package/lib/role.d.ts +5 -2
- package/lib/role.js +4 -3
- package/lib/schema.d.ts +2 -1
- package/lib/schema.js +5 -3
- package/lib/sql.d.ts +2 -1
- package/lib/sql.js +5 -3
- package/node_modules/@aws-sdk/abort-controller/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +26 -26
- package/node_modules/@aws-sdk/client-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/client-sso/package.json +23 -23
- package/node_modules/@aws-sdk/client-sts/CHANGELOG.md +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/package.json +26 -26
- package/node_modules/@aws-sdk/config-resolver/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/fetch-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-retry/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-sts/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-serde/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-serde/dist-cjs/serializerMiddleware.js +8 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js +15 -5
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serdePlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/middleware-serde/dist-types/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +5 -1
- package/node_modules/@aws-sdk/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/configurations.js +30 -15
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js +3 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js +21 -10
- package/node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js +13 -11
- package/node_modules/@aws-sdk/middleware-signing/dist-types/configurations.d.ts +5 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/configurations.d.ts +9 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +7 -6
- package/node_modules/@aws-sdk/middleware-stack/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/middleware-stack/dist-cjs/MiddlewareStack.js +13 -3
- package/node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js +14 -3
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/signature-v4/package.json +4 -4
- package/node_modules/@aws-sdk/smithy-client/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +2 -2
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/exceptions.d.ts +4 -1
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/types/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +11 -0
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +4 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-middleware/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/util-middleware/dist-types/normalizeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +43 -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/ce-2017-10-25.min.json +10 -8
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +247 -3
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/codestar-notifications-2019-10-15.min.json +7 -2
- 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 +1294 -1251
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -1
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.examples.json +5 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +1961 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.paginators.json +82 -0
- package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +59 -22
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +64 -17
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +21 -0
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +228 -142
- package/node_modules/aws-sdk/apis/nimble-2020-08-01.waiters2.json +1 -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/apis/ssm-2014-11-06.min.json +396 -287
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/apprunner.d.ts +1 -1
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +72 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +335 -6
- package/node_modules/aws-sdk/clients/codestarnotifications.d.ts +29 -29
- package/node_modules/aws-sdk/clients/comprehend.d.ts +148 -34
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +15 -7
- package/node_modules/aws-sdk/clients/cur.d.ts +1 -1
- package/node_modules/aws-sdk/clients/devicefarm.d.ts +38 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +154 -105
- package/node_modules/aws-sdk/clients/ecs.d.ts +11 -11
- 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/iotfleetwise.d.ts +2549 -0
- package/node_modules/aws-sdk/clients/iotfleetwise.js +19 -0
- package/node_modules/aws-sdk/clients/kendra.d.ts +36 -36
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +85 -0
- package/node_modules/aws-sdk/clients/lightsail.d.ts +66 -3
- package/node_modules/aws-sdk/clients/location.d.ts +54 -4
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +25 -1
- package/node_modules/aws-sdk/clients/nimble.d.ts +14 -14
- package/node_modules/aws-sdk/clients/rds.d.ts +18 -18
- 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/clients/ssm.d.ts +113 -2
- package/node_modules/aws-sdk/clients/wafv2.d.ts +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +31 -11
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +107 -37
- package/node_modules/aws-sdk/dist/aws-sdk.js +2448 -1829
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +86 -85
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/event_listeners.js +1 -0
- package/node_modules/aws-sdk/lib/protocol/rest_json.js +15 -2
- 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/is-callable/CHANGELOG.md +13 -0
- package/node_modules/is-callable/README.md +5 -2
- package/node_modules/is-callable/index.js +13 -7
- package/node_modules/is-callable/package.json +1 -1
- package/node_modules/is-callable/test/index.js +26 -9
- 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 +12 -12
|
@@ -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
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"organization": false
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/aws-lambda": "^8.10.
|
|
38
|
+
"@types/aws-lambda": "^8.10.106",
|
|
39
39
|
"@types/jest": "^27",
|
|
40
40
|
"@types/ms": "^0.7.31",
|
|
41
41
|
"@types/node": "^14",
|
|
42
42
|
"@types/pg": "^8.6.5",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
44
44
|
"@typescript-eslint/parser": "^5",
|
|
45
|
-
"aws-cdk-lib": "2.
|
|
45
|
+
"aws-cdk-lib": "2.43.1",
|
|
46
46
|
"constructs": "10.1.104",
|
|
47
|
-
"esbuild": "^0.15.
|
|
47
|
+
"esbuild": "^0.15.9",
|
|
48
48
|
"eslint": "^8",
|
|
49
49
|
"eslint-config-prettier": "^8.5.0",
|
|
50
50
|
"eslint-import-resolver-node": "^0.3.6",
|
|
@@ -53,25 +53,25 @@
|
|
|
53
53
|
"eslint-plugin-prettier": "^4.2.1",
|
|
54
54
|
"jest": "^27",
|
|
55
55
|
"jest-junit": "^13",
|
|
56
|
-
"jsii": "^1.
|
|
57
|
-
"jsii-diff": "^1.
|
|
58
|
-
"jsii-pacmak": "^1.
|
|
56
|
+
"jsii": "^1.69.0",
|
|
57
|
+
"jsii-diff": "^1.69.0",
|
|
58
|
+
"jsii-pacmak": "^1.69.0",
|
|
59
59
|
"json-schema": "^0.4.0",
|
|
60
60
|
"npm-check-updates": "^15",
|
|
61
61
|
"prettier": "^2.7.1",
|
|
62
|
-
"projen": "^0.62.
|
|
62
|
+
"projen": "^0.62.25",
|
|
63
63
|
"standard-version": "^9",
|
|
64
|
-
"testcontainers": "^8.
|
|
64
|
+
"testcontainers": "^8.14.0",
|
|
65
65
|
"ts-jest": "^27",
|
|
66
66
|
"ts-node": "^10.9.1",
|
|
67
|
-
"typescript": "^4.8.
|
|
67
|
+
"typescript": "^4.8.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"aws-cdk-lib": "^2.
|
|
70
|
+
"aws-cdk-lib": "^2.43.1",
|
|
71
71
|
"constructs": "^10.1.104"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
74
|
+
"@aws-sdk/client-secrets-manager": "^3.180.0",
|
|
75
75
|
"aws-lambda": "^1.0.7",
|
|
76
76
|
"ms": "^2.1.3",
|
|
77
77
|
"node-pg-format": "^1.3.5",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
],
|
|
96
96
|
"main": "lib/index.js",
|
|
97
97
|
"license": "Apache-2.0",
|
|
98
|
-
"version": "1.
|
|
98
|
+
"version": "1.1.1",
|
|
99
99
|
"jest": {
|
|
100
100
|
"testMatch": [
|
|
101
101
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|