Changeset 79a0317 for imaps-frontend/node_modules/is-weakset
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/is-weakset
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/is-weakset/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 ## [v2.0.4](https://github.com/inspect-js/is-weakset/compare/v2.0.3...v2.0.4) - 2024-12-16 9 10 ### Commits 11 12 - [types] use shared config [`5fe9848`](https://github.com/inspect-js/is-weakset/commit/5fe98485c31c8269b90fe93b6f0d002259510786) 13 - [actions] split out node 10-20, and 20+ [`bd400b9`](https://github.com/inspect-js/is-weakset/commit/bd400b94a77eddeea29f940a2e18708f760deaab) 14 - [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@types/object-inspect`, `auto-changelog`, `object-inspect`, `tape` [`8b290fc`](https://github.com/inspect-js/is-weakset/commit/8b290fc32cdd37e4464a2f3df192e71bf77a4636) 15 - [Refactor] use `call-bound` directly [`265971b`](https://github.com/inspect-js/is-weakset/commit/265971b6c1cf9d01b4c48b7182e13b4d46e4825a) 16 - [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape` [`f39dc78`](https://github.com/inspect-js/is-weakset/commit/f39dc787ab85cd24f62013f1dd416e2f3bf2197a) 17 - [Dev Deps] update `@arethetypeswrong/cli`, `@types/get-intrinsic`, `object-inspect` [`ce6c6a9`](https://github.com/inspect-js/is-weakset/commit/ce6c6a936bbd40743021b6b96835d328dd924e1b) 18 - [Deps] update `call-bind`, `get-intrinsic` [`ebd5d82`](https://github.com/inspect-js/is-weakset/commit/ebd5d822ca3b8479ebebc99d8f268a7c2a264f8e) 19 - [Tests] replace `aud` with `npm audit` [`3eb16c8`](https://github.com/inspect-js/is-weakset/commit/3eb16c8b9e9b368f1e2a342867e10972e81b194b) 20 - [Dev Deps] update `@arethetypeswrong/cli` [`9fe99f3`](https://github.com/inspect-js/is-weakset/commit/9fe99f3ebc084129576e4f467df8eef834b2f25f) 21 - [Dev Deps] add missing peer dep [`a2fc30e`](https://github.com/inspect-js/is-weakset/commit/a2fc30ed83a6592c6ac56b425ebadc311dc96102) 7 22 8 23 ## [v2.0.3](https://github.com/inspect-js/is-weakset/compare/v2.0.2...v2.0.3) - 2024-03-08 -
imaps-frontend/node_modules/is-weakset/index.js
r0c6b92a r79a0317 2 2 3 3 var GetIntrinsic = require('get-intrinsic'); 4 var callBound = require('call-b ind/callBound');4 var callBound = require('call-bound'); 5 5 6 6 var $WeakSet = GetIntrinsic('%WeakSet%', true); 7 7 8 /** @type {undefined | (<V>(thisArg: Set<V>, value: V) => boolean)} */ 8 9 var $setHas = callBound('WeakSet.prototype.has', true); 9 10 10 11 if ($setHas) { 12 /** @type {undefined | (<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean)} */ 11 13 var $mapHas = callBound('WeakMap.prototype.has', true); 12 14 … … 17 19 } 18 20 try { 21 // @ts-expect-error TS can't figure out that $setHas is always truthy here 19 22 $setHas(x, $setHas); 20 23 if ($mapHas) { 21 24 try { 25 // @ts-expect-error this indeed might not be a weak collection 22 26 $mapHas(x, $mapHas); 23 27 } catch (e) { … … 32 36 } else { 33 37 /** @type {import('.')} */ 34 // eslint-disable-next-line no-unused-vars35 module.exports = function isWeakSet(x) { 38 // @ts-expect-error 39 module.exports = function isWeakSet(x) { // eslint-disable-line no-unused-vars 36 40 // `WeakSet` does not exist, or does not have a `has` method 37 41 return false; -
imaps-frontend/node_modules/is-weakset/package.json
r0c6b92a r79a0317 1 1 { 2 "name": "is-weakset", 3 "version": "2.0.3", 4 "description": "Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", 5 "main": "index.js", 6 "sideEffects": false, 7 "scripts": { 8 "prepack": "npmignore --auto --commentLines=autogenerated", 9 "version": "auto-changelog && git add CHANGELOG.md", 10 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 11 "prepublishOnly": "safe-publish-latest", 12 "prepublish": "not-in-publish || npm run prepublishOnly", 13 "pretest": "npm run lint", 14 "lint": "eslint --ext=js,mjs .", 15 "postlint": "tsc -p . && attw -P", 16 "tests-only": "nyc tape 'test/**/*.js'", 17 "tests:shims": "nyc tape --require=es5-shim --require=es6-shim 'test/**/*.js'", 18 "tests:corejs": "nyc tape --require=core-js 'test/**/*.js'", 19 "test": "npm run tests-only && npm run tests:shims && npm run tests:corejs", 20 "posttest": "aud --production" 21 }, 22 "repository": { 23 "type": "git", 24 "url": "git+https://github.com/inspect-js/is-weakset.git" 25 }, 26 "keywords": [ 27 "map", 28 "weakmap", 29 "set", 30 "weakset", 31 "collection", 32 "is", 33 "robust" 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/inspect-js/is-weakset/issues" 42 }, 43 "homepage": "https://github.com/inspect-js/is-weakset#readme", 44 "dependencies": { 45 "call-bind": "^1.0.7", 46 "get-intrinsic": "^1.2.4" 47 }, 48 "devDependencies": { 49 "@arethetypeswrong/cli": "^0.15.0", 50 "@ljharb/eslint-config": "^21.1.0", 51 "@types/call-bind": "^1.0.5", 52 "@types/for-each": "^0.3.3", 53 "@types/get-intrinsic": "^1.2.2", 54 "@types/object-inspect": "^1.8.4", 55 "@types/tape": "^5.6.4", 56 "aud": "^2.0.4", 57 "auto-changelog": "^2.4.0", 58 "core-js": "^2.6.12", 59 "es5-shim": "^4.6.7", 60 "es6-shim": "^0.35.8", 61 "eslint": "=8.8.0", 62 "for-each": "^0.3.3", 63 "in-publish": "^2.0.1", 64 "npmignore": "^0.3.1", 65 "nyc": "^10.3.2", 66 "object-inspect": "^1.13.1", 67 "safe-publish-latest": "^2.0.0", 68 "tape": "^5.7.5", 69 "typescript": "next" 70 }, 71 "auto-changelog": { 72 "output": "CHANGELOG.md", 73 "template": "keepachangelog", 74 "unreleased": false, 75 "commitLimit": false, 76 "backfillLimit": false, 77 "hideCredit": true 78 }, 79 "publishConfig": { 80 "ignore": [ 81 ".github/workflows" 82 ] 83 }, 84 "engines": { 85 "node": ">= 0.4" 86 } 2 "_from": "is-weakset@^2.0.3", 3 "_id": "is-weakset@2.0.4", 4 "_inBundle": false, 5 "_integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", 6 "_location": "/is-weakset", 7 "_phantomChildren": {}, 8 "_requested": { 9 "type": "range", 10 "registry": true, 11 "raw": "is-weakset@^2.0.3", 12 "name": "is-weakset", 13 "escapedName": "is-weakset", 14 "rawSpec": "^2.0.3", 15 "saveSpec": null, 16 "fetchSpec": "^2.0.3" 17 }, 18 "_requiredBy": [ 19 "/which-collection" 20 ], 21 "_resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", 22 "_shasum": "c9f5deb0bc1906c6d6f1027f284ddf459249daca", 23 "_spec": "is-weakset@^2.0.3", 24 "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/which-collection", 25 "author": { 26 "name": "Jordan Harband", 27 "email": "ljharb@gmail.com" 28 }, 29 "auto-changelog": { 30 "output": "CHANGELOG.md", 31 "template": "keepachangelog", 32 "unreleased": false, 33 "commitLimit": false, 34 "backfillLimit": false, 35 "hideCredit": true 36 }, 37 "bugs": { 38 "url": "https://github.com/inspect-js/is-weakset/issues" 39 }, 40 "bundleDependencies": false, 41 "dependencies": { 42 "call-bound": "^1.0.3", 43 "get-intrinsic": "^1.2.6" 44 }, 45 "deprecated": false, 46 "description": "Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", 47 "devDependencies": { 48 "@arethetypeswrong/cli": "^0.17.1", 49 "@ljharb/eslint-config": "^21.1.1", 50 "@ljharb/tsconfig": "^0.2.2", 51 "@types/for-each": "^0.3.3", 52 "@types/get-intrinsic": "^1.2.3", 53 "@types/object-inspect": "^1.13.0", 54 "@types/tape": "^5.7.0", 55 "auto-changelog": "^2.5.0", 56 "core-js": "^2.6.12", 57 "encoding": "^0.1.13", 58 "es5-shim": "^4.6.7", 59 "es6-shim": "^0.35.8", 60 "eslint": "=8.8.0", 61 "for-each": "^0.3.3", 62 "in-publish": "^2.0.1", 63 "npmignore": "^0.3.1", 64 "nyc": "^10.3.2", 65 "object-inspect": "^1.13.3", 66 "safe-publish-latest": "^2.0.0", 67 "tape": "^5.9.0", 68 "typescript": "next" 69 }, 70 "engines": { 71 "node": ">= 0.4" 72 }, 73 "funding": { 74 "url": "https://github.com/sponsors/ljharb" 75 }, 76 "homepage": "https://github.com/inspect-js/is-weakset#readme", 77 "keywords": [ 78 "map", 79 "weakmap", 80 "set", 81 "weakset", 82 "collection", 83 "is", 84 "robust" 85 ], 86 "license": "MIT", 87 "main": "index.js", 88 "name": "is-weakset", 89 "publishConfig": { 90 "ignore": [ 91 ".github/workflows" 92 ] 93 }, 94 "repository": { 95 "type": "git", 96 "url": "git+https://github.com/inspect-js/is-weakset.git" 97 }, 98 "scripts": { 99 "lint": "eslint --ext=js,mjs .", 100 "postlint": "tsc -p . && attw -P", 101 "posttest": "npx npm@'>=10.2' audit --production", 102 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 103 "prepack": "npmignore --auto --commentLines=autogenerated", 104 "prepublish": "not-in-publish || npm run prepublishOnly", 105 "prepublishOnly": "safe-publish-latest", 106 "pretest": "npm run lint", 107 "test": "npm run tests-only && npm run tests:shims && npm run tests:corejs", 108 "tests-only": "nyc tape 'test/**/*.js'", 109 "tests:corejs": "nyc tape --require=core-js 'test/**/*.js'", 110 "tests:shims": "nyc tape --require=es5-shim --require=es6-shim 'test/**/*.js'", 111 "version": "auto-changelog && git add CHANGELOG.md" 112 }, 113 "sideEffects": false, 114 "version": "2.0.4" 87 115 } -
imaps-frontend/node_modules/is-weakset/tsconfig.json
r0c6b92a r79a0317 1 1 { 2 "compilerOptions": { 3 /* Visit https://aka.ms/tsconfig to read more about this file */ 4 5 /* Projects */ 6 7 /* Language and Environment */ 8 "target": "ESNext", /* 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": "node10", /* 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": 0, /* 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 ] 2 "extends": "@ljharb/tsconfig", 3 "compilerOptions": { 4 "target": "ES2021", 5 }, 6 "exclude": [ 7 "coverage", 8 ], 49 9 }
Note:
See TracChangeset
for help on using the changeset viewer.