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

This reverts commit d5bcc08bf7134db165af91a88a61c8c6bfe39144.

* 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 10 deletions

View File

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

View File

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

View File

@ -2,7 +2,7 @@
(function () { (function () {
return 42; return 42;
}); }); // some comments
"use strict"; "use strict";
arr.map(function (x) { 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);"]}

View File

@ -58,7 +58,7 @@
"lodash": "^4.17.19", "lodash": "^4.17.19",
"resolve": "^1.3.2", "resolve": "^1.3.2",
"semver": "^5.4.1", "semver": "^5.4.1",
"source-map": "^0.6.1" "source-map": "^0.5.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/helper-transform-fixture-test-runner": "workspace:^7.11.4" "@babel/helper-transform-fixture-test-runner": "workspace:^7.11.4"

View File

@ -20,7 +20,7 @@
"dependencies": { "dependencies": {
"@babel/types": "workspace:^7.11.5", "@babel/types": "workspace:^7.11.5",
"jsesc": "^2.5.1", "jsesc": "^2.5.1",
"source-map": "^0.6.1" "source-map": "^0.5.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/helper-fixtures": "workspace:^7.10.5", "@babel/helper-fixtures": "workspace:^7.10.5",

View File

@ -25,6 +25,6 @@
"lodash": "^4.17.19", "lodash": "^4.17.19",
"quick-lru": "5.1.0", "quick-lru": "5.1.0",
"resolve": "^1.3.2", "resolve": "^1.3.2",
"source-map": "^0.6.1" "source-map": "^0.5.0"
} }
} }

View File

@ -45,7 +45,7 @@ __metadata:
make-dir: ^2.1.0 make-dir: ^2.1.0
rimraf: ^3.0.0 rimraf: ^3.0.0
slash: ^2.0.0 slash: ^2.0.0
source-map: ^0.6.1 source-map: ^0.5.0
peerDependencies: peerDependencies:
"@babel/core": ^7.0.0-0 "@babel/core": ^7.0.0-0
dependenciesMeta: dependenciesMeta:
@ -145,7 +145,7 @@ __metadata:
lodash: ^4.17.19 lodash: ^4.17.19
resolve: ^1.3.2 resolve: ^1.3.2
semver: ^5.4.1 semver: ^5.4.1
source-map: ^0.6.1 source-map: ^0.5.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -261,7 +261,7 @@ __metadata:
"@babel/parser": "workspace:^7.11.5" "@babel/parser": "workspace:^7.11.5"
"@babel/types": "workspace:^7.11.5" "@babel/types": "workspace:^7.11.5"
jsesc: ^2.5.1 jsesc: ^2.5.1
source-map: ^0.6.1 source-map: ^0.5.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -777,7 +777,7 @@ __metadata:
lodash: ^4.17.19 lodash: ^4.17.19
quick-lru: 5.1.0 quick-lru: 5.1.0
resolve: ^1.3.2 resolve: ^1.3.2
source-map: ^0.6.1 source-map: ^0.5.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft