Skip to content

Commit

Permalink
v2.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike committed Jan 5, 2022
1 parent 06accfa commit 2a842ac
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
<a name="2.13.3"></a>
## [2.13.3](https://github.com/jshint/jshint/compare/2.13.2...v2.13.3) (2022-01-05)

### Bug Fixes

* Recognize ES2020 globals ([b1426f1](https://github.com/jshint/jshint/commit/b1426f1))

<a name="2.13.2"></a>
## [2.13.2](https://github.com/jshint/jshint/compare/2.13.1...v2.13.2) (2021-12-27)

Expand Down
16 changes: 11 additions & 5 deletions dist/jshint-rhino.js
@@ -1,6 +1,6 @@
#!/usr/bin/env rhino
var window = {};
/*! 2.13.2 */
/*! 2.13.3 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -22388,7 +22388,8 @@ exports.val = {
* Notable additions: optional catch bindings.
* - `11` - To enable language features introduced by ECMAScript 11. Notable
* additions: "export * as ns from 'module'", `import.meta`, the nullish
* coalescing operator, and optional chaining, and dynamic import.
* coalescing operator, the BigInt type, the `globalThis` binding,
* optional chaining, and dynamic import.
*/
esversion: 5
};
Expand Down Expand Up @@ -24572,7 +24573,8 @@ exports.ecmaIdentifiers = {
SharedArrayBuffer : false
},
11: {
BigInt : false
BigInt : false,
globalThis : false
}
};

Expand Down Expand Up @@ -25028,8 +25030,8 @@ exports.node = {
clearInterval : true,
setImmediate : true, // v0.9.1+
clearImmediate : true, // v0.9.1+
URL : true, // v6.13.0+
URLSearchParams: true // v6.13.0+
URL : true, // v10.0.0+
URLSearchParams: true // v10.0.0+
};

exports.browserify = {
Expand Down Expand Up @@ -25562,6 +25564,10 @@ var JSHINT = (function() {
combine(predefined, vars.ecmaIdentifiers[8]);
}

if (state.inES11()) {
combine(predefined, vars.ecmaIdentifiers[11]);
}

/**
* Use `in` to check for the presence of any explicitly-specified value for
* `globalstrict` because both `true` and `false` should trigger an error.
Expand Down
16 changes: 11 additions & 5 deletions dist/jshint.js
@@ -1,4 +1,4 @@
/*! 2.13.2 */
/*! 2.13.3 */
var JSHINT;
if (typeof window === 'undefined') window = {};
(function () {
Expand Down Expand Up @@ -22386,7 +22386,8 @@ exports.val = {
* Notable additions: optional catch bindings.
* - `11` - To enable language features introduced by ECMAScript 11. Notable
* additions: "export * as ns from 'module'", `import.meta`, the nullish
* coalescing operator, and optional chaining, and dynamic import.
* coalescing operator, the BigInt type, the `globalThis` binding,
* optional chaining, and dynamic import.
*/
esversion: 5
};
Expand Down Expand Up @@ -24570,7 +24571,8 @@ exports.ecmaIdentifiers = {
SharedArrayBuffer : false
},
11: {
BigInt : false
BigInt : false,
globalThis : false
}
};

Expand Down Expand Up @@ -25026,8 +25028,8 @@ exports.node = {
clearInterval : true,
setImmediate : true, // v0.9.1+
clearImmediate : true, // v0.9.1+
URL : true, // v6.13.0+
URLSearchParams: true // v6.13.0+
URL : true, // v10.0.0+
URLSearchParams: true // v10.0.0+
};

exports.browserify = {
Expand Down Expand Up @@ -25560,6 +25562,10 @@ var JSHINT = (function() {
combine(predefined, vars.ecmaIdentifiers[8]);
}

if (state.inES11()) {
combine(predefined, vars.ecmaIdentifiers[11]);
}

/**
* Use `in` to check for the presence of any explicitly-specified value for
* `globalstrict` because both `true` and `false` should trigger an error.
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jshint",
"version": "2.13.2",
"version": "2.13.3",
"homepage": "http://jshint.com/",
"description": "Static analysis tool for JavaScript",
"author": {
Expand Down

0 comments on commit 2a842ac

Please sign in to comment.