Changeset 0c6b92a for imaps-frontend/node_modules/typed-array-length
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- Location:
- imaps-frontend/node_modules/typed-array-length
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/typed-array-length/CHANGELOG.md
rd565449 r0c6b92a 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.7](https://github.com/inspect-js/typed-array-length/compare/v1.0.6...v1.0.7) - 2024-11-22 9 10 ### Fixed 11 12 - [Fix] avoid relying on `__proto__` accessor [`#9`](https://github.com/inspect-js/typed-array-length/issues/9) 13 14 ### Commits 15 16 - [Tests] fix TS issues [`f36b6bd`](https://github.com/inspect-js/typed-array-length/commit/f36b6bdbe472923cdd24158705a19b91ae5f512c) 17 - [actions] split out node 10-20, and 20+ [`d81efa0`](https://github.com/inspect-js/typed-array-length/commit/d81efa0b275161e82f78ceddb3ccf0bd63c2b834) 18 - [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@types/object-inspect`, `auto-changelog`, `object-inspect`, `tape` [`a61b15b`](https://github.com/inspect-js/typed-array-length/commit/a61b15baa1dbc40d0fdd0e23779bfa32acab6f5e) 19 - [Tests] replace `aud` with `npm audit` [`b0b4e8f`](https://github.com/inspect-js/typed-array-length/commit/b0b4e8fa9a3050edcddead80e86765d8fd78298c) 7 20 8 21 ## [v1.0.6](https://github.com/inspect-js/typed-array-length/compare/v1.0.5...v1.0.6) - 2024-03-21 -
imaps-frontend/node_modules/typed-array-length/index.js
rd565449 r0c6b92a 6 6 var forEach = require('for-each'); 7 7 var gOPD = require('gopd'); 8 var hasProto = require('has-proto')();9 8 var isTypedArray = require('is-typed-array'); 10 9 var typedArrays = require('possible-typed-array-names'); 10 var gPO = require('reflect.getprototypeof/polyfill')(); 11 11 12 12 /** @typedef {(value: import('.').TypedArray) => number} TypedArrayLengthGetter */ … … 28 28 // @ts-expect-error TS doesn't narrow types inside callbacks, which is weird 29 29 var descriptor = gOPD(Proto, 'length'); 30 if (!descriptor && hasProto) {31 var superProto = Proto.__proto__; // eslint-disable-line no-proto30 if (!descriptor) { 31 var superProto = gPO(Proto); 32 32 // @ts-expect-error TS doesn't narrow types inside callbacks, which is weird 33 33 descriptor = gOPD(superProto, 'length'); -
imaps-frontend/node_modules/typed-array-length/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "typed-array-length", 3 "version": "1.0. 6",3 "version": "1.0.7", 4 4 "description": "Robustly get the length of a Typed Array", 5 5 "main": "index.js", … … 21 21 "test:harmony": "nyc node --harmony --es-staging test", 22 22 "test": "npm run tests-only && npm run test:harmony", 23 "posttest": " aud--production",23 "posttest": "npx npm@'>=10.2' audit --production", 24 24 "version": "auto-changelog && git add CHANGELOG.md", 25 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)\")\"" … … 55 55 "homepage": "https://github.com/inspect-js/typed-array-length#readme", 56 56 "devDependencies": { 57 "@arethetypeswrong/cli": "^0.1 5.2",58 "@ljharb/eslint-config": "^21.1. 0",57 "@arethetypeswrong/cli": "^0.17.0", 58 "@ljharb/eslint-config": "^21.1.1", 59 59 "@ljharb/tsconfig": "^0.2.0", 60 60 "@types/call-bind": "^1.0.5", … … 64 64 "@types/make-arrow-function": "^1.2.2", 65 65 "@types/make-generator-function": "^2.0.3", 66 "@types/object-inspect": "^1. 8.4",66 "@types/object-inspect": "^1.13.0", 67 67 "@types/tape": "^5.6.4", 68 "aud": "^2.0.4", 69 "auto-changelog": "^2.4.0", 68 "auto-changelog": "^2.5.0", 70 69 "eslint": "=8.8.0", 71 70 "evalmd": "^0.0.19", … … 76 75 "npmignore": "^0.3.1", 77 76 "nyc": "^10.3.2", 78 "object-inspect": "^1.13. 1",77 "object-inspect": "^1.13.3", 79 78 "safe-publish-latest": "^2.0.0", 80 "tape": "^5. 7.5",79 "tape": "^5.9.0", 81 80 "typescript": "next" 82 81 }, … … 93 92 "for-each": "^0.3.3", 94 93 "gopd": "^1.0.1", 95 "has-proto": "^1.0.3",96 94 "is-typed-array": "^1.1.13", 97 "possible-typed-array-names": "^1.0.0" 95 "possible-typed-array-names": "^1.0.0", 96 "reflect.getprototypeof": "^1.0.6" 98 97 }, 99 98 "testling": { … … 102 101 "publishConfig": { 103 102 "ignore": [ 104 ".github/workflows" 103 ".github/workflows", 104 "types" 105 105 ] 106 106 }, -
imaps-frontend/node_modules/typed-array-length/tsconfig.json
rd565449 r0c6b92a 1 1 { 2 "extends": "@ljharb/tsconfig", 3 "compilerOptions": { 4 "target": "ES2021", 5 }, 6 "exclude": [ 7 "coverage", 8 ], 2 "extends": "@ljharb/tsconfig", 3 "compilerOptions": { 4 "target": "ES2021", 5 "maxNodeModuleJsDepth": 0, 6 }, 7 "exclude": [ 8 "coverage", 9 ], 9 10 }
Note:
See TracChangeset
for help on using the changeset viewer.