Changeset 79a0317 for imaps-frontend/node_modules/array.prototype.flatmap
- Timestamp:
- 01/21/25 03:08:24 (4 weeks ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/array.prototype.flatmap
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/array.prototype.flatmap/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.3.3](https://github.com/es-shims/Array.prototype.flatMap/compare/v1.3.2...v1.3.3) - 2024-12-15 9 10 ### Commits 11 12 - [actions] split out node 10-20, and 20+ [`8727281`](https://github.com/es-shims/Array.prototype.flatMap/commit/87272812ed6ade6935c7429ee1daf1cfa54115ef) 13 - [Tests] add test coverage [`6e78327`](https://github.com/es-shims/Array.prototype.flatMap/commit/6e7832790c36b320880f4b6d38dc31388d1fae3a) 14 - [Deps] update `call-bind`, `es-abstract` [`e027dd1`](https://github.com/es-shims/Array.prototype.flatMap/commit/e027dd10ee63b3c3a98cc7e6ce8ad42b1100bdc9) 15 - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `auto-changelog`, `object-inspect`, `tape` [`7322d84`](https://github.com/es-shims/Array.prototype.flatMap/commit/7322d841e87ab17e4b929e92e73e8a20c3daf544) 16 - [Dev Deps] update `aud`, `npmignore`, `object-inspect`, `tape` [`958bf5c`](https://github.com/es-shims/Array.prototype.flatMap/commit/958bf5c982cb0c4941dc2a6e873883e9f2c8d535) 17 - [Deps] update `call-bind`, `define-properties`, `es-abstract`, `es-shim-unscopables` [`b3698fb`](https://github.com/es-shims/Array.prototype.flatMap/commit/b3698fb2320992f5ab85a486d1adef0105f739aa) 18 - [Tests] replace `aud` with `npm audit` [`e0461ed`](https://github.com/es-shims/Array.prototype.flatMap/commit/e0461ed2288d37e2d878e3e64569313c04af6a64) 19 - [Dev Deps] add missing peer dep [`e7160b5`](https://github.com/es-shims/Array.prototype.flatMap/commit/e7160b5ef9d624300cc189696e8019adaf6d67fc) 7 20 8 21 ## [v1.3.2](https://github.com/es-shims/Array.prototype.flatMap/compare/v1.3.1...v1.3.2) - 2023-09-06 -
imaps-frontend/node_modules/array.prototype.flatmap/implementation.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var ArraySpeciesCreate = require('es-abstract/202 3/ArraySpeciesCreate');4 var FlattenIntoArray = require('es-abstract/202 3/FlattenIntoArray');5 var Get = require('es-abstract/202 3/Get');6 var IsCallable = require('es-abstract/202 3/IsCallable');7 var ToLength = require('es-abstract/202 3/ToLength');8 var ToObject = require('es-abstract/202 3/ToObject');3 var ArraySpeciesCreate = require('es-abstract/2024/ArraySpeciesCreate'); 4 var FlattenIntoArray = require('es-abstract/2024/FlattenIntoArray'); 5 var Get = require('es-abstract/2024/Get'); 6 var IsCallable = require('es-abstract/2024/IsCallable'); 7 var ToLength = require('es-abstract/2024/ToLength'); 8 var ToObject = require('es-abstract/2024/ToObject'); 9 9 10 10 module.exports = function flatMap(mapperFunction) { -
imaps-frontend/node_modules/array.prototype.flatmap/package.json
r0c6b92a r79a0317 1 1 { 2 "name": "array.prototype.flatmap", 3 "version": "1.3.2", 4 "author": { 5 "name": "Jordan Harband", 6 "email": "ljharb@gmail.com", 7 "url": "http://ljharb.codes" 8 }, 9 "funding": { 10 "url": "https://github.com/sponsors/ljharb" 11 }, 12 "contributors": [ 13 { 14 "name": "Jordan Harband", 15 "email": "ljharb@gmail.com", 16 "url": "http://ljharb.codes" 17 } 18 ], 19 "description": "An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.", 20 "license": "MIT", 21 "main": "index", 22 "scripts": { 23 "prepack": "npmignore --auto --commentLines=autogenerated", 24 "prepublishOnly": "safe-publish-latest", 25 "prepublish": "not-in-publish || npm run prepublishOnly", 26 "pretest": "npm run lint", 27 "test": "npm run tests-only", 28 "posttest": "aud --production", 29 "tests-only": "nyc tape 'test/**/*.js'", 30 "prelint": "evalmd README.md", 31 "lint": "eslint --ext=js,mjs .", 32 "postlint": "es-shim-api --bound", 33 "version": "auto-changelog && git add CHANGELOG.md", 34 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" 35 }, 36 "repository": { 37 "type": "git", 38 "url": "git://github.com/es-shims/Array.prototype.flatMap.git" 39 }, 40 "keywords": [ 41 "Array.prototype.flatMap", 42 "flatMap", 43 "array", 44 "ESnext", 45 "shim", 46 "polyfill", 47 "flatten", 48 "Array.prototype.flatten", 49 "es-shim API" 50 ], 51 "dependencies": { 52 "call-bind": "^1.0.2", 53 "define-properties": "^1.2.0", 54 "es-abstract": "^1.22.1", 55 "es-shim-unscopables": "^1.0.0" 56 }, 57 "devDependencies": { 58 "@es-shims/api": "^2.4.2", 59 "@ljharb/eslint-config": "^21.1.0", 60 "aud": "^2.0.3", 61 "auto-changelog": "^2.4.0", 62 "covert": "^1.1.1", 63 "eslint": "=8.8.0", 64 "evalmd": "^0.0.19", 65 "for-each": "^0.3.3", 66 "has-strict-mode": "^1.0.1", 67 "in-publish": "^2.0.1", 68 "npmignore": "^0.3.0", 69 "nyc": "^10.3.2", 70 "object-inspect": "^1.12.3", 71 "safe-publish-latest": "^2.0.0", 72 "tape": "^5.6.6" 73 }, 74 "testling": { 75 "files": [ 76 "test/index.js", 77 "test/shimmed.js" 78 ], 79 "browsers": [ 80 "iexplore/6.0..latest", 81 "firefox/3.0..6.0", 82 "firefox/15.0..latest", 83 "firefox/nightly", 84 "chrome/4.0..10.0", 85 "chrome/20.0..latest", 86 "chrome/canary", 87 "opera/10.0..latest", 88 "opera/next", 89 "safari/4.0..latest", 90 "ipad/6.0..latest", 91 "iphone/6.0..latest", 92 "android-browser/4.2" 93 ] 94 }, 95 "engines": { 96 "node": ">= 0.4" 97 }, 98 "auto-changelog": { 99 "output": "CHANGELOG.md", 100 "template": "keepachangelog", 101 "unreleased": false, 102 "commitLimit": false, 103 "backfillLimit": false, 104 "hideCredit": true, 105 "startingVersion": "1.3.1" 106 }, 107 "publishConfig": { 108 "ignore": [ 109 ".github/workflows" 110 ] 111 } 2 "_from": "array.prototype.flatmap@1.3.3", 3 "_id": "array.prototype.flatmap@1.3.3", 4 "_inBundle": false, 5 "_integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", 6 "_location": "/array.prototype.flatmap", 7 "_phantomChildren": {}, 8 "_requested": { 9 "type": "version", 10 "registry": true, 11 "raw": "array.prototype.flatmap@1.3.3", 12 "name": "array.prototype.flatmap", 13 "escapedName": "array.prototype.flatmap", 14 "rawSpec": "1.3.3", 15 "saveSpec": null, 16 "fetchSpec": "1.3.3" 17 }, 18 "_requiredBy": [ 19 "/eslint-plugin-react" 20 ], 21 "_resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", 22 "_shasum": "712cc792ae70370ae40586264629e33aab5dd38b", 23 "_spec": "array.prototype.flatmap@1.3.3", 24 "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/eslint-plugin-react", 25 "author": { 26 "name": "Jordan Harband", 27 "email": "ljharb@gmail.com", 28 "url": "http://ljharb.codes" 29 }, 30 "auto-changelog": { 31 "output": "CHANGELOG.md", 32 "template": "keepachangelog", 33 "unreleased": false, 34 "commitLimit": false, 35 "backfillLimit": false, 36 "hideCredit": true, 37 "startingVersion": "1.3.1" 38 }, 39 "bugs": { 40 "url": "https://github.com/es-shims/Array.prototype.flatMap/issues" 41 }, 42 "bundleDependencies": false, 43 "contributors": [ 44 { 45 "name": "Jordan Harband", 46 "email": "ljharb@gmail.com", 47 "url": "http://ljharb.codes" 48 } 49 ], 50 "dependencies": { 51 "call-bind": "^1.0.8", 52 "define-properties": "^1.2.1", 53 "es-abstract": "^1.23.5", 54 "es-shim-unscopables": "^1.0.2" 55 }, 56 "deprecated": false, 57 "description": "An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.", 58 "devDependencies": { 59 "@es-shims/api": "^2.5.1", 60 "@ljharb/eslint-config": "^21.1.1", 61 "auto-changelog": "^2.5.0", 62 "encoding": "^0.1.13", 63 "eslint": "=8.8.0", 64 "evalmd": "^0.0.19", 65 "for-each": "^0.3.3", 66 "has-strict-mode": "^1.0.1", 67 "in-publish": "^2.0.1", 68 "npmignore": "^0.3.1", 69 "nyc": "^10.3.2", 70 "object-inspect": "^1.13.3", 71 "safe-publish-latest": "^2.0.0", 72 "tape": "^5.9.0" 73 }, 74 "engines": { 75 "node": ">= 0.4" 76 }, 77 "funding": { 78 "url": "https://github.com/sponsors/ljharb" 79 }, 80 "homepage": "https://github.com/es-shims/Array.prototype.flatMap#readme", 81 "keywords": [ 82 "Array.prototype.flatMap", 83 "flatMap", 84 "array", 85 "ESnext", 86 "shim", 87 "polyfill", 88 "flatten", 89 "Array.prototype.flatten", 90 "es-shim API" 91 ], 92 "license": "MIT", 93 "main": "index", 94 "name": "array.prototype.flatmap", 95 "publishConfig": { 96 "ignore": [ 97 ".github/workflows" 98 ] 99 }, 100 "repository": { 101 "type": "git", 102 "url": "git://github.com/es-shims/Array.prototype.flatMap.git" 103 }, 104 "scripts": { 105 "lint": "eslint --ext=js,mjs .", 106 "postlint": "es-shim-api --bound", 107 "posttest": "npx npm@'>= 10.2' audit --production", 108 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 109 "prelint": "evalmd README.md", 110 "prepack": "npmignore --auto --commentLines=autogenerated", 111 "prepublish": "not-in-publish || npm run prepublishOnly", 112 "prepublishOnly": "safe-publish-latest", 113 "pretest": "npm run lint", 114 "test": "npm run tests-only", 115 "tests-only": "nyc tape 'test/**/*.js'", 116 "version": "auto-changelog && git add CHANGELOG.md" 117 }, 118 "testling": { 119 "files": [ 120 "test/index.js", 121 "test/shimmed.js" 122 ], 123 "browsers": [ 124 "iexplore/6.0..latest", 125 "firefox/3.0..6.0", 126 "firefox/15.0..latest", 127 "firefox/nightly", 128 "chrome/4.0..10.0", 129 "chrome/20.0..latest", 130 "chrome/canary", 131 "opera/10.0..latest", 132 "opera/next", 133 "safari/4.0..latest", 134 "ipad/6.0..latest", 135 "iphone/6.0..latest", 136 "android-browser/4.2" 137 ] 138 }, 139 "version": "1.3.3" 112 140 } -
imaps-frontend/node_modules/array.prototype.flatmap/test/tests.js
r0c6b92a r79a0317 41 41 st.end(); 42 42 }); 43 44 t.test('test262: staging test from v8', function (st) { 45 var arr1 = [0, 1, 2, 3]; 46 var f = function (e) { 47 arr1[4] = 42; 48 return e; 49 }; 50 st.deepEqual(flatMap(arr1, f), [0, 1, 2, 3]); 51 52 var arr2 = [0, 1, 2, 3]; 53 var g = function (e) { 54 arr2.length = 3; 55 return e; 56 }; 57 st.deepEqual(flatMap(arr2, g), [0, 1, 2]); 58 59 st.end(); 60 }); 43 61 };
Note:
See TracChangeset
for help on using the changeset viewer.