@dcloudio/uni-stacktracey 3.0.0-alpha-4000620240320001 → 3.0.0-alpha-4000520240320001
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/uni-stacktracey.cjs.js +10 -10
- package/dist/uni-stacktracey.es.js +10 -10
- package/package.json +1 -1
|
@@ -17,9 +17,7 @@ typeof window !== 'undefined' &&
|
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
window.window === window &&
|
|
19
19
|
/* eslint-disable */
|
|
20
|
-
window.navigator,
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
nodeRequire = isBrowser ? null : module.require, // to prevent bundlers from expanding the require call
|
|
20
|
+
window.navigator, nodeRequire = isBrowser ? null : module.require, // to prevent bundlers from expanding the require call
|
|
23
21
|
lastOf = (x) => x[x.length - 1], nixSlashes$1 = (x) => x.replace(/\\/g, '/'), pathRoot = isBrowser ? window.location.href : nixSlashes$1(process.cwd()) + '/';
|
|
24
22
|
/* ------------------------------------------------------------------------ */
|
|
25
23
|
class StackTracey {
|
|
@@ -96,7 +94,7 @@ class StackTracey {
|
|
|
96
94
|
result = externalDomainMatch ? externalDomainMatch[3] : result;
|
|
97
95
|
// if (!isBrowser) result = nodeRequire!('path').relative(pathRoot, result)
|
|
98
96
|
return [
|
|
99
|
-
nixSlashes$1(result).replace(/^.*\:\/\/?\/?/, ''),
|
|
97
|
+
nixSlashes$1(result).replace(/^.*\:\/\/?\/?/, ''),
|
|
100
98
|
externalDomain,
|
|
101
99
|
];
|
|
102
100
|
}
|
|
@@ -767,7 +765,7 @@ var util$1 = {};
|
|
|
767
765
|
|
|
768
766
|
return normalize(sourceURL)
|
|
769
767
|
}
|
|
770
|
-
exports.computeSourceURL = computeSourceURL;
|
|
768
|
+
exports.computeSourceURL = computeSourceURL;
|
|
771
769
|
} (util$1));
|
|
772
770
|
|
|
773
771
|
var arraySet = {};
|
|
@@ -992,10 +990,14 @@ var binarySearch$1 = {};
|
|
|
992
990
|
}
|
|
993
991
|
|
|
994
992
|
return index
|
|
995
|
-
};
|
|
993
|
+
};
|
|
996
994
|
} (binarySearch$1));
|
|
997
995
|
|
|
998
|
-
var
|
|
996
|
+
var readWasmExports = {};
|
|
997
|
+
var readWasm$2 = {
|
|
998
|
+
get exports(){ return readWasmExports; },
|
|
999
|
+
set exports(v){ readWasmExports = v; },
|
|
1000
|
+
};
|
|
999
1001
|
|
|
1000
1002
|
/* Determine browser vs node environment by testing the default top level context. Solution courtesy of: https://stackoverflow.com/questions/17575790/environment-detection-node-js-or-browser */
|
|
1001
1003
|
{
|
|
@@ -1021,15 +1023,13 @@ var readWasm$2 = {exports: {}};
|
|
|
1021
1023
|
})
|
|
1022
1024
|
};
|
|
1023
1025
|
|
|
1024
|
-
|
|
1026
|
+
readWasmExports.initialize = (_) => {
|
|
1025
1027
|
console.debug(
|
|
1026
1028
|
'SourceMapConsumer.initialize is a no-op when running in node.js'
|
|
1027
1029
|
);
|
|
1028
1030
|
};
|
|
1029
1031
|
}
|
|
1030
1032
|
|
|
1031
|
-
var readWasmExports = readWasm$2.exports;
|
|
1032
|
-
|
|
1033
1033
|
const readWasm$1 = readWasmExports;
|
|
1034
1034
|
|
|
1035
1035
|
/**
|
|
@@ -9,9 +9,7 @@ typeof window !== 'undefined' &&
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
window.window === window &&
|
|
11
11
|
/* eslint-disable */
|
|
12
|
-
window.navigator,
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
nodeRequire = isBrowser ? null : module.require, // to prevent bundlers from expanding the require call
|
|
12
|
+
window.navigator, nodeRequire = isBrowser ? null : module.require, // to prevent bundlers from expanding the require call
|
|
15
13
|
lastOf = (x) => x[x.length - 1], nixSlashes$1 = (x) => x.replace(/\\/g, '/'), pathRoot = isBrowser ? window.location.href : nixSlashes$1(process.cwd()) + '/';
|
|
16
14
|
/* ------------------------------------------------------------------------ */
|
|
17
15
|
class StackTracey {
|
|
@@ -88,7 +86,7 @@ class StackTracey {
|
|
|
88
86
|
result = externalDomainMatch ? externalDomainMatch[3] : result;
|
|
89
87
|
// if (!isBrowser) result = nodeRequire!('path').relative(pathRoot, result)
|
|
90
88
|
return [
|
|
91
|
-
nixSlashes$1(result).replace(/^.*\:\/\/?\/?/, ''),
|
|
89
|
+
nixSlashes$1(result).replace(/^.*\:\/\/?\/?/, ''),
|
|
92
90
|
externalDomain,
|
|
93
91
|
];
|
|
94
92
|
}
|
|
@@ -759,7 +757,7 @@ var util$1 = {};
|
|
|
759
757
|
|
|
760
758
|
return normalize(sourceURL)
|
|
761
759
|
}
|
|
762
|
-
exports.computeSourceURL = computeSourceURL;
|
|
760
|
+
exports.computeSourceURL = computeSourceURL;
|
|
763
761
|
} (util$1));
|
|
764
762
|
|
|
765
763
|
var arraySet = {};
|
|
@@ -984,10 +982,14 @@ var binarySearch$1 = {};
|
|
|
984
982
|
}
|
|
985
983
|
|
|
986
984
|
return index
|
|
987
|
-
};
|
|
985
|
+
};
|
|
988
986
|
} (binarySearch$1));
|
|
989
987
|
|
|
990
|
-
var
|
|
988
|
+
var readWasmExports = {};
|
|
989
|
+
var readWasm$2 = {
|
|
990
|
+
get exports(){ return readWasmExports; },
|
|
991
|
+
set exports(v){ readWasmExports = v; },
|
|
992
|
+
};
|
|
991
993
|
|
|
992
994
|
/* Determine browser vs node environment by testing the default top level context. Solution courtesy of: https://stackoverflow.com/questions/17575790/environment-detection-node-js-or-browser */
|
|
993
995
|
{
|
|
@@ -1010,11 +1012,9 @@ var readWasm$2 = {exports: {}};
|
|
|
1010
1012
|
)
|
|
1011
1013
|
};
|
|
1012
1014
|
|
|
1013
|
-
|
|
1015
|
+
readWasmExports.initialize = (input) => (mappingsWasm = input);
|
|
1014
1016
|
}
|
|
1015
1017
|
|
|
1016
|
-
var readWasmExports = readWasm$2.exports;
|
|
1017
|
-
|
|
1018
1018
|
const readWasm$1 = readWasmExports;
|
|
1019
1019
|
|
|
1020
1020
|
/**
|
package/package.json
CHANGED