From 2ac07d8a5ad7808bbafae106f4dae6cdd83284e6 Mon Sep 17 00:00:00 2001 From: Aleksandr Oleynikov Date: Tue, 6 Dec 2016 01:38:44 +0300 Subject: [PATCH] Upgrade: Update globals dependency to 9.14.0 (#7683) --- package.json | 2 +- tests/lib/rules/no-undef.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 04d963dbf66..6ff27848553 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "esutils": "^2.0.2", "file-entry-cache": "^2.0.0", "glob": "^7.0.3", - "globals": "^9.2.0", + "globals": "^9.14.0", "ignore": "^3.2.0", "imurmurhash": "^0.1.4", "inquirer": "^0.12.0", diff --git a/tests/lib/rules/no-undef.js b/tests/lib/rules/no-undef.js index 014bd5549d0..b1cea2786a4 100644 --- a/tests/lib/rules/no-undef.js +++ b/tests/lib/rules/no-undef.js @@ -55,6 +55,12 @@ ruleTester.run("no-undef", rule, { { code: "var a; ({b: a}) = {};", parserOptions: { ecmaVersion: 6 } }, { code: "var obj; [obj.a, obj.b] = [0, 1];", parserOptions: { ecmaVersion: 6 } }, { code: "URLSearchParams;", env: { browser: true } }, + { code: "Intl;", env: { browser: true } }, + { code: "IntersectionObserver;", env: { browser: true } }, + { code: "Credential;", env: { browser: true } }, + { code: "requestIdleCallback;", env: { browser: true } }, + { code: "customElements;", env: { browser: true } }, + { code: "PromiseRejectionEvent;", env: { browser: true } }, // Notifications of readonly are removed: https://github.com/eslint/eslint/issues/4504 { code: "/*global b:false*/ function f() { b = 1; }" },