cdk-common 2.0.1044 → 2.0.1046

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 (52) hide show
  1. package/.jsii +2 -2
  2. package/lib/main.js +1 -1
  3. package/node_modules/call-bound/CHANGELOG.md +9 -0
  4. package/node_modules/call-bound/README.md +1 -1
  5. package/node_modules/call-bound/index.d.ts +9 -1
  6. package/node_modules/call-bound/index.js +5 -5
  7. package/node_modules/call-bound/package.json +4 -3
  8. package/package.json +4 -4
  9. package/node_modules/call-bind/.eslintignore +0 -1
  10. package/node_modules/call-bind/.eslintrc +0 -16
  11. package/node_modules/call-bind/.github/FUNDING.yml +0 -12
  12. package/node_modules/call-bind/.nycrc +0 -9
  13. package/node_modules/call-bind/CHANGELOG.md +0 -106
  14. package/node_modules/call-bind/LICENSE +0 -21
  15. package/node_modules/call-bind/README.md +0 -64
  16. package/node_modules/call-bind/callBound.js +0 -15
  17. package/node_modules/call-bind/index.js +0 -24
  18. package/node_modules/call-bind/package.json +0 -93
  19. package/node_modules/call-bind/test/callBound.js +0 -54
  20. package/node_modules/call-bind/test/index.js +0 -74
  21. package/node_modules/define-data-property/.eslintrc +0 -24
  22. package/node_modules/define-data-property/.github/FUNDING.yml +0 -12
  23. package/node_modules/define-data-property/.nycrc +0 -13
  24. package/node_modules/define-data-property/CHANGELOG.md +0 -70
  25. package/node_modules/define-data-property/LICENSE +0 -21
  26. package/node_modules/define-data-property/README.md +0 -67
  27. package/node_modules/define-data-property/index.d.ts +0 -12
  28. package/node_modules/define-data-property/index.js +0 -56
  29. package/node_modules/define-data-property/package.json +0 -106
  30. package/node_modules/define-data-property/test/index.js +0 -392
  31. package/node_modules/define-data-property/tsconfig.json +0 -59
  32. package/node_modules/has-property-descriptors/.eslintrc +0 -13
  33. package/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
  34. package/node_modules/has-property-descriptors/.nycrc +0 -9
  35. package/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
  36. package/node_modules/has-property-descriptors/LICENSE +0 -21
  37. package/node_modules/has-property-descriptors/README.md +0 -43
  38. package/node_modules/has-property-descriptors/index.js +0 -22
  39. package/node_modules/has-property-descriptors/package.json +0 -77
  40. package/node_modules/has-property-descriptors/test/index.js +0 -57
  41. package/node_modules/set-function-length/.eslintrc +0 -27
  42. package/node_modules/set-function-length/.github/FUNDING.yml +0 -12
  43. package/node_modules/set-function-length/.nycrc +0 -13
  44. package/node_modules/set-function-length/CHANGELOG.md +0 -70
  45. package/node_modules/set-function-length/LICENSE +0 -21
  46. package/node_modules/set-function-length/README.md +0 -56
  47. package/node_modules/set-function-length/env.d.ts +0 -9
  48. package/node_modules/set-function-length/env.js +0 -25
  49. package/node_modules/set-function-length/index.d.ts +0 -7
  50. package/node_modules/set-function-length/index.js +0 -42
  51. package/node_modules/set-function-length/package.json +0 -102
  52. package/node_modules/set-function-length/tsconfig.json +0 -9
@@ -1,74 +0,0 @@
1
- 'use strict';
2
-
3
- var callBind = require('../');
4
- var hasStrictMode = require('has-strict-mode')();
5
- var forEach = require('for-each');
6
- var inspect = require('object-inspect');
7
- var v = require('es-value-fixtures');
8
-
9
- var test = require('tape');
10
-
11
- /*
12
- * older engines have length nonconfigurable
13
- * in io.js v3, it is configurable except on bound functions, hence the .bind()
14
- */
15
- var boundFnsHaveConfigurableLengths = require('set-function-length/env').boundFnsHaveConfigurableLengths;
16
-
17
- test('callBind', function (t) {
18
- forEach(v.nonFunctions, function (nonFunction) {
19
- t['throws'](
20
- function () { callBind(nonFunction); },
21
- TypeError,
22
- inspect(nonFunction) + ' is not a function'
23
- );
24
- });
25
-
26
- var sentinel = { sentinel: true };
27
- var func = function (a, b) {
28
- // eslint-disable-next-line no-invalid-this
29
- return [!hasStrictMode && this === global ? undefined : this, a, b];
30
- };
31
- t.equal(func.length, 2, 'original function length is 2');
32
- t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args');
33
- t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args');
34
- t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args');
35
-
36
- var bound = callBind(func);
37
- t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
38
- t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with too few args');
39
- t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func with right args');
40
- t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args');
41
-
42
- var boundR = callBind(func, sentinel);
43
- t.equal(boundR.length, func.length, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
44
- t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args');
45
- t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args');
46
- t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args');
47
-
48
- var boundArg = callBind(func, sentinel, 1);
49
- t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !boundFnsHaveConfigurableLengths });
50
- t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args');
51
- t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg');
52
- t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args');
53
-
54
- t.test('callBind.apply', function (st) {
55
- var aBound = callBind.apply(func);
56
- st.deepEqual(aBound(sentinel), [sentinel, undefined, undefined], 'apply-bound func with no args');
57
- st.deepEqual(aBound(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
58
- st.deepEqual(aBound(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
59
-
60
- var aBoundArg = callBind.apply(func);
61
- st.deepEqual(aBoundArg(sentinel, [1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with too many args');
62
- st.deepEqual(aBoundArg(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
63
- st.deepEqual(aBoundArg(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
64
-
65
- var aBoundR = callBind.apply(func, sentinel);
66
- st.deepEqual(aBoundR([1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with receiver and too many args');
67
- st.deepEqual(aBoundR([1, 2], 4), [sentinel, 1, 2], 'apply-bound func with receiver and right args');
68
- st.deepEqual(aBoundR([1], 4), [sentinel, 1, undefined], 'apply-bound func with receiver and too few args');
69
-
70
- st.end();
71
- });
72
-
73
- t.end();
74
- });
@@ -1,24 +0,0 @@
1
- {
2
- "root": true,
3
-
4
- "extends": "@ljharb",
5
-
6
- "rules": {
7
- "complexity": 0,
8
- "id-length": 0,
9
- "new-cap": ["error", {
10
- "capIsNewExceptions": [
11
- "GetIntrinsic",
12
- ],
13
- }],
14
- },
15
-
16
- "overrides": [
17
- {
18
- "files": "test/**",
19
- "rules": {
20
- "max-lines-per-function": "off",
21
- },
22
- },
23
- ],
24
- }
@@ -1,12 +0,0 @@
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/define-data-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 up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -1,13 +0,0 @@
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
- }
@@ -1,70 +0,0 @@
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.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
-
15
- ## [v1.1.3](https://github.com/ljharb/define-data-property/compare/v1.1.2...v1.1.3) - 2024-02-12
16
-
17
- ### Commits
18
-
19
- - [types] hand-write d.ts instead of emitting it [`0cbc988`](https://github.com/ljharb/define-data-property/commit/0cbc988203c105f2d97948327c7167ebd33bd318)
20
- - [meta] simplify `exports` [`690781e`](https://github.com/ljharb/define-data-property/commit/690781eed28bbf2d6766237efda0ba6dd591609e)
21
- - [Dev Deps] update `hasown`; clean up DT packages [`6cdfd1c`](https://github.com/ljharb/define-data-property/commit/6cdfd1cb2d91d791bfd18cda5d5cab232fd5d8fc)
22
- - [actions] cleanup [`3142bc6`](https://github.com/ljharb/define-data-property/commit/3142bc6a4bc406a51f5b04f31e98562a27f35ffd)
23
- - [meta] add `funding` [`8474423`](https://github.com/ljharb/define-data-property/commit/847442391a79779af3e0f1bf0b5bb923552b7804)
24
- - [Deps] update `get-intrinsic` [`3e9be00`](https://github.com/ljharb/define-data-property/commit/3e9be00e07784ba34e7c77d8bc0fdbc832ad61de)
25
-
26
- ## [v1.1.2](https://github.com/ljharb/define-data-property/compare/v1.1.1...v1.1.2) - 2024-02-05
27
-
28
- ### Commits
29
-
30
- - [Dev Deps] update @types packages, `object-inspect`, `tape`, `typescript` [`df41bf8`](https://github.com/ljharb/define-data-property/commit/df41bf84ca3456be6226055caab44e38e3a7fd2f)
31
- - [Dev Deps] update DT packages, `aud`, `npmignore`, `tape`, typescript` [`fab0e4e`](https://github.com/ljharb/define-data-property/commit/fab0e4ec709ee02b79f42d6db3ee5f26e0a34b8a)
32
- - [Dev Deps] use `hasown` instead of `has` [`aa51ef9`](https://github.com/ljharb/define-data-property/commit/aa51ef93f6403d49d9bb72a807bcdb6e418978c0)
33
- - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`d89be50`](https://github.com/ljharb/define-data-property/commit/d89be50571175888d391238605122679f7e65ffc)
34
- - [Deps] update `has-property-descriptors` [`7af887c`](https://github.com/ljharb/define-data-property/commit/7af887c9083b59b195b0079e04815cfed9fcee2b)
35
- - [Deps] update `get-intrinsic` [`bb8728e`](https://github.com/ljharb/define-data-property/commit/bb8728ec42cd998505a7157ae24853a560c20646)
36
-
37
- ## [v1.1.1](https://github.com/ljharb/define-data-property/compare/v1.1.0...v1.1.1) - 2023-10-12
38
-
39
- ### Commits
40
-
41
- - [Tests] fix tests in ES3 engines [`5c6920e`](https://github.com/ljharb/define-data-property/commit/5c6920edd1f52f675b02f417e539c28135b43f94)
42
- - [Dev Deps] update `@types/es-value-fixtures`, `@types/for-each`, `@types/gopd`, `@types/has-property-descriptors`, `tape`, `typescript` [`7d82dfc`](https://github.com/ljharb/define-data-property/commit/7d82dfc20f778b4465bba06335dd53f6f431aea3)
43
- - [Fix] IE 8 has a broken `Object.defineProperty` [`0672e1a`](https://github.com/ljharb/define-data-property/commit/0672e1af2a9fcc787e7c23b96dea60d290df5548)
44
- - [meta] emit types on prepack [`73acb1f`](https://github.com/ljharb/define-data-property/commit/73acb1f903c21b314ec7156bf10f73c7910530c0)
45
- - [Dev Deps] update `tape`, `typescript` [`9489a77`](https://github.com/ljharb/define-data-property/commit/9489a7738bf2ecf0ac71d5b78ec4ca6ad7ba0142)
46
-
47
- ## [v1.1.0](https://github.com/ljharb/define-data-property/compare/v1.0.1...v1.1.0) - 2023-09-13
48
-
49
- ### Commits
50
-
51
- - [New] add `loose` arg [`155235a`](https://github.com/ljharb/define-data-property/commit/155235a4c4d7741f6de01cd87c99599a56654b72)
52
- - [New] allow `null` to be passed for the non* args [`7d2fa5f`](https://github.com/ljharb/define-data-property/commit/7d2fa5f06be0392736c13b126f7cd38979f34792)
53
-
54
- ## [v1.0.1](https://github.com/ljharb/define-data-property/compare/v1.0.0...v1.0.1) - 2023-09-12
55
-
56
- ### Commits
57
-
58
- - [meta] add TS types [`43d763c`](https://github.com/ljharb/define-data-property/commit/43d763c6c883f652de1c9c02ef6216ee507ffa69)
59
- - [Dev Deps] update `@types/tape`, `typescript` [`f444985`](https://github.com/ljharb/define-data-property/commit/f444985811c36f3e6448a03ad2f9b7898917f4c7)
60
- - [meta] add `safe-publish-latest`, [`172bb10`](https://github.com/ljharb/define-data-property/commit/172bb10890896ebb160e64398f6ee55760107bee)
61
-
62
- ## v1.0.0 - 2023-09-12
63
-
64
- ### Commits
65
-
66
- - Initial implementation, tests, readme [`5b43d6b`](https://github.com/ljharb/define-data-property/commit/5b43d6b44e675a904810467a7d4e0adb7efc3196)
67
- - Initial commit [`35e577a`](https://github.com/ljharb/define-data-property/commit/35e577a6ba59a98befa97776d70d90f3bea9009d)
68
- - npm init [`82a0a04`](https://github.com/ljharb/define-data-property/commit/82a0a04a321ca7de220af02d41e2745e8a9962ed)
69
- - Only apps should have lockfiles [`96df244`](https://github.com/ljharb/define-data-property/commit/96df244a3c6f426f9a2437be825d1c6f5dd7158e)
70
- - [meta] use `npmignore` to autogenerate an npmignore file [`a87ff18`](https://github.com/ljharb/define-data-property/commit/a87ff18cb79e14c2eb5720486c4759fd9a189375)
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 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.
@@ -1,67 +0,0 @@
1
- # define-data-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
- Define a data property on an object. Will fall back to assignment in an engine without descriptors.
11
-
12
- The three `non*` argument can also be passed `null`, which will use the existing state if available.
13
-
14
- The `loose` argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.
15
-
16
- ## Usage
17
-
18
- ```javascript
19
- var defineDataProperty = require('define-data-property');
20
- var assert = require('assert');
21
-
22
- var obj = {};
23
- defineDataProperty(obj, 'key', 'value');
24
- defineDataProperty(
25
- obj,
26
- 'key2',
27
- 'value',
28
- true, // nonEnumerable, optional
29
- false, // nonWritable, optional
30
- true, // nonConfigurable, optional
31
- false // loose, optional
32
- );
33
-
34
- assert.deepEqual(
35
- Object.getOwnPropertyDescriptors(obj),
36
- {
37
- key: {
38
- configurable: true,
39
- enumerable: true,
40
- value: 'value',
41
- writable: true,
42
- },
43
- key2: {
44
- configurable: false,
45
- enumerable: false,
46
- value: 'value',
47
- writable: true,
48
- },
49
- }
50
- );
51
- ```
52
-
53
- [package-url]: https://npmjs.org/package/define-data-property
54
- [npm-version-svg]: https://versionbadg.es/ljharb/define-data-property.svg
55
- [deps-svg]: https://david-dm.org/ljharb/define-data-property.svg
56
- [deps-url]: https://david-dm.org/ljharb/define-data-property
57
- [dev-deps-svg]: https://david-dm.org/ljharb/define-data-property/dev-status.svg
58
- [dev-deps-url]: https://david-dm.org/ljharb/define-data-property#info=devDependencies
59
- [npm-badge-png]: https://nodei.co/npm/define-data-property.png?downloads=true&stars=true
60
- [license-image]: https://img.shields.io/npm/l/define-data-property.svg
61
- [license-url]: LICENSE
62
- [downloads-image]: https://img.shields.io/npm/dm/define-data-property.svg
63
- [downloads-url]: https://npm-stat.com/charts.html?package=define-data-property
64
- [codecov-image]: https://codecov.io/gh/ljharb/define-data-property/branch/main/graphs/badge.svg
65
- [codecov-url]: https://app.codecov.io/gh/ljharb/define-data-property/
66
- [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/define-data-property
67
- [actions-url]: https://github.com/ljharb/define-data-property/actions
@@ -1,12 +0,0 @@
1
-
2
- declare function defineDataProperty(
3
- obj: Record<PropertyKey, unknown>,
4
- property: keyof typeof obj,
5
- value: typeof obj[typeof property],
6
- nonEnumerable?: boolean | null,
7
- nonWritable?: boolean | null,
8
- nonConfigurable?: boolean | null,
9
- loose?: boolean
10
- ): void;
11
-
12
- export = defineDataProperty;
@@ -1,56 +0,0 @@
1
- 'use strict';
2
-
3
- var $defineProperty = require('es-define-property');
4
-
5
- var $SyntaxError = require('es-errors/syntax');
6
- var $TypeError = require('es-errors/type');
7
-
8
- var gopd = require('gopd');
9
-
10
- /** @type {import('.')} */
11
- module.exports = function defineDataProperty(
12
- obj,
13
- property,
14
- value
15
- ) {
16
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
17
- throw new $TypeError('`obj` must be an object or a function`');
18
- }
19
- if (typeof property !== 'string' && typeof property !== 'symbol') {
20
- throw new $TypeError('`property` must be a string or a symbol`');
21
- }
22
- if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
23
- throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
24
- }
25
- if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
26
- throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
27
- }
28
- if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
29
- throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
30
- }
31
- if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
32
- throw new $TypeError('`loose`, if provided, must be a boolean');
33
- }
34
-
35
- var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
36
- var nonWritable = arguments.length > 4 ? arguments[4] : null;
37
- var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
38
- var loose = arguments.length > 6 ? arguments[6] : false;
39
-
40
- /* @type {false | TypedPropertyDescriptor<unknown>} */
41
- var desc = !!gopd && gopd(obj, property);
42
-
43
- if ($defineProperty) {
44
- $defineProperty(obj, property, {
45
- configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
46
- enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
47
- value: value,
48
- writable: nonWritable === null && desc ? desc.writable : !nonWritable
49
- });
50
- } else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
51
- // must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
52
- obj[property] = value; // eslint-disable-line no-param-reassign
53
- } else {
54
- throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
55
- }
56
- };
@@ -1,106 +0,0 @@
1
- {
2
- "name": "define-data-property",
3
- "version": "1.1.4",
4
- "description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
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
- "tsc": "tsc -p .",
17
- "prelint": "evalmd README.md",
18
- "lint": "eslint --ext=js,mjs .",
19
- "postlint": "npm run tsc",
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/define-data-property.git"
30
- },
31
- "keywords": [
32
- "define",
33
- "data",
34
- "property",
35
- "object",
36
- "accessor",
37
- "javascript",
38
- "ecmascript",
39
- "enumerable",
40
- "configurable",
41
- "writable"
42
- ],
43
- "author": "Jordan Harband <ljharb@gmail.com>",
44
- "funding": {
45
- "url": "https://github.com/sponsors/ljharb"
46
- },
47
- "license": "MIT",
48
- "bugs": {
49
- "url": "https://github.com/ljharb/define-data-property/issues"
50
- },
51
- "homepage": "https://github.com/ljharb/define-data-property#readme",
52
- "dependencies": {
53
- "es-define-property": "^1.0.0",
54
- "es-errors": "^1.3.0",
55
- "gopd": "^1.0.1"
56
- },
57
- "devDependencies": {
58
- "@ljharb/eslint-config": "^21.1.0",
59
- "@types/call-bind": "^1.0.5",
60
- "@types/define-properties": "^1.1.5",
61
- "@types/es-value-fixtures": "^1.4.4",
62
- "@types/for-each": "^0.3.3",
63
- "@types/get-intrinsic": "^1.2.2",
64
- "@types/gopd": "^1.0.3",
65
- "@types/has-property-descriptors": "^1.0.3",
66
- "@types/object-inspect": "^1.8.4",
67
- "@types/object.getownpropertydescriptors": "^2.1.4",
68
- "@types/tape": "^5.6.4",
69
- "aud": "^2.0.4",
70
- "auto-changelog": "^2.4.0",
71
- "es-value-fixtures": "^1.4.2",
72
- "eslint": "=8.8.0",
73
- "evalmd": "^0.0.19",
74
- "for-each": "^0.3.3",
75
- "hasown": "^2.0.1",
76
- "in-publish": "^2.0.1",
77
- "npmignore": "^0.3.1",
78
- "nyc": "^10.3.2",
79
- "object-inspect": "^1.13.1",
80
- "object.getownpropertydescriptors": "^2.1.7",
81
- "reflect.ownkeys": "^1.1.4",
82
- "safe-publish-latest": "^2.0.0",
83
- "tape": "^5.7.4",
84
- "typescript": "next"
85
- },
86
- "engines": {
87
- "node": ">= 0.4"
88
- },
89
- "testling": {
90
- "files": "test/index.js"
91
- },
92
- "auto-changelog": {
93
- "output": "CHANGELOG.md",
94
- "template": "keepachangelog",
95
- "unreleased": false,
96
- "commitLimit": false,
97
- "backfillLimit": false,
98
- "hideCredit": true
99
- },
100
- "publishConfig": {
101
- "ignore": [
102
- ".github/workflows",
103
- "types/reflect.ownkeys"
104
- ]
105
- }
106
- }