object-inspect
Advanced tools
Comparing version 1.12.3 to 1.13.0
@@ -8,2 +8,15 @@ # Changelog | ||
## [v1.13.0](https://github.com/inspect-js/object-inspect/compare/v1.12.3...v1.13.0) - 2023-10-14 | ||
### Commits | ||
- [New] add special handling for the global object [`431bab2`](https://github.com/inspect-js/object-inspect/commit/431bab21a490ee51d35395966a504501e8c685da) | ||
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`fd4f619`](https://github.com/inspect-js/object-inspect/commit/fd4f6193562b4b0e95dcf5c0201b4e8cbbc4f58d) | ||
- [Dev Deps] update `mock-property`, `tape` [`b453f6c`](https://github.com/inspect-js/object-inspect/commit/b453f6ceeebf8a1b738a1029754092e0367a4134) | ||
- [Dev Deps] update `error-cause` [`e8ffc57`](https://github.com/inspect-js/object-inspect/commit/e8ffc577d73b92bb6a4b00c44f14e3319e374888) | ||
- [Dev Deps] update `tape` [`054b8b9`](https://github.com/inspect-js/object-inspect/commit/054b8b9b98633284cf989e582450ebfbbe53503c) | ||
- [Dev Deps] temporarily remove `aud` due to breaking change in transitive deps [`2476845`](https://github.com/inspect-js/object-inspect/commit/2476845e0678dd290c541c81cd3dec8420782c52) | ||
- [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak` [`383fa5e`](https://github.com/inspect-js/object-inspect/commit/383fa5eebc0afd705cc778a4b49d8e26452e49a8) | ||
- [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6 [`68c244c`](https://github.com/inspect-js/object-inspect/commit/68c244c5174cdd877e5dcb8ee90aa3f44b2f25be) | ||
## [v1.12.3](https://github.com/inspect-js/object-inspect/compare/v1.12.2...v1.12.3) - 2023-01-12 | ||
@@ -10,0 +23,0 @@ |
@@ -242,2 +242,9 @@ var hasMap = typeof Map === 'function' && Map.prototype; | ||
} | ||
if (obj === global) { | ||
/* eslint-env browser */ | ||
if (typeof window !== 'undefined') { | ||
return '{ [object Window] }'; | ||
} | ||
return '{ [object global] }'; | ||
} | ||
if (!isDate(obj) && !isRegExp(obj)) { | ||
@@ -244,0 +251,0 @@ var ys = arrObjKeys(obj, inspect); |
{ | ||
"name": "object-inspect", | ||
"version": "1.12.3", | ||
"version": "1.13.0", | ||
"description": "string representations of objects in node and the browser", | ||
@@ -8,8 +8,7 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^21.0.1", | ||
"@ljharb/eslint-config": "^21.1.0", | ||
"@pkgjs/support": "^0.0.6", | ||
"aud": "^2.0.2", | ||
"auto-changelog": "^2.4.0", | ||
"core-js": "^2.6.12", | ||
"error-cause": "^1.0.5", | ||
"error-cause": "^1.0.6", | ||
"es-value-fixtures": "^1.4.2", | ||
@@ -19,6 +18,9 @@ "eslint": "=8.8.0", | ||
"functions-have-names": "^1.2.3", | ||
"glob": "=10.3.7", | ||
"globalthis": "^1.0.3", | ||
"has-tostringtag": "^1.0.0", | ||
"in-publish": "^2.0.1", | ||
"jackspeak": "=2.1.1", | ||
"make-arrow-function": "^1.2.0", | ||
"mock-property": "^1.0.0", | ||
"mock-property": "^1.0.2", | ||
"npmignore": "^0.3.0", | ||
@@ -28,3 +30,3 @@ "nyc": "^10.3.2", | ||
"string.prototype.repeat": "^1.0.0", | ||
"tape": "^5.6.1" | ||
"tape": "^5.7.1" | ||
}, | ||
@@ -31,0 +33,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96838
34
1493
21