fix compile (#9)
This commit is contained in:
@@ -133,10 +133,10 @@ describe('GitHub Actions Publish Workflow', () => {
|
||||
expect(steps[1].uses).toMatch(/actions\/setup-node@v/);
|
||||
});
|
||||
|
||||
test('Node.js should be configured with version 22', () => {
|
||||
test('Node.js should be configured with version 25.4.0', () => {
|
||||
const steps = getSteps();
|
||||
expect(steps[1].with).toBeDefined();
|
||||
expect(String(steps[1].with['node-version'])).toBe('22');
|
||||
expect(String(steps[1].with['node-version'])).toBe('25.4.0');
|
||||
});
|
||||
|
||||
test('Node.js should be configured with npm registry', () => {
|
||||
|
||||
Generated
+10
-10
@@ -536,21 +536,21 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/core": {
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.1.tgz",
|
||||
"integrity": "sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA==",
|
||||
"version": "1.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.2.tgz",
|
||||
"integrity": "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@emnapi/wasi-threads": "1.2.0",
|
||||
"@emnapi/wasi-threads": "1.2.1",
|
||||
"tslib": "^2.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/runtime": {
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.1.tgz",
|
||||
"integrity": "sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA==",
|
||||
"version": "1.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",
|
||||
"integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
@@ -559,9 +559,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/wasi-threads": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.0.tgz",
|
||||
"integrity": "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==",
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
|
||||
"integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
|
||||
+6
-2
@@ -23,8 +23,12 @@ export class AdapterOutputEvent extends Event {
|
||||
* Custom debug adapter event emitted when the debuggee stops execution.
|
||||
*/
|
||||
export class StoppedEvent extends Event {
|
||||
constructor(reason: string, threadId: number, allThreadsStopped: boolean) {
|
||||
super('stopped', { reason, threadId, allThreadsStopped });
|
||||
constructor(reason: string, threadId: number, allThreadsStopped: boolean, text?: string) {
|
||||
const body: any = { reason, threadId, allThreadsStopped };
|
||||
if (text !== undefined) {
|
||||
body.text = text;
|
||||
}
|
||||
super('stopped', body);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user