Skip to content

Commit 65abe6a

Browse files
authored
Remove unused sourcemapper.js tools. NFC (emscripten-core#14218)
The last use of this tools was removed when the emit_js_source_maps function was removed from emcc.py in emscripten-core#13599. The source-map npm module is now only used by the sourcemap2json.js test script so moved to devDependencies.
1 parent d72473f commit 65abe6a

File tree

5 files changed

+11
-215
lines changed

5 files changed

+11
-215
lines changed

package-lock.json

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"es-check": "^5.2.3",
55
"eslint": "^7.26.0",
66
"eslint-config-google": "^0.14.0",
7+
"source-map": "0.5.6",
78
"ws": "~0.4.28"
89
},
910
"dependencies": {
1011
"acorn": "7.3.1",
1112
"google-closure-compiler": "20200920.0.0",
1213
"html-minifier-terser": "5.0.2",
13-
"source-map": "0.5.6",
1414
"wasm2c": "1.0.0"
1515
},
1616
"scripts": {
File renamed without changes.

tests/test_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7125,7 +7125,7 @@ def test_source_map(self, args):
71257125
# needs to containt valid source text.
71267126
self.assertTextDataIdentical(src, data['sourcesContent'][0])
71277127
mappings = json.loads(self.run_js(
7128-
path_from_root('tools/source-maps/sourcemap2json.js'),
7128+
path_from_root('tests/sourcemap2json.js'),
71297129
args=[map_filename]))
71307130
seen_lines = set()
71317131
for m in mappings:

tools/source-maps/sourcemapper.js

-212
This file was deleted.

0 commit comments

Comments
 (0)