Skip to content
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

[v16.x backport] tools: update babel-eslint-parser to 7.16.0 #41770

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/internal/assert/calltracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const noop = FunctionPrototype;

class CallTracker {

#callChecks = new SafeSet()
#callChecks = new SafeSet();

calls(fn, exact = 1) {
if (process._exiting)
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/fs/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {

this.emit('close');
return this[kClosePromise];
}
};

/**
* @typedef {import('./streams').ReadStream
Expand Down
4 changes: 2 additions & 2 deletions lib/internal/source_map/source_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class SourceMap {
this.#parseMap(this.#payload, 0, 0);
}
ArrayPrototypeSort(this.#mappings, compareSourceMapEntry);
}
};

/**
* @param {Array.<SourceMapV3.Section>} sections
Expand All @@ -174,7 +174,7 @@ class SourceMap {
const section = sections[i];
this.#parseMap(section.map, section.offset.line, section.offset.column);
}
}
};

/**
* @param {number} lineNumber in compiled resource
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/watchdog.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SigintWatchdog extends TraceSigintWatchdog {
super.start();
this._effective = true;
}
}
};

start() {
if (this._started) {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-http-agent-domain-reused-gc.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ server.emit('connection', serverSide);

// HTTP Agent that only returns the fake connection.
class TestAgent extends http.Agent {
createConnection = common.mustCall(() => wrappedClientSide)
createConnection = common.mustCall(() => wrappedClientSide);
}
const agent = new TestAgent({ keepAlive: true, maxSockets: 1 });

Expand Down
12 changes: 6 additions & 6 deletions test/parallel/test-readline-tab-complete.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ common.skipIfDumbTerminal();
const width = getStringWidth(char) - 1;

class FakeInput extends EventEmitter {
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3;

write = common.mustCall((data) => {
output += data;
}, 6)
}, 6);

resume() {}
pause() {}
Expand Down Expand Up @@ -72,11 +72,11 @@ common.skipIfDumbTerminal();
{
let output = '';
class FakeInput extends EventEmitter {
columns = 80
columns = 80;

write = common.mustCall((data) => {
output += data;
}, 1)
}, 1);

resume() {}
pause() {}
Expand Down Expand Up @@ -104,11 +104,11 @@ common.skipIfDumbTerminal();
{
let output = '';
class FakeInput extends EventEmitter {
columns = 80
columns = 80;

write = common.mustCall((data) => {
output += data;
}, 9)
}, 9);

resume() {}
pause() {}
Expand Down
10 changes: 5 additions & 5 deletions test/parallel/test-stream-construct-async-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const assert = require('assert');

_write = common.mustCall((chunk, encoding, cb) => {
cb();
})
});

_read() {}
}
Expand All @@ -91,7 +91,7 @@ const assert = require('assert');

_write = common.mustCall((chunk, encoding, cb) => {
cb();
})
});

_read() {}
}
Expand All @@ -107,7 +107,7 @@ const assert = require('assert');
class Foo extends Writable {
_write = common.mustCall((chunk, encoding, cb) => {
cb();
})
});

async _final() {
// eslint-disable-next-line no-restricted-syntax
Expand All @@ -124,7 +124,7 @@ const assert = require('assert');
class Foo extends Writable {
_write = common.mustCall((chunk, encoding, cb) => {
cb();
})
});

async _final(callback) {
// eslint-disable-next-line no-restricted-syntax
Expand All @@ -142,7 +142,7 @@ const assert = require('assert');
class Foo extends Writable {
_write = common.mustCall((chunk, encoding, cb) => {
cb();
})
});

async _final() {
// eslint-disable-next-line no-restricted-syntax
Expand Down
6 changes: 3 additions & 3 deletions tools/node_modules/@babel/core/lib/config/caching.js

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

2 changes: 1 addition & 1 deletion tools/node_modules/@babel/core/lib/config/config-chain.js

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

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

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

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

28 changes: 14 additions & 14 deletions tools/node_modules/@babel/core/lib/config/files/index.js

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

4 changes: 2 additions & 2 deletions tools/node_modules/@babel/core/lib/config/files/plugins.js

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

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

3 changes: 2 additions & 1 deletion tools/node_modules/@babel/core/lib/config/index.js

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

2 changes: 1 addition & 1 deletion tools/node_modules/@babel/core/lib/config/item.js

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

2 changes: 1 addition & 1 deletion tools/node_modules/@babel/core/lib/config/util.js

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

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

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

Loading