diff options
author | zhangyongsheng <zhangyongsheng@youzan.com> | 2020-12-19 22:00:34 +0800 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2020-12-21 14:24:53 +0100 |
commit | eefb424c6060582714bcef09a12fc7a74c35384a (patch) | |
tree | e8e6a0ce6657866e37baad836a3c1d0da9ef71d1 /tools/node_modules/eslint/node_modules/js-yaml/lib/js-yaml/loader.js | |
parent | 775ce40c99a611577f91ec901a57dd18fa6a58e6 (diff) | |
download | ios-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.js | 2 |
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 + '"'); } |