* Revert "chore: bump source-map to 0.6.1 (#12014)"

This reverts commit d5bcc08bf7.

* test: add regression tests for #12025
This commit is contained in:
Huáng Jùnliàng
2020-09-01 15:42:01 -04:00
committed by GitHub
parent cb3a9515b8
commit a91fdeb1f6
8 changed files with 12 additions and 10 deletions

View File

@@ -30,7 +30,7 @@
"lodash": "^4.17.19",
"make-dir": "^2.1.0",
"slash": "^2.0.0",
"source-map": "^0.6.1"
"source-map": "^0.5.0"
},
"optionalDependencies": {
"chokidar": "^2.1.8"

View File

@@ -1 +1,3 @@
(() => 42)
// some comments

View File

@@ -2,7 +2,7 @@
(function () {
return 42;
});
}); // some comments
"use strict";
arr.map(function (x) {

View File

@@ -1 +1 @@
{"version":3,"sources":["script.js","script2.js"],"names":[],"mappings":";;AAAA,CAAC;AAAA,SAAM,EAAN;AAAA,CAAD;;;ACAA,GAAG,CAAC,GAAJ,CAAQ,UAAA,CAAC;AAAA,SAAI,CAAC,GAAG,UAAR;AAAA,CAAT","file":"script3.js","sourcesContent":["(() => 42)","arr.map(x => x * MULTIPLIER);"]}
{"version":3,"sources":["script.js","script2.js"],"names":[],"mappings":";;AAAA,CAAC;AAAA,SAAM,EAAN;AAAA,CAAD,E,CAEA;;;ACFA,GAAG,CAAC,GAAJ,CAAQ,UAAA,CAAC;AAAA,SAAI,CAAC,GAAG,UAAR;AAAA,CAAT","file":"script3.js","sourcesContent":["(() => 42)\n\n// some comments","arr.map(x => x * MULTIPLIER);"]}