Skip to content

Commit 2a842ac

Browse files
committed
v2.13.3
1 parent 06accfa commit 2a842ac

File tree

4 files changed

+30
-11
lines changed

4 files changed

+30
-11
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<a name="2.13.3"></a>
2+
## [2.13.3](https://github.com/jshint/jshint/compare/2.13.2...v2.13.3) (2022-01-05)
3+
4+
### Bug Fixes
5+
6+
* Recognize ES2020 globals ([b1426f1](https://github.com/jshint/jshint/commit/b1426f1))
7+
18
<a name="2.13.2"></a>
29
## [2.13.2](https://github.com/jshint/jshint/compare/2.13.1...v2.13.2) (2021-12-27)
310

dist/jshint-rhino.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env rhino
22
var window = {};
3-
/*! 2.13.2 */
3+
/*! 2.13.3 */
44
var JSHINT;
55
if (typeof window === 'undefined') window = {};
66
(function () {
@@ -22388,7 +22388,8 @@ exports.val = {
2238822388
* Notable additions: optional catch bindings.
2238922389
* - `11` - To enable language features introduced by ECMAScript 11. Notable
2239022390
* additions: "export * as ns from 'module'", `import.meta`, the nullish
22391-
* coalescing operator, and optional chaining, and dynamic import.
22391+
* coalescing operator, the BigInt type, the `globalThis` binding,
22392+
* optional chaining, and dynamic import.
2239222393
*/
2239322394
esversion: 5
2239422395
};
@@ -24572,7 +24573,8 @@ exports.ecmaIdentifiers = {
2457224573
SharedArrayBuffer : false
2457324574
},
2457424575
11: {
24575-
BigInt : false
24576+
BigInt : false,
24577+
globalThis : false
2457624578
}
2457724579
};
2457824580

@@ -25028,8 +25030,8 @@ exports.node = {
2502825030
clearInterval : true,
2502925031
setImmediate : true, // v0.9.1+
2503025032
clearImmediate : true, // v0.9.1+
25031-
URL : true, // v6.13.0+
25032-
URLSearchParams: true // v6.13.0+
25033+
URL : true, // v10.0.0+
25034+
URLSearchParams: true // v10.0.0+
2503325035
};
2503425036

2503525037
exports.browserify = {
@@ -25562,6 +25564,10 @@ var JSHINT = (function() {
2556225564
combine(predefined, vars.ecmaIdentifiers[8]);
2556325565
}
2556425566

25567+
if (state.inES11()) {
25568+
combine(predefined, vars.ecmaIdentifiers[11]);
25569+
}
25570+
2556525571
/**
2556625572
* Use `in` to check for the presence of any explicitly-specified value for
2556725573
* `globalstrict` because both `true` and `false` should trigger an error.

dist/jshint.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 2.13.2 */
1+
/*! 2.13.3 */
22
var JSHINT;
33
if (typeof window === 'undefined') window = {};
44
(function () {
@@ -22386,7 +22386,8 @@ exports.val = {
2238622386
* Notable additions: optional catch bindings.
2238722387
* - `11` - To enable language features introduced by ECMAScript 11. Notable
2238822388
* additions: "export * as ns from 'module'", `import.meta`, the nullish
22389-
* coalescing operator, and optional chaining, and dynamic import.
22389+
* coalescing operator, the BigInt type, the `globalThis` binding,
22390+
* optional chaining, and dynamic import.
2239022391
*/
2239122392
esversion: 5
2239222393
};
@@ -24570,7 +24571,8 @@ exports.ecmaIdentifiers = {
2457024571
SharedArrayBuffer : false
2457124572
},
2457224573
11: {
24573-
BigInt : false
24574+
BigInt : false,
24575+
globalThis : false
2457424576
}
2457524577
};
2457624578

@@ -25026,8 +25028,8 @@ exports.node = {
2502625028
clearInterval : true,
2502725029
setImmediate : true, // v0.9.1+
2502825030
clearImmediate : true, // v0.9.1+
25029-
URL : true, // v6.13.0+
25030-
URLSearchParams: true // v6.13.0+
25031+
URL : true, // v10.0.0+
25032+
URLSearchParams: true // v10.0.0+
2503125033
};
2503225034

2503325035
exports.browserify = {
@@ -25560,6 +25562,10 @@ var JSHINT = (function() {
2556025562
combine(predefined, vars.ecmaIdentifiers[8]);
2556125563
}
2556225564

25565+
if (state.inES11()) {
25566+
combine(predefined, vars.ecmaIdentifiers[11]);
25567+
}
25568+
2556325569
/**
2556425570
* Use `in` to check for the presence of any explicitly-specified value for
2556525571
* `globalstrict` because both `true` and `false` should trigger an error.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jshint",
3-
"version": "2.13.2",
3+
"version": "2.13.3",
44
"homepage": "http://jshint.com/",
55
"description": "Static analysis tool for JavaScript",
66
"author": {

0 commit comments

Comments
 (0)