Changeset 79a0317 for imaps-frontend/node_modules/is-boolean-object
- Timestamp:
- 01/21/25 03:08:24 (3 days ago)
- Branches:
- main
- Parents:
- 0c6b92a
- Location:
- imaps-frontend/node_modules/is-boolean-object
- Files:
-
- 2 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/is-boolean-object/.eslintrc
r0c6b92a r79a0317 4 4 "extends": "@ljharb", 5 5 6 "rules": {7 "max-nested-callbacks": [2, 3]8 },9 10 6 "overrides": [ 11 {12 "files": "test/**",13 "rules": {14 "prefer-regex-literals": 0,15 },16 },17 7 { 18 8 "files": "test-corejs.js", -
imaps-frontend/node_modules/is-boolean-object/CHANGELOG.md
r0c6b92a r79a0317 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [v1.2.1](https://github.com/inspect-js/is-boolean-object/compare/v1.2.0...v1.2.1) - 2024-12-12 9 10 ### Commits 11 12 - [Refactor] use `call-bound` directly [`bb5aa26`](https://github.com/inspect-js/is-boolean-object/commit/bb5aa266f9da864b59f58f1f61d807268f00e227) 13 14 ## [v1.2.0](https://github.com/inspect-js/is-boolean-object/compare/v1.1.2...v1.2.0) - 2024-12-01 15 16 ### Commits 17 18 - [actions] reuse common workflows [`380fa25`](https://github.com/inspect-js/is-boolean-object/commit/380fa254d963699ba7e1b7bfaee3cd4c50142f1a) 19 - [meta] use `npmignore` to autogenerate an npmignore file [`befa203`](https://github.com/inspect-js/is-boolean-object/commit/befa203ffa0e94c70d5b35aae407ea93e0bbc117) 20 - [actions] split out node 10-20, and 20+ [`ca31663`](https://github.com/inspect-js/is-boolean-object/commit/ca31663ef1e4195ffeef125fb337c5e58bf878ca) 21 - [New] add types [`6d58609`](https://github.com/inspect-js/is-boolean-object/commit/6d58609867b97b832ff5e73941b4164f0a9a78ec) 22 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`06cc67e`](https://github.com/inspect-js/is-boolean-object/commit/06cc67eed7647dc9094611f03bd2802fb3695e37) 23 - [actions] update codecov uploader [`0722346`](https://github.com/inspect-js/is-boolean-object/commit/0722346b425c46e50864d76507c3d3a97678273b) 24 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`100acdf`](https://github.com/inspect-js/is-boolean-object/commit/100acdf9405f8496bdc71b7c383ab9e2119560af) 25 - [actions] update rebase action to use reusable workflow [`26333ff`](https://github.com/inspect-js/is-boolean-object/commit/26333ffc7bf92b7d751a68721cd7b27f8c59a250) 26 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `core-js`, `tape` [`fde97ee`](https://github.com/inspect-js/is-boolean-object/commit/fde97eed23a8caa95beaa6fc710adf9526b99155) 27 - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `core-js`, `npmignore`, `tape` [`f5ed3c8`](https://github.com/inspect-js/is-boolean-object/commit/f5ed3c8b871451b5dac2f11e16ba3e35e5fdf82e) 28 - [Deps] update `call-bind`, `has-tostringtag` [`61912e2`](https://github.com/inspect-js/is-boolean-object/commit/61912e211369447287c5cbba952303e1897440bf) 29 - [Tests] replace `aud` with `npm audit` [`c6a0db5`](https://github.com/inspect-js/is-boolean-object/commit/c6a0db56cb39bd99255589c13c2dc3dde922c755) 30 - [meta] better `eccheck` command [`3a59ec6`](https://github.com/inspect-js/is-boolean-object/commit/3a59ec6a40479dd4d742531042797e2b79acb898) 31 - [Dev Deps] add missing peer dep [`c0e10db`](https://github.com/inspect-js/is-boolean-object/commit/c0e10db845b7e7329e6347d9de5fe0190276433c) 7 32 8 33 ## [v1.1.2](https://github.com/inspect-js/is-boolean-object/compare/v1.1.1...v1.1.2) - 2021-08-05 -
imaps-frontend/node_modules/is-boolean-object/index.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 var $boolToStr = callBound('Boolean.prototype.toString'); 5 5 var $toString = callBound('Object.prototype.toString'); 6 6 7 /** @type {import('.')} */ 7 8 var tryBooleanObject = function booleanBrandCheck(value) { 8 9 try { … … 16 17 var hasToStringTag = require('has-tostringtag/shams')(); 17 18 19 /** @type {import('.')} */ 18 20 module.exports = function isBoolean(value) { 19 21 if (typeof value === 'boolean') { -
imaps-frontend/node_modules/is-boolean-object/package.json
r0c6b92a r79a0317 1 1 { 2 "name": "is-boolean-object", 3 "version": "1.1.2", 4 "author": "Jordan Harband <ljharb@gmail.com>", 5 "funding": { 6 "url": "https://github.com/sponsors/ljharb" 7 }, 8 "description": "Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", 9 "license": "MIT", 10 "main": "index.js", 11 "scripts": { 12 "prepublishOnly": "safe-publish-latest", 13 "prepublish": "not-in-publish || npm run prepublishOnly", 14 "pretest": "npm run lint", 15 "test": "npm run tests-only && npm run test:harmony && npm run test:corejs", 16 "tests-only": "nyc tape 'test/**/*.js'", 17 "test:harmony": "node --harmony --es-staging test", 18 "test:corejs": "nyc tape test-corejs.js", 19 "posttest": "aud --production", 20 "prelint": "npm run eccheck", 21 "lint": "eslint --ext=js,mjs .", 22 "eccheck": "eclint check $(git ls-files)", 23 "version": "auto-changelog && git add CHANGELOG.md", 24 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" 25 }, 26 "repository": { 27 "type": "git", 28 "url": "git://github.com/inspect-js/is-boolean-object.git" 29 }, 30 "keywords": [ 31 "Boolean", 32 "ES6", 33 "toStringTag", 34 "@@toStringTag", 35 "Boolean object", 36 "true", 37 "false", 38 "is-boolean" 39 ], 40 "dependencies": { 41 "call-bind": "^1.0.2", 42 "has-tostringtag": "^1.0.0" 43 }, 44 "devDependencies": { 45 "@ljharb/eslint-config": "^17.6.0", 46 "aud": "^1.1.5", 47 "auto-changelog": "^2.3.0", 48 "core-js": "^3.16.0", 49 "eclint": "^2.8.1", 50 "eslint": "^7.32.0", 51 "foreach": "^2.0.5", 52 "indexof": "^0.0.1", 53 "is": "^3.3.0", 54 "nyc": "^10.3.2", 55 "safe-publish-latest": "^1.1.4", 56 "tape": "^5.3.0" 57 }, 58 "testling": { 59 "files": "test.js", 60 "browsers": [ 61 "iexplore/6.0..latest", 62 "firefox/3.0..6.0", 63 "firefox/15.0..latest", 64 "firefox/nightly", 65 "chrome/4.0..10.0", 66 "chrome/20.0..latest", 67 "chrome/canary", 68 "opera/10.0..latest", 69 "opera/next", 70 "safari/4.0..latest", 71 "ipad/6.0..latest", 72 "iphone/6.0..latest", 73 "android-browser/4.2" 74 ] 75 }, 76 "engines": { 77 "node": ">= 0.4" 78 }, 79 "auto-changelog": { 80 "output": "CHANGELOG.md", 81 "template": "keepachangelog", 82 "unreleased": false, 83 "commitLimit": false, 84 "backfillLimit": false, 85 "hideCredit": true 86 } 2 "_from": "is-boolean-object@^1.2.1", 3 "_id": "is-boolean-object@1.2.1", 4 "_inBundle": false, 5 "_integrity": "sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==", 6 "_location": "/is-boolean-object", 7 "_phantomChildren": {}, 8 "_requested": { 9 "type": "range", 10 "registry": true, 11 "raw": "is-boolean-object@^1.2.1", 12 "name": "is-boolean-object", 13 "escapedName": "is-boolean-object", 14 "rawSpec": "^1.2.1", 15 "saveSpec": null, 16 "fetchSpec": "^1.2.1" 17 }, 18 "_requiredBy": [ 19 "/which-boxed-primitive" 20 ], 21 "_resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.1.tgz", 22 "_shasum": "c20d0c654be05da4fbc23c562635c019e93daf89", 23 "_spec": "is-boolean-object@^1.2.1", 24 "_where": "/home/stevetosak/Proekt/IMaps/imaps-frontend/node_modules/which-boxed-primitive", 25 "author": { 26 "name": "Jordan Harband", 27 "email": "ljharb@gmail.com" 28 }, 29 "auto-changelog": { 30 "output": "CHANGELOG.md", 31 "template": "keepachangelog", 32 "unreleased": false, 33 "commitLimit": false, 34 "backfillLimit": false, 35 "hideCredit": true 36 }, 37 "bugs": { 38 "url": "https://github.com/inspect-js/is-boolean-object/issues" 39 }, 40 "bundleDependencies": false, 41 "dependencies": { 42 "call-bound": "^1.0.2", 43 "has-tostringtag": "^1.0.2" 44 }, 45 "deprecated": false, 46 "description": "Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", 47 "devDependencies": { 48 "@arethetypeswrong/cli": "^0.17.0", 49 "@ljharb/eslint-config": "^21.1.1", 50 "@ljharb/tsconfig": "^0.2.0", 51 "@types/core-js": "^2.5.8", 52 "@types/tape": "^5.6.5", 53 "auto-changelog": "^2.5.0", 54 "core-js": "^3.39.0", 55 "eclint": "^2.8.1", 56 "encoding": "^0.1.13", 57 "eslint": "=8.8.0", 58 "in-publish": "^2.0.1", 59 "npmignore": "^0.3.1", 60 "nyc": "^10.3.2", 61 "safe-publish-latest": "^2.0.0", 62 "tape": "^5.9.0", 63 "typescript": "next" 64 }, 65 "engines": { 66 "node": ">= 0.4" 67 }, 68 "funding": { 69 "url": "https://github.com/sponsors/ljharb" 70 }, 71 "homepage": "https://github.com/inspect-js/is-boolean-object#readme", 72 "keywords": [ 73 "Boolean", 74 "ES6", 75 "toStringTag", 76 "@@toStringTag", 77 "Boolean object", 78 "true", 79 "false", 80 "is-boolean" 81 ], 82 "license": "MIT", 83 "main": "index.js", 84 "name": "is-boolean-object", 85 "publishConfig": { 86 "ignore": [ 87 ".github/workflows", 88 "test-corejs.js" 89 ] 90 }, 91 "repository": { 92 "type": "git", 93 "url": "git://github.com/inspect-js/is-boolean-object.git" 94 }, 95 "scripts": { 96 "lint": "eslint --ext=js,mjs .", 97 "postlint": "tsc -p . && attw -P", 98 "posttest": "npx npm@'>=10.2' audit --production", 99 "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", 100 "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", 101 "prepack": "npmignore --auto --commentLines=autogenerated", 102 "prepublish": "not-in-publish || npm run prepublishOnly", 103 "prepublishOnly": "safe-publish-latest", 104 "pretest": "npm run lint", 105 "test": "npm run tests-only && npm run test:harmony && npm run test:corejs", 106 "test:corejs": "nyc tape test-corejs.js", 107 "test:harmony": "node --harmony --es-staging test", 108 "tests-only": "nyc tape 'test/**/*.js'", 109 "version": "auto-changelog && git add CHANGELOG.md" 110 }, 111 "testling": { 112 "files": "test.js", 113 "browsers": [ 114 "iexplore/6.0..latest", 115 "firefox/3.0..6.0", 116 "firefox/15.0..latest", 117 "firefox/nightly", 118 "chrome/4.0..10.0", 119 "chrome/20.0..latest", 120 "chrome/canary", 121 "opera/10.0..latest", 122 "opera/next", 123 "safari/4.0..latest", 124 "ipad/6.0..latest", 125 "iphone/6.0..latest", 126 "android-browser/4.2" 127 ] 128 }, 129 "version": "1.2.1" 87 130 } -
imaps-frontend/node_modules/is-boolean-object/test/index.js
r0c6b92a r79a0317 7 7 test('not Booleans', function (t) { 8 8 t.test('primitives', function (st) { 9 // @ts-expect-error 9 10 st.notOk(isBoolean(), 'undefined is not Boolean'); 10 11 st.notOk(isBoolean(null), 'null is not Boolean'); … … 31 32 32 33 test('@@toStringTag', { skip: !hasToStringTag }, function (t) { 34 /** @type {{ toString(): unknown; valueOf(): unknown; [Symbol.toStringTag]?: string; }} */ 33 35 var fakeBoolean = { 34 36 toString: function () { return 'true'; },
Note:
See TracChangeset
for help on using the changeset viewer.