@jsenv/core 29.1.3 → 29.1.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/dist/main.js CHANGED
@@ -9175,7 +9175,7 @@ const createTransformUrlContentError = ({
9175
9175
  transformError.traceMessage = reference.trace.message;
9176
9176
 
9177
9177
  if (code === "PARSE_ERROR") {
9178
- transformError.reason = error.message;
9178
+ transformError.reason = reason;
9179
9179
 
9180
9180
  if (urlInfo.isInline) {
9181
9181
  transformError.traceLine = reference.trace.line + error.line - 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "29.1.3",
3
+ "version": "29.1.4",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -126,7 +126,7 @@ export const createTransformUrlContentError = ({
126
126
  transformError.traceColumn = reference.trace.column
127
127
  transformError.traceMessage = reference.trace.message
128
128
  if (code === "PARSE_ERROR") {
129
- transformError.reason = error.message
129
+ transformError.reason = reason
130
130
  if (urlInfo.isInline) {
131
131
  transformError.traceLine = reference.trace.line + error.line - 1
132
132
  transformError.traceColumn = reference.trace.column + error.column