@jsenv/core 39.2.13 → 39.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # @jsenv/core [![npm package](https://img.shields.io/npm/v/@jsenv/core.svg?logo=npm&label=package)](https://www.npmjs.com/package/@jsenv/core)
1
+ # @jsenv/core
2
+ [![npm package](https://img.shields.io/npm/v/@jsenv/core.svg?logo=npm&label=package)](https://www.npmjs.com/package/@jsenv/core)
2
3
 
3
4
  Jsenv is a suite of tools that can be used in projects involving JavaScript.
4
5
 
@@ -1418,9 +1418,12 @@ const pathnameToFilename = (pathname) => {
1418
1418
  return filename;
1419
1419
  };
1420
1420
 
1421
- const urlToBasename = (url) => {
1421
+ const urlToBasename = (url, removeAllExtensions) => {
1422
1422
  const filename = urlToFilename$1(url);
1423
- return filenameToBasename(filename);
1423
+ const basename = filenameToBasename(filename);
1424
+ {
1425
+ return basename;
1426
+ }
1424
1427
  };
1425
1428
 
1426
1429
  const filenameToBasename = (filename) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.2.13",
3
+ "version": "39.2.15",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -51,11 +51,12 @@
51
51
  "monorepo:sync_packages_versions": "node ./scripts/monorepo/sync_packages_versions.mjs",
52
52
  "monorepo:publish": "node ./scripts/monorepo/publish_packages.mjs",
53
53
  "monorepo:upgrade_versions": "node ./scripts/monorepo/upgrade_external_versions.mjs",
54
- "monorepo:node_modules_clear": "npx @jsenv/snapshot clear **/node_modules/",
54
+ "monorepo:node_modules_clear": "npx @jsenv/filesystem clear **/node_modules/",
55
55
  "md:build": "node ./md/build.js",
56
56
  "performances": "node --expose-gc ./scripts/performance/generate_performance_report.mjs --log --once",
57
57
  "build:file_size": "node ./scripts/build/build_file_size.mjs --log",
58
58
  "prettier": "prettier --write .",
59
+ "test:snapshot_clear": "npx @jsenv/filesystem clear **/tests/**/side_effects/",
59
60
  "test:ci": "CI=1 npm run test",
60
61
  "test:only_dev_server_errors": "node --conditions=development ./tests/dev_server/errors/dev_errors_snapshots.test.mjs",
61
62
  "workspace:test:ci": "CI=1 npm run workspace:test",
@@ -66,22 +67,22 @@
66
67
  "dependencies": {
67
68
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
68
69
  "@jsenv/abort": "4.3.0",
69
- "@jsenv/ast": "6.2.11",
70
- "@jsenv/filesystem": "4.9.6",
70
+ "@jsenv/ast": "6.2.12",
71
+ "@jsenv/filesystem": "4.9.8",
71
72
  "@jsenv/humanize": "1.2.7",
72
73
  "@jsenv/importmap": "1.2.1",
73
74
  "@jsenv/integrity": "0.0.2",
74
- "@jsenv/js-module-fallback": "1.3.32",
75
+ "@jsenv/js-module-fallback": "1.3.33",
75
76
  "@jsenv/node-esm-resolution": "1.0.2",
76
- "@jsenv/plugin-bundling": "2.7.3",
77
+ "@jsenv/plugin-bundling": "2.7.4",
77
78
  "@jsenv/plugin-minification": "1.5.5",
78
- "@jsenv/plugin-supervisor": "1.5.12",
79
- "@jsenv/plugin-transpilation": "1.4.16",
79
+ "@jsenv/plugin-supervisor": "1.5.13",
80
+ "@jsenv/plugin-transpilation": "1.4.17",
80
81
  "@jsenv/runtime-compat": "1.3.1",
81
82
  "@jsenv/server": "15.2.17",
82
- "@jsenv/sourcemap": "1.2.20",
83
+ "@jsenv/sourcemap": "1.2.21",
83
84
  "@jsenv/url-meta": "8.5.0",
84
- "@jsenv/urls": "2.5.0",
85
+ "@jsenv/urls": "2.5.1",
85
86
  "@jsenv/utils": "2.1.2",
86
87
  "anchor-markdown-header": "0.7.0"
87
88
  },