cdk-lambda-subminute 2.0.271 → 2.0.273

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.
Files changed (82) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +16 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +94 -24
  6. package/node_modules/aws-sdk/apis/metadata.json +0 -3
  7. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +30 -21
  8. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +134 -9
  9. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.paginators.json +5 -0
  10. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +776 -698
  11. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +263 -253
  12. package/node_modules/aws-sdk/clients/all.d.ts +0 -1
  13. package/node_modules/aws-sdk/clients/all.js +0 -1
  14. package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
  15. package/node_modules/aws-sdk/clients/dynamodb.d.ts +4 -4
  16. package/node_modules/aws-sdk/clients/ec2.d.ts +1 -1
  17. package/node_modules/aws-sdk/clients/kendra.d.ts +86 -9
  18. package/node_modules/aws-sdk/clients/managedblockchainquery.d.ts +1 -1
  19. package/node_modules/aws-sdk/clients/neptunedata.d.ts +81 -81
  20. package/node_modules/aws-sdk/clients/omics.d.ts +27 -1
  21. package/node_modules/aws-sdk/clients/opensearch.d.ts +152 -1
  22. package/node_modules/aws-sdk/clients/quicksight.d.ts +111 -7
  23. package/node_modules/aws-sdk/clients/rds.d.ts +17 -0
  24. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +7 -7
  25. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +9 -9
  26. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +2 -2
  27. package/node_modules/aws-sdk/clients/workspaces.d.ts +2 -2
  28. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  29. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +370 -407
  30. package/node_modules/aws-sdk/dist/aws-sdk.js +266 -259
  31. package/node_modules/aws-sdk/dist/aws-sdk.min.js +30 -30
  32. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +0 -2
  33. package/node_modules/aws-sdk/lib/core.js +1 -1
  34. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +4 -4
  35. package/node_modules/aws-sdk/package.json +1 -1
  36. package/node_modules/call-bind/.eslintrc +0 -1
  37. package/node_modules/call-bind/.nycrc +0 -4
  38. package/node_modules/call-bind/CHANGELOG.md +28 -0
  39. package/node_modules/call-bind/README.md +63 -1
  40. package/node_modules/call-bind/index.js +6 -13
  41. package/node_modules/call-bind/package.json +29 -22
  42. package/node_modules/call-bind/test/callBound.js +0 -1
  43. package/node_modules/call-bind/test/index.js +7 -4
  44. package/node_modules/define-data-property/.eslintrc +24 -0
  45. package/node_modules/define-data-property/.github/FUNDING.yml +12 -0
  46. package/node_modules/define-data-property/.nycrc +13 -0
  47. package/node_modules/define-data-property/CHANGELOG.md +41 -0
  48. package/node_modules/define-data-property/LICENSE +21 -0
  49. package/node_modules/define-data-property/README.md +67 -0
  50. package/node_modules/define-data-property/index.d.ts +3 -0
  51. package/node_modules/define-data-property/index.d.ts.map +1 -0
  52. package/node_modules/define-data-property/index.js +68 -0
  53. package/node_modules/define-data-property/package.json +113 -0
  54. package/node_modules/define-data-property/test/index.js +392 -0
  55. package/node_modules/define-data-property/tsconfig.json +59 -0
  56. package/node_modules/has-property-descriptors/.eslintrc +13 -0
  57. package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  58. package/node_modules/has-property-descriptors/.nycrc +9 -0
  59. package/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
  60. package/node_modules/has-property-descriptors/LICENSE +21 -0
  61. package/node_modules/has-property-descriptors/README.md +43 -0
  62. package/node_modules/has-property-descriptors/index.js +33 -0
  63. package/node_modules/has-property-descriptors/package.json +70 -0
  64. package/node_modules/has-property-descriptors/test/index.js +57 -0
  65. package/node_modules/set-function-length/.eslintrc +27 -0
  66. package/node_modules/set-function-length/.github/FUNDING.yml +12 -0
  67. package/node_modules/set-function-length/.nycrc +13 -0
  68. package/node_modules/set-function-length/CHANGELOG.md +41 -0
  69. package/node_modules/set-function-length/LICENSE +21 -0
  70. package/node_modules/set-function-length/README.md +56 -0
  71. package/node_modules/set-function-length/env.js +19 -0
  72. package/node_modules/set-function-length/index.js +41 -0
  73. package/node_modules/set-function-length/package.json +84 -0
  74. package/node_modules/which-typed-array/CHANGELOG.md +14 -0
  75. package/node_modules/which-typed-array/index.js +4 -1
  76. package/node_modules/which-typed-array/package.json +3 -3
  77. package/package.json +3 -3
  78. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.examples.json +0 -5
  79. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.min.json +0 -1376
  80. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.paginators.json +0 -46
  81. package/node_modules/aws-sdk/clients/gamesparks.d.ts +0 -1344
  82. package/node_modules/aws-sdk/clients/gamesparks.js +0 -18
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
6
+
7
+ var hasPropertyDescriptors = function hasPropertyDescriptors() {
8
+ if ($defineProperty) {
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;
18
+ };
19
+
20
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
21
+ // node v0.6 has a bug where array lengths can be Set but not Defined
22
+ if (!hasPropertyDescriptors()) {
23
+ return null;
24
+ }
25
+ try {
26
+ return $defineProperty([], 'length', { value: 1 }).length !== 1;
27
+ } catch (e) {
28
+ // In Firefox 4-22, defining length on an array throws an exception.
29
+ return true;
30
+ }
31
+ };
32
+
33
+ module.exports = hasPropertyDescriptors;
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "has-property-descriptors",
3
+ "version": "1.0.0",
4
+ "description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./package.json": "./package.json"
9
+ },
10
+ "sideEffects": false,
11
+ "scripts": {
12
+ "prepublishOnly": "safe-publish-latest",
13
+ "prepublish": "not-in-publish || npm run prepublishOnly",
14
+ "pretest": "npm run lint",
15
+ "prelint": "evalmd README.md",
16
+ "lint": "eslint --ext=js,mjs .",
17
+ "tests-only": "nyc tape 'test/**/*.js'",
18
+ "test": "npm run tests-only",
19
+ "posttest": "aud --production",
20
+ "version": "auto-changelog && git add CHANGELOG.md",
21
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/inspect-js/has-property-descriptors.git"
26
+ },
27
+ "keywords": [
28
+ "property",
29
+ "descriptors",
30
+ "has",
31
+ "environment",
32
+ "env",
33
+ "defineProperty",
34
+ "getOwnPropertyDescriptor"
35
+ ],
36
+ "author": "Jordan Harband <ljharb@gmail.com>",
37
+ "funding": {
38
+ "url": "https://github.com/sponsors/ljharb"
39
+ },
40
+ "license": "MIT",
41
+ "bugs": {
42
+ "url": "https://github.com/inspect-js/has-property-descriptors/issues"
43
+ },
44
+ "homepage": "https://github.com/inspect-js/has-property-descriptors#readme",
45
+ "devDependencies": {
46
+ "@ljharb/eslint-config": "^21.0.0",
47
+ "aud": "^2.0.0",
48
+ "auto-changelog": "^2.4.0",
49
+ "eslint": "=8.8.0",
50
+ "in-publish": "^2.0.1",
51
+ "evalmd": "^0.0.19",
52
+ "nyc": "^10.3.2",
53
+ "safe-publish-latest": "^2.0.0",
54
+ "tape": "^5.5.3"
55
+ },
56
+ "dependencies": {
57
+ "get-intrinsic": "^1.1.1"
58
+ },
59
+ "testling": {
60
+ "files": "test/index.js"
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
+ }
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var test = require('tape');
4
+
5
+ var hasPropertyDescriptors = require('../');
6
+
7
+ var sentinel = {};
8
+
9
+ test('hasPropertyDescriptors', function (t) {
10
+ t.equal(typeof hasPropertyDescriptors, 'function', 'is a function');
11
+ t.equal(typeof hasPropertyDescriptors.hasArrayLengthDefineBug, 'function', '`hasArrayLengthDefineBug` property is a function');
12
+
13
+ var yes = hasPropertyDescriptors();
14
+ t.test('property descriptors', { skip: !yes }, function (st) {
15
+ var o = { a: sentinel };
16
+
17
+ st.deepEqual(
18
+ Object.getOwnPropertyDescriptor(o, 'a'),
19
+ {
20
+ configurable: true,
21
+ enumerable: true,
22
+ value: sentinel,
23
+ writable: true
24
+ },
25
+ 'has expected property descriptor'
26
+ );
27
+
28
+ Object.defineProperty(o, 'a', { enumerable: false, writable: false });
29
+
30
+ st.deepEqual(
31
+ Object.getOwnPropertyDescriptor(o, 'a'),
32
+ {
33
+ configurable: true,
34
+ enumerable: false,
35
+ value: sentinel,
36
+ writable: false
37
+ },
38
+ 'has expected property descriptor after [[Define]]'
39
+ );
40
+
41
+ st.end();
42
+ });
43
+
44
+ var arrayBug = hasPropertyDescriptors.hasArrayLengthDefineBug();
45
+ t.test('defining array lengths', { skip: !yes || arrayBug }, function (st) {
46
+ var arr = [1, , 3]; // eslint-disable-line no-sparse-arrays
47
+ st.equal(arr.length, 3, 'array starts with length 3');
48
+
49
+ Object.defineProperty(arr, 'length', { value: 5 });
50
+
51
+ st.equal(arr.length, 5, 'array ends with length 5');
52
+
53
+ st.end();
54
+ });
55
+
56
+ t.end();
57
+ });
@@ -0,0 +1,27 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "id-length": "off",
8
+ "new-cap": ["error", {
9
+ "capIsNewExceptions": [
10
+ "GetIntrinsic"
11
+ ],
12
+ }],
13
+ "no-extra-parens": "off",
14
+ },
15
+
16
+ "overrides": [
17
+ {
18
+ "files": ["test/**/*.js"],
19
+ "rules": {
20
+ "id-length": "off",
21
+ "max-lines-per-function": "off",
22
+ "multiline-comment-style": "off",
23
+ "no-empty-function": "off",
24
+ },
25
+ },
26
+ ],
27
+ }
@@ -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/set-function-name
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,13 @@
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "lines": 86,
6
+ "statements": 85.93,
7
+ "functions": 82.43,
8
+ "branches": 76.06,
9
+ "exclude": [
10
+ "coverage",
11
+ "test"
12
+ ]
13
+ }
@@ -0,0 +1,41 @@
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.1.1](https://github.com/ljharb/set-function-length/compare/v1.1.0...v1.1.1) - 2023-10-19
9
+
10
+ ### Fixed
11
+
12
+ - [Fix] move `define-data-property` to runtime deps [`#2`](https://github.com/ljharb/set-function-length/issues/2)
13
+
14
+ ### Commits
15
+
16
+ - [Dev Deps] update `object-inspect`; add missing `call-bind` [`5aecf79`](https://github.com/ljharb/set-function-length/commit/5aecf79e7d6400957a5d9bd9ac20d4528908ca18)
17
+
18
+ ## [v1.1.0](https://github.com/ljharb/set-function-length/compare/v1.0.1...v1.1.0) - 2023-10-13
19
+
20
+ ### Commits
21
+
22
+ - [New] add `env` entry point [`475c87a`](https://github.com/ljharb/set-function-length/commit/475c87aa2f59b700aaed589d980624ec596acdcb)
23
+ - [Tests] add coverage with `nyc` [`14f0bf8`](https://github.com/ljharb/set-function-length/commit/14f0bf8c145ae60bf14a026420a06bb7be132c36)
24
+ - [eslint] fix linting failure [`fb516f9`](https://github.com/ljharb/set-function-length/commit/fb516f93c664057138c53559ef63c8622a093335)
25
+ - [Deps] update `define-data-property` [`d727e7c`](https://github.com/ljharb/set-function-length/commit/d727e7c6c9a40d7bf26797694e500ea68741feea)
26
+
27
+ ## [v1.0.1](https://github.com/ljharb/set-function-length/compare/v1.0.0...v1.0.1) - 2023-10-12
28
+
29
+ ### Commits
30
+
31
+ - [Refactor] use `get-intrinsic`, since it‘s in the dep graph anyways [`278a954`](https://github.com/ljharb/set-function-length/commit/278a954a06cd849051c569ff7aee56df6798933e)
32
+ - [meta] add `exports` [`72acfe5`](https://github.com/ljharb/set-function-length/commit/72acfe5a0310071fb205a72caba5ecbab24336a0)
33
+
34
+ ## v1.0.0 - 2023-10-12
35
+
36
+ ### Commits
37
+
38
+ - Initial implementation, tests, readme [`fce14e1`](https://github.com/ljharb/set-function-length/commit/fce14e17586460e4f294405173be72b6ffdf7e5f)
39
+ - Initial commit [`ca7ba85`](https://github.com/ljharb/set-function-length/commit/ca7ba857c7c283f9d26e21f14e71cd388f2cb722)
40
+ - npm init [`6a7e493`](https://github.com/ljharb/set-function-length/commit/6a7e493927736cebcaf5c1a84e69b8e6b7b744d8)
41
+ - Only apps should have lockfiles [`d2bf6c4`](https://github.com/ljharb/set-function-length/commit/d2bf6c43de8a51b02a0aa53e8d62cb50c4a2b0da)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Jordan Harband and contributors
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,56 @@
1
+ # set-function-length <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
+ Set a function’s length.
11
+
12
+ Arguments:
13
+ - `fn`: the function
14
+ - `length`: the new length. Must be an integer between 0 and 2**32.
15
+ - `loose`: Optional. If true, and the length fails to be set, do not throw. Default false.
16
+
17
+ Returns `fn`.
18
+
19
+ ## Usage
20
+
21
+ ```javascript
22
+ var setFunctionLength = require('set-function-length');
23
+ var assert = require('assert');
24
+
25
+ function zero() {}
26
+ function one(_) {}
27
+ function two(_, __) {}
28
+
29
+ assert.equal(zero.length, 0);
30
+ assert.equal(one.length, 1);
31
+ assert.equal(two.length, 2);
32
+
33
+ assert.equal(setFunctionLength(zero, 10), zero);
34
+ assert.equal(setFunctionLength(one, 11), one);
35
+ assert.equal(setFunctionLength(two, 12), two);
36
+
37
+ assert.equal(zero.length, 10);
38
+ assert.equal(one.length, 11);
39
+ assert.equal(two.length, 12);
40
+ ```
41
+
42
+ [package-url]: https://npmjs.org/package/set-function-length
43
+ [npm-version-svg]: https://versionbadg.es/ljharb/set-function-length.svg
44
+ [deps-svg]: https://david-dm.org/ljharb/set-function-length.svg
45
+ [deps-url]: https://david-dm.org/ljharb/set-function-length
46
+ [dev-deps-svg]: https://david-dm.org/ljharb/set-function-length/dev-status.svg
47
+ [dev-deps-url]: https://david-dm.org/ljharb/set-function-length#info=devDependencies
48
+ [npm-badge-png]: https://nodei.co/npm/set-function-length.png?downloads=true&stars=true
49
+ [license-image]: https://img.shields.io/npm/l/set-function-length.svg
50
+ [license-url]: LICENSE
51
+ [downloads-image]: https://img.shields.io/npm/dm/set-function-length.svg
52
+ [downloads-url]: https://npm-stat.com/charts.html?package=set-function-length
53
+ [codecov-image]: https://codecov.io/gh/ljharb/set-function-length/branch/main/graphs/badge.svg
54
+ [codecov-url]: https://app.codecov.io/gh/ljharb/set-function-length/
55
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/set-function-length
56
+ [actions-url]: https://github.com/ljharb/set-function-length/actions
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var gOPD = require('gopd');
4
+
5
+ var functionsHaveConfigurableLengths = gOPD && gOPD(function () {}, 'length').configurable;
6
+
7
+ var functionsHaveWritableLengths = gOPD && gOPD(function () {}, 'length').writable;
8
+
9
+ var boundFnsHaveConfigurableLengths = gOPD && gOPD(function () {}.bind(), 'length').configurable;
10
+
11
+ var boundFnsHaveWritableLengths = gOPD && gOPD(function () {}.bind(), 'length').writable;
12
+
13
+ module.exports = {
14
+ __proto__: null,
15
+ boundFnsHaveConfigurableLengths: boundFnsHaveConfigurableLengths,
16
+ boundFnsHaveWritableLengths: boundFnsHaveWritableLengths,
17
+ functionsHaveConfigurableLengths: functionsHaveConfigurableLengths,
18
+ functionsHaveWritableLengths: functionsHaveWritableLengths
19
+ };
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+ var define = require('define-data-property');
5
+ var hasDescriptors = require('has-property-descriptors')();
6
+ var gOPD = require('gopd');
7
+
8
+ var $TypeError = GetIntrinsic('%TypeError%');
9
+ var $floor = GetIntrinsic('%Math.floor%');
10
+
11
+ module.exports = function setFunctionLength(fn, length) {
12
+ if (typeof fn !== 'function') {
13
+ throw new $TypeError('`fn` is not a function');
14
+ }
15
+ if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
16
+ throw new $TypeError('`length` must be a positive 32-bit integer');
17
+ }
18
+
19
+ var loose = arguments.length > 2 && !!arguments[2];
20
+
21
+ var functionLengthIsConfigurable = true;
22
+ var functionLengthIsWritable = true;
23
+ if ('length' in fn && gOPD) {
24
+ var desc = gOPD(fn, 'length');
25
+ if (desc && !desc.configurable) {
26
+ functionLengthIsConfigurable = false;
27
+ }
28
+ if (desc && !desc.writable) {
29
+ functionLengthIsWritable = false;
30
+ }
31
+ }
32
+
33
+ if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
34
+ if (hasDescriptors) {
35
+ define(fn, 'length', length, true, true);
36
+ } else {
37
+ define(fn, 'length', length);
38
+ }
39
+ }
40
+ return fn;
41
+ };
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "set-function-length",
3
+ "version": "1.1.1",
4
+ "description": "Set a function's length property",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./env": "./env.js",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "directories": {
12
+ "test": "test"
13
+ },
14
+ "scripts": {
15
+ "prepack": "npmignore --auto --commentLines=autogenerated",
16
+ "prepublish": "not-in-publish || npm run prepublishOnly",
17
+ "prepublishOnly": "safe-publish-latest",
18
+ "prelint": "evalmd README.md",
19
+ "lint": "eslint --ext=js,mjs .",
20
+ "pretest": "npm run lint",
21
+ "tests-only": "nyc tape 'test/**/*.js'",
22
+ "test": "npm run tests-only",
23
+ "posttest": "aud --production",
24
+ "version": "auto-changelog && git add CHANGELOG.md",
25
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/ljharb/set-function-length.git"
30
+ },
31
+ "keywords": [
32
+ "javascript",
33
+ "ecmascript",
34
+ "set",
35
+ "function",
36
+ "length",
37
+ "function.length"
38
+ ],
39
+ "author": "Jordan Harband <ljharb@gmail.com>",
40
+ "license": "MIT",
41
+ "bugs": {
42
+ "url": "https://github.com/ljharb/set-function-length/issues"
43
+ },
44
+ "homepage": "https://github.com/ljharb/set-function-length#readme",
45
+ "devDependencies": {
46
+ "@ljharb/eslint-config": "^21.1.0",
47
+ "aud": "^2.0.3",
48
+ "auto-changelog": "^2.4.0",
49
+ "call-bind": "^1.0.4",
50
+ "es-value-fixtures": "^1.4.2",
51
+ "eslint": "=8.8.0",
52
+ "evalmd": "^0.0.19",
53
+ "for-each": "^0.3.3",
54
+ "in-publish": "^2.0.1",
55
+ "npmignore": "^0.3.0",
56
+ "nyc": "^10.3.2",
57
+ "object-inspect": "^1.13.1",
58
+ "safe-publish-latest": "^2.0.0",
59
+ "tape": "^5.7.1"
60
+ },
61
+ "dependencies": {
62
+ "define-data-property": "^1.1.1",
63
+ "get-intrinsic": "^1.2.1",
64
+ "gopd": "^1.0.1",
65
+ "has-property-descriptors": "^1.0.0"
66
+ },
67
+ "engines": {
68
+ "node": ">= 0.4"
69
+ },
70
+ "auto-changelog": {
71
+ "output": "CHANGELOG.md",
72
+ "template": "keepachangelog",
73
+ "unreleased": false,
74
+ "commitLimit": false,
75
+ "backfillLimit": false,
76
+ "hideCredit": true
77
+ },
78
+ "publishConfig": {
79
+ "ignore": [
80
+ ".github/workflows",
81
+ "test"
82
+ ]
83
+ }
84
+ }
@@ -5,6 +5,20 @@ 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.13](https://github.com/inspect-js/which-typed-array/compare/v1.1.12...v1.1.13) - 2023-10-19
9
+
10
+ ### Commits
11
+
12
+ - [Refactor] avoid call-binding entirely when there is no method to bind [`9ff452b`](https://github.com/inspect-js/which-typed-array/commit/9ff452b88fbd8e4419bd768d86d0ea9a87d7e310)
13
+
14
+ ## [v1.1.12](https://github.com/inspect-js/which-typed-array/compare/v1.1.11...v1.1.12) - 2023-10-19
15
+
16
+ ### Commits
17
+
18
+ - [Fix] somehow node 0.12 - 3 can hit here, and they lack slice but have set [`c28e9b8`](https://github.com/inspect-js/which-typed-array/commit/c28e9b84d6d68ad5f52236ba59c26b06cde6300b)
19
+ - [Deps] update `call-bind` [`a648554`](https://github.com/inspect-js/which-typed-array/commit/a64855495106235352ebb3550a860d3bfd4a1ce1)
20
+ - [Dev Deps] update `tape` [`7a094d6`](https://github.com/inspect-js/which-typed-array/commit/7a094d6f9219b903c9a9e13c559e68f0e9672b59)
21
+
8
22
  ## [v1.1.11](https://github.com/inspect-js/which-typed-array/compare/v1.1.10...v1.1.11) - 2023-07-17
9
23
 
10
24
  ### Commits
@@ -40,7 +40,10 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
40
40
  } else {
41
41
  forEach(typedArrays, function (typedArray) {
42
42
  var arr = new g[typedArray]();
43
- cache['$' + typedArray] = callBind(arr.slice);
43
+ var fn = arr.slice || arr.set;
44
+ if (fn) {
45
+ cache['$' + typedArray] = callBind(fn);
46
+ }
44
47
  });
45
48
  }
46
49
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "which-typed-array",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -59,7 +59,7 @@
59
59
  ],
60
60
  "dependencies": {
61
61
  "available-typed-arrays": "^1.0.5",
62
- "call-bind": "^1.0.2",
62
+ "call-bind": "^1.0.4",
63
63
  "for-each": "^0.3.3",
64
64
  "gopd": "^1.0.1",
65
65
  "has-tostringtag": "^1.0.0"
@@ -76,7 +76,7 @@
76
76
  "npmignore": "^0.3.0",
77
77
  "nyc": "^10.3.2",
78
78
  "safe-publish-latest": "^2.0.0",
79
- "tape": "^5.6.5"
79
+ "tape": "^5.7.1"
80
80
  },
81
81
  "testling": {
82
82
  "files": "test/index.js",
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "jsii-pacmak": "^1.90.0",
59
59
  "jsii-rosetta": "1.x",
60
60
  "npm-check-updates": "^16",
61
- "projen": "^0.75.1",
61
+ "projen": "^0.75.3",
62
62
  "source-map-support": "^0.5.21",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.95.0",
73
- "aws-sdk": "^2.1475.0",
73
+ "aws-sdk": "^2.1477.0",
74
74
  "constructs": "^10.0.5"
75
75
  },
76
76
  "bundledDependencies": [
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.271",
95
+ "version": "2.0.273",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1,5 +0,0 @@
1
- {
2
- "version": "1.0",
3
- "examples": {
4
- }
5
- }