mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
1054
package-lock.json
generated
1054
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -36,7 +36,7 @@
|
||||
"chart.js": "^4.4.1",
|
||||
"clipboard": "^2.0.11",
|
||||
"compression": "^1.7.4",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"copy-webpack-plugin": "^12.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint-plugin-header": "^3.1.1",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
@@ -144,9 +144,9 @@
|
||||
"nock": "^13.4.0",
|
||||
"prettier": "^3.1.1",
|
||||
"sass": "^1.69.7",
|
||||
"sass-loader": "^13.3.3",
|
||||
"sass-loader": "^14.0.0",
|
||||
"sinon": "^17.0.1",
|
||||
"source-map-loader": "^4.0.2",
|
||||
"source-map-loader": "^5.0.0",
|
||||
"supervisor": "^0.12.0",
|
||||
"terser-webpack-plugin": "^5.3.10",
|
||||
"ts-loader": "^9.5.1",
|
||||
|
||||
@@ -65,29 +65,28 @@ function provide(
|
||||
|
||||
if (item) {
|
||||
return {
|
||||
actions: item.fixes.filter(
|
||||
f =>
|
||||
f.diagnostics?.some(d =>
|
||||
context.markers.some(m => {
|
||||
const diagnostic = _.pick(
|
||||
d,
|
||||
'message',
|
||||
'startLineNumber',
|
||||
'startColumn',
|
||||
'endLineNumber',
|
||||
'endColumn',
|
||||
);
|
||||
const marker = _.pick(
|
||||
m,
|
||||
'message',
|
||||
'startLineNumber',
|
||||
'startColumn',
|
||||
'endLineNumber',
|
||||
'endColumn',
|
||||
);
|
||||
return _.isEqual(marker, diagnostic);
|
||||
}),
|
||||
),
|
||||
actions: item.fixes.filter(f =>
|
||||
f.diagnostics?.some(d =>
|
||||
context.markers.some(m => {
|
||||
const diagnostic = _.pick(
|
||||
d,
|
||||
'message',
|
||||
'startLineNumber',
|
||||
'startColumn',
|
||||
'endLineNumber',
|
||||
'endColumn',
|
||||
);
|
||||
const marker = _.pick(
|
||||
m,
|
||||
'message',
|
||||
'startLineNumber',
|
||||
'startColumn',
|
||||
'endLineNumber',
|
||||
'endColumn',
|
||||
);
|
||||
return _.isEqual(marker, diagnostic);
|
||||
}),
|
||||
),
|
||||
),
|
||||
dispose: function () {},
|
||||
};
|
||||
|
||||
@@ -56,7 +56,7 @@ const hasGit = fs.existsSync(path.resolve(__dirname, '.git'));
|
||||
// Hack alert: due to a variety of issues, sometimes we need to change
|
||||
// the name here. Mostly it's things like webpack changes that affect
|
||||
// how minification is done, even though that's supposed not to matter.
|
||||
const webpackJsHack = '.v41.';
|
||||
const webpackJsHack = '.v42.';
|
||||
const plugins: Webpack.WebpackPluginInstance[] = [
|
||||
new MonacoEditorWebpackPlugin({
|
||||
languages: [
|
||||
|
||||
Reference in New Issue
Block a user