Changeset 0c6b92a for imaps-frontend/node_modules/is-core-module
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- Location:
- imaps-frontend/node_modules/is-core-module
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/is-core-module/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 ## [v2.15.1](https://github.com/inspect-js/is-core-module/compare/v2.15.0...v2.15.1) - 2024-08-21 9 10 ### Commits 11 12 - [Tests] add `process.getBuiltinModule` tests [`28c7791`](https://github.com/inspect-js/is-core-module/commit/28c7791c196d58c64cfdf638b7e68ed1b62a4da0) 13 - [Fix] `test/mock_loader` is no longer exposed as of v22.7 [`68b08b0`](https://github.com/inspect-js/is-core-module/commit/68b08b0d7963447dbffa5142e8810dca550383af) 14 - [Tests] replace `aud` with `npm audit` [`32f8060`](https://github.com/inspect-js/is-core-module/commit/32f806026dac14f9016be4401a643851240c76b9) 15 - [Dev Deps] update `mock-property` [`f7d3c8f`](https://github.com/inspect-js/is-core-module/commit/f7d3c8f01e922be49621683eb41477c4f50522e1) 16 - [Dev Deps] add missing peer dep [`eaee885`](https://github.com/inspect-js/is-core-module/commit/eaee885b67238819e9c8ed5bd2098766e1d05331) 7 17 8 18 ## [v2.15.0](https://github.com/inspect-js/is-core-module/compare/v2.14.0...v2.15.0) - 2024-07-17 -
imaps-frontend/node_modules/is-core-module/core.json
rd565449 r0c6b92a 118 118 "test/reporters": ">= 19.9 && < 20.2", 119 119 "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"], 120 "test/mock_loader": ">= 22.3 ",121 "node:test/mock_loader": ">= 22.3 ",120 "test/mock_loader": ">= 22.3 && < 22.7", 121 "node:test/mock_loader": ">= 22.3 && < 22.7", 122 122 "node:test": [">= 16.17 && < 17", ">= 18"], 123 123 "timers": true, -
imaps-frontend/node_modules/is-core-module/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "is-core-module", 3 "version": "2.15. 0",3 "version": "2.15.1", 4 4 "description": "Is this specifier a node.js core module?", 5 5 "main": "index.js", … … 17 17 "tests-only": "nyc tape 'test/**/*.js'", 18 18 "test": "npm run tests-only", 19 "posttest": " aud--production",19 "posttest": "npx npm@'>=10.2' audit --production", 20 20 "version": "auto-changelog && git add CHANGELOG.md", 21 21 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" … … 47 47 "devDependencies": { 48 48 "@ljharb/eslint-config": "^21.1.1", 49 "aud": "^2.0.4",50 49 "auto-changelog": "^2.4.0", 50 "encoding": "^0.1.13", 51 51 "eslint": "=8.8.0", 52 52 "in-publish": "^2.0.1", 53 "mock-property": "^1. 0.3",53 "mock-property": "^1.1.0", 54 54 "npmignore": "^0.3.1", 55 55 "nyc": "^10.3.2", -
imaps-frontend/node_modules/is-core-module/test/index.js
rd565449 r0c6b92a 73 73 74 74 t.test('core via builtinModules list', { skip: !data.module }, function (st) { 75 var libs = require('module').builtinModules; 75 var Module = require('module'); 76 var libs = Module.builtinModules; 76 77 if (!libs) { 77 78 st.skip('module.builtinModules does not exist'); … … 97 98 if (excludeList.indexOf(mod) === -1) { 98 99 st.ok(data[mod], mod + ' is a core module'); 100 101 if (Module.isBuiltin) { 102 st.ok(Module.isBuiltin(mod), 'module.isBuiltin(' + mod + ') is true'); 103 } 104 99 105 st.doesNotThrow( 100 106 function () { require(mod); }, // eslint-disable-line no-loop-func 101 107 'requiring ' + mod + ' does not throw' 102 108 ); 109 110 if (process.getBuiltinModule) { 111 st.equal( 112 process.getBuiltinModule(mod), 113 require(mod), 114 'process.getBuiltinModule(' + mod + ') === require(' + mod + ')' 115 ); 116 } 117 103 118 if (mod.slice(0, 5) !== 'node:') { 104 119 if (supportsNodePrefix) { … … 117 132 } 118 133 } 134 119 135 st.end(); 120 136 });
Note:
See TracChangeset
for help on using the changeset viewer.