Skip to content

Commit

Permalink
Switch from source-map to source-map-js
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Feb 8, 2021
1 parent f7233e8 commit 72577c0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/assets/Html.js
Expand Up @@ -4,7 +4,7 @@ const domspace = require('domspace');
const htmlMinifier = require('html-minifier');
const errors = require('../errors');
const Text = require('./Text');
const mozilla = require('source-map');
const mozilla = require('source-map-js');

function extractEncodingFromText(text) {
let metaCharset;
Expand Down
2 changes: 1 addition & 1 deletion lib/assets/JavaScript.js
Expand Up @@ -2,7 +2,7 @@ const escodegen = require('escodegen');
const estraverse = require('estraverse-fb');
const esquery = require('esquery');
const espurify = require('espurify');
const mozilla = require('source-map');
const mozilla = require('source-map-js');
const repeatString = require('repeat-string');
const errors = require('../errors');
const Text = require('./Text');
Expand Down
2 changes: 1 addition & 1 deletion lib/assets/SourceMap.js
@@ -1,6 +1,6 @@
const errors = require('../errors');
const Json = require('./Json');
const mozilla = require('source-map');
const mozilla = require('source-map-js');

class SourceMap extends Json {
get parseTree() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -52,7 +52,7 @@
"schemes": "^1.0.1",
"semver": "^7.0.0",
"sift": "^7.0.1",
"source-map": "~0.6.1",
"source-map-js": "^0.6.2",
"teepee": "^3.0.0",
"terser": "^5.0.0",
"urltools": "^0.4.1"
Expand Down
2 changes: 1 addition & 1 deletion test/assets/Html.js
@@ -1,6 +1,6 @@
const unexpected = require('../unexpected-with-plugins');
const AssetGraph = require('../../lib/AssetGraph');
const mozilla = require('source-map');
const mozilla = require('source-map-js');
const pathModule = require('path');

function createAsset(inputHtml) {
Expand Down

0 comments on commit 72577c0

Please sign in to comment.