Skip to content

Commit

Permalink
Upgrade: Update globals dependency to 9.14.0 (#7683)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-oleynikov authored and alberto committed Dec 5, 2016
1 parent 90a5d29 commit 2ac07d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions tests/lib/rules/no-undef.js
Expand Up @@ -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; }" },
Expand Down

0 comments on commit 2ac07d8

Please sign in to comment.