cdk-lambda-subminute 2.0.374 → 2.0.376
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 +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +375 -24
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +2 -1
- package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +61 -24
- package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +17 -15
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +85 -30
- package/node_modules/aws-sdk/clients/controltower.d.ts +374 -11
- package/node_modules/aws-sdk/clients/lightsail.d.ts +4 -0
- package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +48 -7
- package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +11 -2
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +67 -3
- package/node_modules/aws-sdk/clients/securitylake.d.ts +4 -4
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +84 -94
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2127 -2147
- package/node_modules/aws-sdk/dist/aws-sdk.js +20 -18
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +7 -7
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/call-bind/CHANGELOG.md +7 -0
- package/node_modules/call-bind/index.js +1 -10
- package/node_modules/call-bind/package.json +4 -3
- package/node_modules/define-data-property/CHANGELOG.md +7 -0
- package/node_modules/define-data-property/index.js +1 -13
- package/node_modules/define-data-property/package.json +4 -5
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +15 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +16 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +55 -0
- package/node_modules/es-define-property/tsconfig.json +50 -0
- package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
- package/node_modules/has-property-descriptors/index.js +3 -14
- package/node_modules/has-property-descriptors/package.json +5 -5
- package/package.json +3 -3
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12
|
9
|
+
|
10
|
+
### Commits
|
11
|
+
|
12
|
+
- [Refactor] use `es-define-property` [`09b76a0`](https://github.com/ljharb/call-bind/commit/09b76a01634440461d44a80c9924ec4b500f3b03)
|
13
|
+
- [Deps] update `get-intrinsic`, `set-function-length` [`ad5136d`](https://github.com/ljharb/call-bind/commit/ad5136ddda2a45c590959829ad3dce0c9f4e3590)
|
14
|
+
|
8
15
|
## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05
|
9
16
|
|
10
17
|
### Commits
|
@@ -9,18 +9,9 @@ var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
9
9
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
10
10
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
11
11
|
|
12
|
-
var $defineProperty =
|
12
|
+
var $defineProperty = require('es-define-property');
|
13
13
|
var $max = GetIntrinsic('%Math.max%');
|
14
14
|
|
15
|
-
if ($defineProperty) {
|
16
|
-
try {
|
17
|
-
$defineProperty({}, 'a', { value: 1 });
|
18
|
-
} catch (e) {
|
19
|
-
// IE 8 has a broken defineProperty
|
20
|
-
$defineProperty = null;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
15
|
module.exports = function callBind(originalFunction) {
|
25
16
|
if (typeof originalFunction !== 'function') {
|
26
17
|
throw new $TypeError('a function is required');
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "call-bind",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.7",
|
4
4
|
"description": "Robustly `.call.bind()` a function",
|
5
5
|
"main": "index.js",
|
6
6
|
"exports": {
|
@@ -67,10 +67,11 @@
|
|
67
67
|
"tape": "^5.7.4"
|
68
68
|
},
|
69
69
|
"dependencies": {
|
70
|
+
"es-define-property": "^1.0.0",
|
70
71
|
"es-errors": "^1.3.0",
|
71
72
|
"function-bind": "^1.1.2",
|
72
|
-
"get-intrinsic": "^1.2.
|
73
|
-
"set-function-length": "^1.2.
|
73
|
+
"get-intrinsic": "^1.2.4",
|
74
|
+
"set-function-length": "^1.2.1"
|
74
75
|
},
|
75
76
|
"testling": {
|
76
77
|
"files": "test/index.js"
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [v1.1.4](https://github.com/ljharb/define-data-property/compare/v1.1.3...v1.1.4) - 2024-02-13
|
9
|
+
|
10
|
+
### Commits
|
11
|
+
|
12
|
+
- [Refactor] use `es-define-property` [`90f2f4c`](https://github.com/ljharb/define-data-property/commit/90f2f4cc20298401e71c28e1e08888db12021453)
|
13
|
+
- [Dev Deps] update `@types/object.getownpropertydescriptors` [`cd929d9`](https://github.com/ljharb/define-data-property/commit/cd929d9a04f5f2fdcfa9d5be140940b91a083153)
|
14
|
+
|
8
15
|
## [v1.1.3](https://github.com/ljharb/define-data-property/compare/v1.1.2...v1.1.3) - 2024-02-12
|
9
16
|
|
10
17
|
### Commits
|
@@ -1,18 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var
|
4
|
-
|
5
|
-
var GetIntrinsic = require('get-intrinsic');
|
6
|
-
|
7
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
8
|
-
if ($defineProperty) {
|
9
|
-
try {
|
10
|
-
$defineProperty({}, 'a', { value: 1 });
|
11
|
-
} catch (e) {
|
12
|
-
// IE 8 has a broken defineProperty
|
13
|
-
$defineProperty = false;
|
14
|
-
}
|
15
|
-
}
|
3
|
+
var $defineProperty = require('es-define-property');
|
16
4
|
|
17
5
|
var $SyntaxError = require('es-errors/syntax');
|
18
6
|
var $TypeError = require('es-errors/type');
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "define-data-property",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.4",
|
4
4
|
"description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "./index.d.ts",
|
@@ -50,10 +50,9 @@
|
|
50
50
|
},
|
51
51
|
"homepage": "https://github.com/ljharb/define-data-property#readme",
|
52
52
|
"dependencies": {
|
53
|
+
"es-define-property": "^1.0.0",
|
53
54
|
"es-errors": "^1.3.0",
|
54
|
-
"
|
55
|
-
"gopd": "^1.0.1",
|
56
|
-
"has-property-descriptors": "^1.0.1"
|
55
|
+
"gopd": "^1.0.1"
|
57
56
|
},
|
58
57
|
"devDependencies": {
|
59
58
|
"@ljharb/eslint-config": "^21.1.0",
|
@@ -65,7 +64,7 @@
|
|
65
64
|
"@types/gopd": "^1.0.3",
|
66
65
|
"@types/has-property-descriptors": "^1.0.3",
|
67
66
|
"@types/object-inspect": "^1.8.4",
|
68
|
-
"@types/object.getownpropertydescriptors": "^2.1.
|
67
|
+
"@types/object.getownpropertydescriptors": "^2.1.4",
|
69
68
|
"@types/tape": "^5.6.4",
|
70
69
|
"aud": "^2.0.4",
|
71
70
|
"auto-changelog": "^2.4.0",
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# These are supported funding model platforms
|
2
|
+
|
3
|
+
github: [ljharb]
|
4
|
+
patreon: # Replace with a single Patreon username
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
7
|
+
tidelift: npm/es-define-property
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
11
|
+
otechie: # Replace with a single Otechie username
|
12
|
+
custom: # Replace with a single custom sponsorship URL
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## v1.0.0 - 2024-02-12
|
9
|
+
|
10
|
+
### Commits
|
11
|
+
|
12
|
+
- Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480)
|
13
|
+
- Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50)
|
14
|
+
- npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e)
|
15
|
+
- Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 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,49 @@
|
|
1
|
+
# es-define-property <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
2
|
+
|
3
|
+
[![github actions][actions-image]][actions-url]
|
4
|
+
[![coverage][codecov-image]][codecov-url]
|
5
|
+
[![License][license-image]][license-url]
|
6
|
+
[![Downloads][downloads-image]][downloads-url]
|
7
|
+
|
8
|
+
[![npm badge][npm-badge-png]][package-url]
|
9
|
+
|
10
|
+
`Object.defineProperty`, but not IE 8's broken one.
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```js
|
15
|
+
const assert = require('assert');
|
16
|
+
|
17
|
+
const $defineProperty = require('es-define-property');
|
18
|
+
|
19
|
+
if ($defineProperty) {
|
20
|
+
assert.equal($defineProperty, Object.defineProperty);
|
21
|
+
} else if (Object.defineProperty) {
|
22
|
+
assert.equal($defineProperty, false, 'this is IE 8');
|
23
|
+
} else {
|
24
|
+
assert.equal($defineProperty, false, 'this is an ES3 engine');
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
28
|
+
## Tests
|
29
|
+
Simply clone the repo, `npm install`, and run `npm test`
|
30
|
+
|
31
|
+
## Security
|
32
|
+
|
33
|
+
Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
|
34
|
+
|
35
|
+
[package-url]: https://npmjs.org/package/es-define-property
|
36
|
+
[npm-version-svg]: https://versionbadg.es/ljharb/es-define-property.svg
|
37
|
+
[deps-svg]: https://david-dm.org/ljharb/es-define-property.svg
|
38
|
+
[deps-url]: https://david-dm.org/ljharb/es-define-property
|
39
|
+
[dev-deps-svg]: https://david-dm.org/ljharb/es-define-property/dev-status.svg
|
40
|
+
[dev-deps-url]: https://david-dm.org/ljharb/es-define-property#info=devDependencies
|
41
|
+
[npm-badge-png]: https://nodei.co/npm/es-define-property.png?downloads=true&stars=true
|
42
|
+
[license-image]: https://img.shields.io/npm/l/es-define-property.svg
|
43
|
+
[license-url]: LICENSE
|
44
|
+
[downloads-image]: https://img.shields.io/npm/dm/es-define-property.svg
|
45
|
+
[downloads-url]: https://npm-stat.com/charts.html?package=es-define-property
|
46
|
+
[codecov-image]: https://codecov.io/gh/ljharb/es-define-property/branch/main/graphs/badge.svg
|
47
|
+
[codecov-url]: https://app.codecov.io/gh/ljharb/es-define-property/
|
48
|
+
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-define-property
|
49
|
+
[actions-url]: https://github.com/ljharb/es-define-property/actions
|
@@ -0,0 +1,16 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var GetIntrinsic = require('get-intrinsic');
|
4
|
+
|
5
|
+
/** @type {import('.')} */
|
6
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
7
|
+
if ($defineProperty) {
|
8
|
+
try {
|
9
|
+
$defineProperty({}, 'a', { value: 1 });
|
10
|
+
} catch (e) {
|
11
|
+
// IE 8 has a broken defineProperty
|
12
|
+
$defineProperty = false;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
module.exports = $defineProperty;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
{
|
2
|
+
"name": "es-define-property",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "`Object.defineProperty`, but not IE 8's broken one.",
|
5
|
+
"main": "index.js",
|
6
|
+
"types": "./index.d.ts",
|
7
|
+
"exports": {
|
8
|
+
".": "./index.js",
|
9
|
+
"./package.json": "./package.json"
|
10
|
+
},
|
11
|
+
"sideEffects": false,
|
12
|
+
"scripts": {
|
13
|
+
"prepack": "npmignore --auto --commentLines=autogenerated",
|
14
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
15
|
+
"prepublishOnly": "safe-publish-latest",
|
16
|
+
"prelint": "evalmd README.md",
|
17
|
+
"lint": "eslint --ext=js,mjs .",
|
18
|
+
"postlint": "tsc -p .",
|
19
|
+
"pretest": "npm run lint",
|
20
|
+
"tests-only": "nyc tape 'test/**/*.js'",
|
21
|
+
"test": "npm run tests-only",
|
22
|
+
"posttest": "aud --production",
|
23
|
+
"version": "auto-changelog && git add CHANGELOG.md",
|
24
|
+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
25
|
+
},
|
26
|
+
"repository": {
|
27
|
+
"type": "git",
|
28
|
+
"url": "git+https://github.com/ljharb/es-define-property.git"
|
29
|
+
},
|
30
|
+
"keywords": [
|
31
|
+
"javascript",
|
32
|
+
"ecmascript",
|
33
|
+
"object",
|
34
|
+
"define",
|
35
|
+
"property",
|
36
|
+
"defineProperty",
|
37
|
+
"Object.defineProperty"
|
38
|
+
],
|
39
|
+
"author": "Jordan Harband <ljharb@gmail.com>",
|
40
|
+
"license": "MIT",
|
41
|
+
"bugs": {
|
42
|
+
"url": "https://github.com/ljharb/es-define-property/issues"
|
43
|
+
},
|
44
|
+
"homepage": "https://github.com/ljharb/es-define-property#readme",
|
45
|
+
"dependencies": {
|
46
|
+
"get-intrinsic": "^1.2.4"
|
47
|
+
},
|
48
|
+
"devDependencies": {
|
49
|
+
"@ljharb/eslint-config": "^21.1.0",
|
50
|
+
"@types/get-intrinsic": "^1.2.2",
|
51
|
+
"@types/gopd": "^1.0.3",
|
52
|
+
"@types/tape": "^5.6.4",
|
53
|
+
"aud": "^2.0.4",
|
54
|
+
"auto-changelog": "^2.4.0",
|
55
|
+
"eslint": "^8.8.0",
|
56
|
+
"evalmd": "^0.0.19",
|
57
|
+
"gopd": "^1.0.1",
|
58
|
+
"in-publish": "^2.0.1",
|
59
|
+
"npmignore": "^0.3.1",
|
60
|
+
"nyc": "^10.3.2",
|
61
|
+
"safe-publish-latest": "^2.0.0",
|
62
|
+
"tape": "^5.7.4",
|
63
|
+
"typescript": "next"
|
64
|
+
},
|
65
|
+
"engines": {
|
66
|
+
"node": ">= 0.4"
|
67
|
+
},
|
68
|
+
"auto-changelog": {
|
69
|
+
"output": "CHANGELOG.md",
|
70
|
+
"template": "keepachangelog",
|
71
|
+
"unreleased": false,
|
72
|
+
"commitLimit": false,
|
73
|
+
"backfillLimit": false,
|
74
|
+
"hideCredit": true
|
75
|
+
},
|
76
|
+
"publishConfig": {
|
77
|
+
"ignore": [
|
78
|
+
".github/workflows"
|
79
|
+
]
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var $defineProperty = require('../');
|
4
|
+
|
5
|
+
var test = require('tape');
|
6
|
+
var gOPD = require('gopd');
|
7
|
+
|
8
|
+
test('defineProperty: supported', { skip: !$defineProperty }, function (t) {
|
9
|
+
t.plan(4);
|
10
|
+
|
11
|
+
t.equal(typeof $defineProperty, 'function', 'defineProperty is supported');
|
12
|
+
if ($defineProperty && gOPD) { // this `if` check is just to shut TS up
|
13
|
+
var o = { a: 1 };
|
14
|
+
|
15
|
+
$defineProperty(o, 'b', { enumerable: true, value: 2 });
|
16
|
+
t.deepEqual(
|
17
|
+
gOPD(o, 'b'),
|
18
|
+
{
|
19
|
+
configurable: false,
|
20
|
+
enumerable: true,
|
21
|
+
value: 2,
|
22
|
+
writable: false
|
23
|
+
},
|
24
|
+
'property descriptor is as expected'
|
25
|
+
);
|
26
|
+
|
27
|
+
$defineProperty(o, 'c', { enumerable: false, value: 3, writable: true });
|
28
|
+
t.deepEqual(
|
29
|
+
gOPD(o, 'c'),
|
30
|
+
{
|
31
|
+
configurable: false,
|
32
|
+
enumerable: false,
|
33
|
+
value: 3,
|
34
|
+
writable: true
|
35
|
+
},
|
36
|
+
'property descriptor is as expected'
|
37
|
+
);
|
38
|
+
}
|
39
|
+
|
40
|
+
t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty');
|
41
|
+
|
42
|
+
t.end();
|
43
|
+
});
|
44
|
+
|
45
|
+
test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) {
|
46
|
+
t.notOk($defineProperty, 'defineProperty is not supported');
|
47
|
+
|
48
|
+
t.match(
|
49
|
+
typeof $defineProperty,
|
50
|
+
/^(?:undefined|boolean)$/,
|
51
|
+
'`typeof defineProperty` is `undefined` or `boolean`'
|
52
|
+
);
|
53
|
+
|
54
|
+
t.end();
|
55
|
+
});
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
4
|
+
|
5
|
+
/* Projects */
|
6
|
+
|
7
|
+
/* Language and Environment */
|
8
|
+
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
9
|
+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
10
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
11
|
+
"useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
12
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
13
|
+
|
14
|
+
/* Modules */
|
15
|
+
"module": "commonjs", /* Specify what module code is generated. */
|
16
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
17
|
+
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
18
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
19
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
20
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
21
|
+
// "typeRoots": ["types"], /* Specify multiple folders that act like `./node_modules/@types`. */
|
22
|
+
"resolveJsonModule": true, /* Enable importing .json files. */
|
23
|
+
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
24
|
+
|
25
|
+
/* JavaScript Support */
|
26
|
+
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
|
27
|
+
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
28
|
+
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
|
29
|
+
|
30
|
+
/* Emit */
|
31
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
32
|
+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
|
33
|
+
"noEmit": true, /* Disable emitting files from a compilation. */
|
34
|
+
|
35
|
+
/* Interop Constraints */
|
36
|
+
"allowSyntheticDefaultImports": true, /* Allow `import x from y` when a module doesn't have a default export. */
|
37
|
+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
|
38
|
+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
39
|
+
|
40
|
+
/* Type Checking */
|
41
|
+
"strict": true, /* Enable all strict type-checking options. */
|
42
|
+
|
43
|
+
/* Completeness */
|
44
|
+
// "skipLibCheck": true /* Skip type checking all .d.ts files. */
|
45
|
+
},
|
46
|
+
"exclude": [
|
47
|
+
"coverage",
|
48
|
+
"test/list-exports"
|
49
|
+
],
|
50
|
+
}
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [v1.0.2](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.1...v1.0.2) - 2024-02-12
|
9
|
+
|
10
|
+
### Commits
|
11
|
+
|
12
|
+
- [Refactor] use `es-define-property` [`f93a8c8`](https://github.com/inspect-js/has-property-descriptors/commit/f93a8c85eba70cbceab500f2619fb5cce73a1805)
|
13
|
+
- [Dev Deps] update `aud`, `npmignore`, `tape` [`42b0c9d`](https://github.com/inspect-js/has-property-descriptors/commit/42b0c9d1c23e747755f0f2924923c418ea34a9ee)
|
14
|
+
- [Deps] update `get-intrinsic` [`35e9b46`](https://github.com/inspect-js/has-property-descriptors/commit/35e9b46a7f14331bf0de98b644dd803676746037)
|
15
|
+
|
8
16
|
## [v1.0.1](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.0...v1.0.1) - 2023-10-20
|
9
17
|
|
10
18
|
### Commits
|
@@ -1,25 +1,14 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var
|
4
|
-
|
5
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
3
|
+
var $defineProperty = require('es-define-property');
|
6
4
|
|
7
5
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
8
|
-
|
9
|
-
try {
|
10
|
-
$defineProperty({}, 'a', { value: 1 });
|
11
|
-
return true;
|
12
|
-
} catch (e) {
|
13
|
-
// IE 8 has a broken defineProperty
|
14
|
-
return false;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
return false;
|
6
|
+
return !!$defineProperty;
|
18
7
|
};
|
19
8
|
|
20
9
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
21
10
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
22
|
-
if (
|
11
|
+
if (!$defineProperty) {
|
23
12
|
return null;
|
24
13
|
}
|
25
14
|
try {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "has-property-descriptors",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.",
|
5
5
|
"main": "index.js",
|
6
6
|
"exports": {
|
@@ -45,18 +45,18 @@
|
|
45
45
|
"homepage": "https://github.com/inspect-js/has-property-descriptors#readme",
|
46
46
|
"devDependencies": {
|
47
47
|
"@ljharb/eslint-config": "^21.1.0",
|
48
|
-
"aud": "^2.0.
|
48
|
+
"aud": "^2.0.4",
|
49
49
|
"auto-changelog": "^2.4.0",
|
50
50
|
"eslint": "=8.8.0",
|
51
51
|
"evalmd": "^0.0.19",
|
52
52
|
"in-publish": "^2.0.1",
|
53
|
-
"npmignore": "^0.3.
|
53
|
+
"npmignore": "^0.3.1",
|
54
54
|
"nyc": "^10.3.2",
|
55
55
|
"safe-publish-latest": "^2.0.0",
|
56
|
-
"tape": "^5.7.
|
56
|
+
"tape": "^5.7.4"
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"
|
59
|
+
"es-define-property": "^1.0.0"
|
60
60
|
},
|
61
61
|
"testling": {
|
62
62
|
"files": "test/index.js"
|
package/package.json
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
"jsii-docgen": "^1.8.110",
|
56
56
|
"jsii-pacmak": "^1.94.0",
|
57
57
|
"jsii-rosetta": "1.x",
|
58
|
-
"projen": "^0.79.
|
58
|
+
"projen": "^0.79.21",
|
59
59
|
"source-map-support": "^0.5.21",
|
60
60
|
"standard-version": "^9",
|
61
61
|
"ts-jest": "^27",
|
@@ -67,7 +67,7 @@
|
|
67
67
|
},
|
68
68
|
"dependencies": {
|
69
69
|
"aws-cdk-lib": "^2.95.0",
|
70
|
-
"aws-sdk": "^2.
|
70
|
+
"aws-sdk": "^2.1558.0",
|
71
71
|
"constructs": "^10.0.5"
|
72
72
|
},
|
73
73
|
"bundledDependencies": [
|
@@ -89,7 +89,7 @@
|
|
89
89
|
],
|
90
90
|
"main": "lib/index.js",
|
91
91
|
"license": "Apache-2.0",
|
92
|
-
"version": "2.0.
|
92
|
+
"version": "2.0.376",
|
93
93
|
"jest": {
|
94
94
|
"testMatch": [
|
95
95
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|