Bump eslint-plugin-import to avoid vulnerability in dependency

This commit is contained in:
Henry Mercer 2023-01-18 20:26:59 +00:00
parent 10695e6a20
commit ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions

View file

@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.1.2](https://github.com/inspect-js/is-boolean-object/compare/v1.1.1...v1.1.2) - 2021-08-05
### Commits
- [Refactor] use `has-tostringtag` to behave correctly in the presence of symbol shams [`6d319ea`](https://github.com/inspect-js/is-boolean-object/commit/6d319eac0ba237f7ba440a1fc4b32d007b1b0cf3)
- [Dev Deps] update `auto-changelog`, `core-js`, `eslint`, `tape` [`4f85bef`](https://github.com/inspect-js/is-boolean-object/commit/4f85bef244f8fdd9ab99db0afe0b8fa00c853709)
## [v1.1.1](https://github.com/inspect-js/is-boolean-object/compare/v1.1.0...v1.1.1) - 2021-05-07
### Commits

View file

@ -13,7 +13,7 @@ var tryBooleanObject = function booleanBrandCheck(value) {
}
};
var boolClass = '[object Boolean]';
var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag;
var hasToStringTag = require('has-tostringtag/shams')();
module.exports = function isBoolean(value) {
if (typeof value === 'boolean') {

View file

@ -1,6 +1,6 @@
{
"name": "is-boolean-object",
"version": "1.1.1",
"version": "1.1.2",
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
@ -38,21 +38,22 @@
"is-boolean"
],
"dependencies": {
"call-bind": "^1.0.2"
"call-bind": "^1.0.2",
"has-tostringtag": "^1.0.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"aud": "^1.1.5",
"auto-changelog": "^2.2.1",
"core-js": "^3.12.0",
"auto-changelog": "^2.3.0",
"core-js": "^3.16.0",
"eclint": "^2.8.1",
"eslint": "^7.25.0",
"eslint": "^7.32.0",
"foreach": "^2.0.5",
"indexof": "^0.0.1",
"is": "^3.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.2.2"
"tape": "^5.3.0"
},
"testling": {
"files": "test.js",

View file

@ -2,7 +2,7 @@
var test = require('tape');
var isBoolean = require('../');
var hasSymbols = require('has-symbols/shams')();
var hasToStringTag = require('has-tostringtag/shams')();
test('not Booleans', function (t) {
t.test('primitives', function (st) {
@ -29,7 +29,7 @@ test('not Booleans', function (t) {
t.end();
});
test('@@toStringTag', { skip: !hasSymbols || !Symbol.toStringTag }, function (t) {
test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
var fakeBoolean = {
toString: function () { return 'true'; },
valueOf: function () { return true; }