jscrambler-metro-plugin 8.4.3 → 8.4.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/sourceMaps.js +5 -1
- package/package.json +1 -1
package/lib/sourceMaps.js
CHANGED
@@ -105,7 +105,11 @@ module.exports = async function generateSourceMaps(payload) {
|
|
105
105
|
const allGeneratedPositionsFor = ofuscatedSourceMapConsumers[fileNamesIndex].allGeneratedPositionsFor({
|
106
106
|
source: normalizePath,
|
107
107
|
line: mapping.generatedLine - lineStart + 1 /* avoid line=0 */,
|
108
|
-
column:
|
108
|
+
column:
|
109
|
+
mapping.generatedColumn -
|
110
|
+
(mapping.generatedLine === lineStart
|
111
|
+
? columnStart /* column start should be applied only to the first line */
|
112
|
+
: 0),
|
109
113
|
});
|
110
114
|
|
111
115
|
if (allGeneratedPositionsFor.length === 0) {
|