Changeset 79a0317 for imaps-frontend/node_modules/es-define-property
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/es-define-property
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-define-property/CHANGELOG.md
r0c6b92a r79a0317 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 8 ## [v1.0.1](https://github.com/ljharb/es-define-property/compare/v1.0.0...v1.0.1) - 2024-12-06 9 10 ### Commits 11 12 - [types] use shared tsconfig [`954a663`](https://github.com/ljharb/es-define-property/commit/954a66360326e508a0e5daa4b07493d58f5e110e) 13 - [actions] split out node 10-20, and 20+ [`3a8e84b`](https://github.com/ljharb/es-define-property/commit/3a8e84b23883f26ff37b3e82ff283834228e18c6) 14 - [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/get-intrinsic`, `@types/tape`, `auto-changelog`, `gopd`, `tape` [`86ae27b`](https://github.com/ljharb/es-define-property/commit/86ae27bb8cc857b23885136fad9cbe965ae36612) 15 - [Refactor] avoid using `get-intrinsic` [`02480c0`](https://github.com/ljharb/es-define-property/commit/02480c0353ef6118965282977c3864aff53d98b1) 16 - [Tests] replace `aud` with `npm audit` [`f6093ff`](https://github.com/ljharb/es-define-property/commit/f6093ff74ab51c98015c2592cd393bd42478e773) 17 - [Tests] configure testling [`7139e66`](https://github.com/ljharb/es-define-property/commit/7139e66959247a56086d9977359caef27c6849e7) 18 - [Dev Deps] update `tape` [`b901b51`](https://github.com/ljharb/es-define-property/commit/b901b511a75e001a40ce1a59fef7d9ffcfc87482) 19 - [Tests] fix types in tests [`469d269`](https://github.com/ljharb/es-define-property/commit/469d269fd141b1e773ec053a9fa35843493583e0) 20 - [Dev Deps] add missing peer dep [`733acfb`](https://github.com/ljharb/es-define-property/commit/733acfb0c4c96edf337e470b89a25a5b3724c352) 7 21 8 22 ## v1.0.0 - 2024-02-12 -
imaps-frontend/node_modules/es-define-property/index.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var GetIntrinsic = require('get-intrinsic');4 5 3 /** @type {import('.')} */ 6 var $defineProperty = GetIntrinsic('%Object.defineProperty%', true)|| false;4 var $defineProperty = Object.defineProperty || false; 7 5 if ($defineProperty) { 8 6 try { -
imaps-frontend/node_modules/es-define-property/package.json
r0c6b92a r79a0317 1 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 } 2 "_from": "es-define-property@^1.0.0", 3 "_id": "es-define-property@1.0.1", 4 "_inBundle": false, 5 "_integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", 6 "_location": "/es-define-property", 7 "_phantomChildren": {}, 8 "_requested": { 9 "type": "range", 10 "registry": true, 11 "raw": "es-define-property@^1.0.0", 12 "name": "es-define-property", 13 "escapedName": "es-define-property", 14 "rawSpec": "^1.0.0", 15 "saveSpec": null, 16 "fetchSpec": "^1.0.0" 17 }, 18 "_requiredBy": [ 19 "/call-bind", 20 "/define-data-property", 21 "/es-abstract", 22 "/get-intrinsic", 23 "/has-property-descriptors" 24 ], 25 "_resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", 26 "_shasum": "983eb2f9a6724e9303f61addf011c72e09e0b0fa", 27 "_spec": "es-define-property@^1.0.0", 28 "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/call-bind", 29 "author": { 30 "name": "Jordan Harband", 31 "email": "ljharb@gmail.com" 32 }, 33 "auto-changelog": { 34 "output": "CHANGELOG.md", 35 "template": "keepachangelog", 36 "unreleased": false, 37 "commitLimit": false, 38 "backfillLimit": false, 39 "hideCredit": true 40 }, 41 "bugs": { 42 "url": "https://github.com/ljharb/es-define-property/issues" 43 }, 44 "bundleDependencies": false, 45 "deprecated": false, 46 "description": "`Object.defineProperty`, but not IE 8's broken one.", 47 "devDependencies": { 48 "@ljharb/eslint-config": "^21.1.1", 49 "@ljharb/tsconfig": "^0.2.2", 50 "@types/gopd": "^1.0.3", 51 "@types/tape": "^5.6.5", 52 "auto-changelog": "^2.5.0", 53 "encoding": "^0.1.13", 54 "eslint": "^8.8.0", 55 "evalmd": "^0.0.19", 56 "gopd": "^1.2.0", 57 "in-publish": "^2.0.1", 58 "npmignore": "^0.3.1", 59 "nyc": "^10.3.2", 60 "safe-publish-latest": "^2.0.0", 61 "tape": "^5.9.0", 62 "typescript": "next" 63 }, 64 "engines": { 65 "node": ">= 0.4" 66 }, 67 "exports": { 68 ".": "./index.js", 69 "./package.json": "./package.json" 70 }, 71 "homepage": "https://github.com/ljharb/es-define-property#readme", 72 "keywords": [ 73 "javascript", 74 "ecmascript", 75 "object", 76 "define", 77 "property", 78 "defineProperty", 79 "Object.defineProperty" 80 ], 81 "license": "MIT", 82 "main": "index.js", 83 "name": "es-define-property", 84 "publishConfig": { 85 "ignore": [ 86 ".github/workflows" 87 ] 88 }, 89 "repository": { 90 "type": "git", 91 "url": "git+https://github.com/ljharb/es-define-property.git" 92 }, 93 "scripts": { 94 "lint": "eslint --ext=js,mjs .", 95 "postlint": "tsc -p .", 96 "posttest": "npx npm@'>= 10.2' audit --production", 97 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 98 "prelint": "evalmd README.md", 99 "prepack": "npmignore --auto --commentLines=autogenerated", 100 "prepublish": "not-in-publish || npm run prepublishOnly", 101 "prepublishOnly": "safe-publish-latest", 102 "pretest": "npm run lint", 103 "test": "npm run tests-only", 104 "tests-only": "nyc tape 'test/**/*.js'", 105 "version": "auto-changelog && git add CHANGELOG.md" 106 }, 107 "sideEffects": false, 108 "testling": { 109 "files": "test/index.js" 110 }, 111 "types": "./index.d.ts", 112 "version": "1.0.1" 81 113 } -
imaps-frontend/node_modules/es-define-property/test/index.js
r0c6b92a r79a0317 11 11 t.equal(typeof $defineProperty, 'function', 'defineProperty is supported'); 12 12 if ($defineProperty && gOPD) { // this `if` check is just to shut TS up 13 /** @type {{ a: number, b?: number, c?: number }} */ 13 14 var o = { a: 1 }; 14 15 -
imaps-frontend/node_modules/es-define-property/tsconfig.json
r0c6b92a r79a0317 1 1 { 2 "extends": "@ljharb/tsconfig", 2 3 "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. */ 4 "target": "es2022", 45 5 }, 46 6 "exclude": [
Note:
See TracChangeset
for help on using the changeset viewer.