@jsenv/core 38.3.3 → 38.3.4

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
@@ -9,7 +9,7 @@ The pillars of jsenv are:
9
9
  3. A build server serving build files
10
10
  4. A test runner executing test files in web browser(s)
11
11
 
12
- Jsenv cares a lot about the developer experience.
12
+ Jsenv cares a lot about the developer experience.
13
13
  As a result it can be enjoyed by people without much experience in tooling or seeking for a simple tool without hidden complexities.
14
14
 
15
15
  [Link to documentation](<https://github.com/jsenv/core/wiki/A)-directory-structure>)
@@ -136,8 +136,8 @@ function applyDecs2301Factory() {
136
136
  get && set
137
137
  ? { get: get, set: set, has: has }
138
138
  : get
139
- ? { get: get, has: has }
140
- : { set: set, has: has };
139
+ ? { get: get, has: has }
140
+ : { set: set, has: has };
141
141
 
142
142
  try {
143
143
  return dec(value, ctx);
@@ -137,8 +137,8 @@ function memberDec(
137
137
  get && set
138
138
  ? { get: get, set: set, has: has }
139
139
  : get
140
- ? { get: get, has: has }
141
- : { set: set, has: has };
140
+ ? { get: get, has: has }
141
+ : { set: set, has: has };
142
142
 
143
143
  try {
144
144
  return dec.call(thisArg, value, ctx);
@@ -5015,11 +5015,11 @@ const applyRedirectionToRequest = (
5015
5015
  baseUrl: request.url,
5016
5016
  })
5017
5017
  : pathname
5018
- ? getPropertiesFromPathname({
5019
- pathname,
5020
- baseUrl: request.url,
5021
- })
5022
- : {}),
5018
+ ? getPropertiesFromPathname({
5019
+ pathname,
5020
+ baseUrl: request.url,
5021
+ })
5022
+ : {}),
5023
5023
  ...rest,
5024
5024
  };
5025
5025
  };
@@ -5602,13 +5602,13 @@ const applyCompositionForcingLowerCase = (
5602
5602
  firstKey: keyExistsIn(keyLowercased, firstObject)
5603
5603
  ? keyLowercased
5604
5604
  : keyExistsIn(key, firstObject)
5605
- ? key
5606
- : null,
5605
+ ? key
5606
+ : null,
5607
5607
  secondKey: keyExistsIn(keyLowercased, secondObject)
5608
5608
  ? keyLowercased
5609
5609
  : keyExistsIn(key, secondObject)
5610
- ? key
5611
- : null,
5610
+ ? key
5611
+ : null,
5612
5612
  });
5613
5613
  });
5614
5614
  return composed;
@@ -13156,11 +13156,11 @@ const createUrlInfoTransformer = ({
13156
13156
  return sourcemapsSources(source, urlInfo);
13157
13157
  }
13158
13158
  : sourcemapsSources === "relative"
13159
- ? (source, urlInfo) => {
13160
- const sourceRelative = urlToRelativeUrl(source, urlInfo.url);
13161
- return sourceRelative || ".";
13162
- }
13163
- : null;
13159
+ ? (source, urlInfo) => {
13160
+ const sourceRelative = urlToRelativeUrl(source, urlInfo.url);
13161
+ return sourceRelative || ".";
13162
+ }
13163
+ : null;
13164
13164
 
13165
13165
  const normalizeSourcemap = (urlInfo, sourcemap) => {
13166
13166
  let { sources } = sourcemap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "38.3.3",
3
+ "version": "38.3.4",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -63,17 +63,17 @@
63
63
  "dependencies": {
64
64
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
65
65
  "@jsenv/abort": "4.2.4",
66
- "@jsenv/ast": "6.0.0",
66
+ "@jsenv/ast": "6.0.1",
67
67
  "@jsenv/filesystem": "4.3.2",
68
68
  "@jsenv/importmap": "1.2.1",
69
69
  "@jsenv/integrity": "0.0.1",
70
- "@jsenv/js-module-fallback": "1.3.8",
70
+ "@jsenv/js-module-fallback": "1.3.9",
71
71
  "@jsenv/log": "3.4.2",
72
72
  "@jsenv/node-esm-resolution": "1.0.1",
73
73
  "@jsenv/plugin-bundling": "2.5.8",
74
74
  "@jsenv/plugin-minification": "1.5.4",
75
- "@jsenv/plugin-supervisor": "1.3.8",
76
- "@jsenv/plugin-transpilation": "1.3.7",
75
+ "@jsenv/plugin-supervisor": "1.3.9",
76
+ "@jsenv/plugin-transpilation": "1.3.8",
77
77
  "@jsenv/runtime-compat": "1.2.0",
78
78
  "@jsenv/server": "15.1.5",
79
79
  "@jsenv/sourcemap": "1.2.4",
@@ -82,8 +82,8 @@
82
82
  "@jsenv/utils": "2.0.1"
83
83
  },
84
84
  "devDependencies": {
85
- "@babel/eslint-parser": "7.22.15",
86
- "@babel/plugin-syntax-import-assertions": "7.22.5",
85
+ "@babel/eslint-parser": "7.23.3",
86
+ "@babel/plugin-syntax-import-assertions": "7.23.3",
87
87
  "@jsenv/assert": "./packages/independent/assert/",
88
88
  "@jsenv/core": "./",
89
89
  "@jsenv/eslint-config": "./packages/independent/eslint-config/",
@@ -100,6 +100,6 @@
100
100
  "eslint-plugin-react": "7.33.2",
101
101
  "open": "9.1.0",
102
102
  "playwright": "1.39.0",
103
- "prettier": "3.0.3"
103
+ "prettier": "3.1.0"
104
104
  }
105
105
  }
@@ -28,11 +28,11 @@ export const createUrlInfoTransformer = ({
28
28
  return sourcemapsSources(source, urlInfo);
29
29
  }
30
30
  : sourcemapsSources === "relative"
31
- ? (source, urlInfo) => {
32
- const sourceRelative = urlToRelativeUrl(source, urlInfo.url);
33
- return sourceRelative || ".";
34
- }
35
- : null;
31
+ ? (source, urlInfo) => {
32
+ const sourceRelative = urlToRelativeUrl(source, urlInfo.url);
33
+ return sourceRelative || ".";
34
+ }
35
+ : null;
36
36
 
37
37
  const normalizeSourcemap = (urlInfo, sourcemap) => {
38
38
  let { sources } = sourcemap;