@jsenv/core 30.4.0 → 30.4.1

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
@@ -7,9 +7,7 @@ It has naturally evolved to cover the core needs of a JavaScript project: develo
7
7
  - :sparkles: Same tooling for dev, tests and build.
8
8
  - :exploding_head: Can execute tests on Chrome, Firefox, Safari and Node.js.
9
9
 
10
- # Documentation
11
-
12
- https://github.com/jsenv/jsenv-core/wiki
10
+ [Documentation](https://github.com/jsenv/jsenv-core/wiki)
13
11
 
14
12
  # Installation
15
13
 
package/dist/main.js CHANGED
@@ -19208,17 +19208,6 @@ const jsenvPluginBabel = ({
19208
19208
  return {
19209
19209
  name: "jsenv:babel",
19210
19210
  appliesDuring: "*",
19211
- transformUrlContent: urlInfo => {
19212
- if (urlInfo.url === regeneratorRuntimeClientFileUrl) {
19213
- urlInfo.data.isBabelClientFile = true;
19214
- }
19215
- if (urlInfo.url === globalThisClientFileUrl) {
19216
- urlInfo.data.isBabelClientFile = true;
19217
- }
19218
- if (urlInfo.url === newStylesheetClientFileUrl) {
19219
- urlInfo.data.isBabelClientFile = true;
19220
- }
19221
- },
19222
19211
  finalizeUrlContent: {
19223
19212
  js_classic: transformWithBabel,
19224
19213
  js_module: transformWithBabel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "30.4.0",
3
+ "version": "30.4.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -68,8 +68,8 @@
68
68
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
69
69
  "@jsenv/abort": "4.2.4",
70
70
  "@jsenv/ast": "3.0.2",
71
- "@jsenv/babel-plugins": "1.1.3",
72
- "@jsenv/plugin-bundling": "1.1.2",
71
+ "@jsenv/babel-plugins": "1.1.4",
72
+ "@jsenv/plugin-bundling": "1.2.1",
73
73
  "@jsenv/filesystem": "4.1.9",
74
74
  "@jsenv/importmap": "1.2.1",
75
75
  "@jsenv/integrity": "0.0.1",
@@ -5,18 +5,9 @@ import { babelPluginInstrument } from "@jsenv/core/src/test/coverage/babel_plugi
5
5
  import { RUNTIME_COMPAT } from "@jsenv/core/src/kitchen/compat/runtime_compat.js"
6
6
  import { getBaseBabelPluginStructure } from "./helpers/babel_plugin_structure.js"
7
7
  import { babelPluginBabelHelpersAsJsenvImports } from "./helpers/babel_plugin_babel_helpers_as_jsenv_imports.js"
8
- import {
9
- babelPluginNewStylesheetAsJsenvImport,
10
- newStylesheetClientFileUrl,
11
- } from "./new_stylesheet/babel_plugin_new_stylesheet_as_jsenv_import.js"
12
- import {
13
- babelPluginGlobalThisAsJsenvImport,
14
- globalThisClientFileUrl,
15
- } from "./global_this/babel_plugin_global_this_as_jsenv_import.js"
16
- import {
17
- babelPluginRegeneratorRuntimeAsJsenvImport,
18
- regeneratorRuntimeClientFileUrl,
19
- } from "./regenerator_runtime/babel_plugin_regenerator_runtime_as_jsenv_import.js"
8
+ import { babelPluginNewStylesheetAsJsenvImport } from "./new_stylesheet/babel_plugin_new_stylesheet_as_jsenv_import.js"
9
+ import { babelPluginGlobalThisAsJsenvImport } from "./global_this/babel_plugin_global_this_as_jsenv_import.js"
10
+ import { babelPluginRegeneratorRuntimeAsJsenvImport } from "./regenerator_runtime/babel_plugin_regenerator_runtime_as_jsenv_import.js"
20
11
 
21
12
  export const jsenvPluginBabel = ({
22
13
  getCustomBabelPlugins,
@@ -115,17 +106,6 @@ export const jsenvPluginBabel = ({
115
106
  return {
116
107
  name: "jsenv:babel",
117
108
  appliesDuring: "*",
118
- transformUrlContent: (urlInfo) => {
119
- if (urlInfo.url === regeneratorRuntimeClientFileUrl) {
120
- urlInfo.data.isBabelClientFile = true
121
- }
122
- if (urlInfo.url === globalThisClientFileUrl) {
123
- urlInfo.data.isBabelClientFile = true
124
- }
125
- if (urlInfo.url === newStylesheetClientFileUrl) {
126
- urlInfo.data.isBabelClientFile = true
127
- }
128
- },
129
109
  finalizeUrlContent: {
130
110
  js_classic: transformWithBabel,
131
111
  js_module: transformWithBabel,