summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js
diff options
context:
space:
mode:
authorzhangyongsheng <zhangyongsheng@youzan.com>2020-12-19 22:00:34 +0800
committerMichaƫl Zasso <targos@protonmail.com>2020-12-21 14:24:53 +0100
commiteefb424c6060582714bcef09a12fc7a74c35384a (patch)
treee8e6a0ce6657866e37baad836a3c1d0da9ef71d1 /tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js
parent775ce40c99a611577f91ec901a57dd18fa6a58e6 (diff)
downloadios-node-v8-eefb424c6060582714bcef09a12fc7a74c35384a.tar.gz
ios-node-v8-eefb424c6060582714bcef09a12fc7a74c35384a.tar.bz2
ios-node-v8-eefb424c6060582714bcef09a12fc7a74c35384a.zip
tools: update ESLint to 7.16.0
PR-URL: https://github.com/nodejs/node/pull/36579 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js')
-rw-r--r--tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js b/tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js
index ef01386bfe..d7484a5919 100644
--- a/tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js
+++ b/tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js
@@ -1272,7 +1272,7 @@ function readAlias(state) {
alias = state.input.slice(_position, state.position);
- if (!state.anchorMap.hasOwnProperty(alias)) {
+ if (!_hasOwnProperty.call(state.anchorMap, alias)) {
throwError(state, 'unidentified alias "' + alias + '"');
}