Skip to content

Commit

Permalink
Revert "Further dependency cleanup"
Browse files Browse the repository at this point in the history
This reverts commit 1725ff4.
  • Loading branch information
timvisee committed Sep 4, 2022
1 parent 08f5974 commit 1da317b
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* global DEFAULTS LIMITS WEB_UI PREFS */
import 'core-js';
import 'fast-text-encoding'; // MS Edge support
import 'intl-pluralrules';
import choo from 'choo';
import nanotiming from 'nanotiming';
Expand Down
135 changes: 135 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,15 @@
"crc": "^3.8.0",
"cross-env": "^6.0.3",
"css-loader": "^5.2.7",
"css-mqpacker": "^7.0.0",
"cssnano": "^5.1.12",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-security": "^1.5.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"fast-text-encoding": "^1.0.3",
"file-loader": "^6.2.0",
"git-rev-sync": "^3.0.2",
"http_ece": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function() {
const files = fs
.readdirSync(path.join(__dirname, 'tests'))
.filter(p => /\.js$/.test(p));
const code = files.map(kv).join(';\n');
const code = "require('fast-text-encoding');\n" + files.map(kv).join(';\n');
return {
code,
dependencies: files.map(f => require.resolve('./tests/' + f)),
Expand Down

0 comments on commit 1da317b

Please sign in to comment.