Skip to content

🚨 [security] Update webpack 5.91.0 → 5.94.0 (minor) #1668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 31 additions & 45 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -213,7 +213,7 @@
"ts-loader": "^9.5.1",
"typescript": "^5.4.3",
"url-loader": "^4.1.1",
"webpack": "^5.91.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^5.10.0",

Unchanged files with check annotations Beta

readonly bottom: number;
readonly left: number;
toJSON: () => any;

Check warning on line 92 in src/ResizeObserver.d.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
}
private onRequest = async (
requestId: string,
action: string,
...args: any[]

Check warning on line 64 in src/actions/ActionReceiver.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
) => {
if (action in this.handlers) {
try {
import { Transport } from './transports';
interface IRequestHandle {
promise: Promise<any>;

Check warning on line 24 in src/actions/ActionSender.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
resolve: (args: any[]) => void;

Check warning on line 25 in src/actions/ActionSender.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
reject: (error: Error) => void;
error: Error;
}
this.addTransportListener();
}
public async send(action: string, ...args: any[]) {

Check warning on line 51 in src/actions/ActionSender.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
const requestId = uuid();
if (this.transport) {
this.transport.sendRequest(requestId, action, ...args);
}
}
protected awaitResponse(requestId: string): Promise<any> {

Check warning on line 77 in src/actions/ActionSender.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
// Creating a placeholder, with values that should get overwritten before this method returns
const requestHandle: Partial<IRequestHandle> = {
// Creating the error here to provide a better stacktrace
}
}
private onResponse = (requestId: string, result: any, success: boolean) => {

Check warning on line 97 in src/actions/ActionSender.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
if (requestId in this.requests) {
const request = this.requests[requestId];
if (success) {
export * from './transports';
export interface IActionHandlers {
[name: string]: (...args: any[]) => Promise<any> | void;

Check warning on line 24 in src/actions/index.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type

Check warning on line 24 in src/actions/index.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
}
}
}
public sendRequest(requestId: string, action: string, ...args: any[]) {

Check warning on line 37 in src/actions/transports/LoopbackTransport.ts

GitHub Actions / Build, lint & test

Unexpected any. Specify a different type
LoopbackTransport.getInstance().emit(
Transport.REQUEST_EVENT_NAME,
requestId,