| 1 |
{ |
| 2 |
"_id": "is-set", |
| 3 |
"_rev": "7-eb4b26579e483d160c64296b987643d3", |
| 4 |
"name": "is-set", |
| 5 |
"description": "Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "is-set", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Easily check if a specified object is an ES6 Set", |
| 14 |
"keywords": [ |
| 15 |
"set", |
| 16 |
"sets", |
| 17 |
"typeof", |
| 18 |
"type checking", |
| 19 |
"check", |
| 20 |
"es6", |
| 21 |
"harmony" |
| 22 |
], |
| 23 |
"license": "MIT", |
| 24 |
"author": { |
| 25 |
"name": "Arthur Verschaeve", |
| 26 |
"email": "[email protected]" |
| 27 |
}, |
| 28 |
"files": [ |
| 29 |
"index.js" |
| 30 |
], |
| 31 |
"repository": { |
| 32 |
"type": "git", |
| 33 |
"url": "https://github.com/arthurvr/is-set" |
| 34 |
}, |
| 35 |
"scripts": { |
| 36 |
"test": "node test/test.js" |
| 37 |
}, |
| 38 |
"devDependencies": { |
| 39 |
"ava": "^0.0.4" |
| 40 |
}, |
| 41 |
"engines": { |
| 42 |
"node": ">=0.12.0" |
| 43 |
}, |
| 44 |
"gitHead": "116e901813c75fd25e724a88fa7b24ec7d8045d2", |
| 45 |
"bugs": { |
| 46 |
"url": "https://github.com/arthurvr/is-set/issues" |
| 47 |
}, |
| 48 |
"homepage": "https://github.com/arthurvr/is-set", |
| 49 |
"_id": "[email protected]", |
| 50 |
"_shasum": "da5f93e39f083bbb4efd2ebf9528aed87ae70028", |
| 51 |
"_from": ".", |
| 52 |
"_npmVersion": "2.4.1", |
| 53 |
"_nodeVersion": "1.1.0", |
| 54 |
"_npmUser": { |
| 55 |
"name": "arthurvr", |
| 56 |
"email": "[email protected]" |
| 57 |
}, |
| 58 |
"maintainers": [ |
| 59 |
{ |
| 60 |
"name": "arthurvr", |
| 61 |
"email": "[email protected]" |
| 62 |
} |
| 63 |
], |
| 64 |
"dist": { |
| 65 |
"shasum": "da5f93e39f083bbb4efd2ebf9528aed87ae70028", |
| 66 |
"tarball": "https://registry.npmjs.org/is-set/-/is-set-1.0.0.tgz" |
| 67 |
}, |
| 68 |
"directories": {} |
| 69 |
}, |
| 70 |
"2.0.0": { |
| 71 |
"name": "is-set", |
| 72 |
"version": "2.0.0", |
| 73 |
"description": "Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 74 |
"main": "index.js", |
| 75 |
"scripts": { |
| 76 |
"version": "auto-changelog && git add CHANGELOG.md", |
| 77 |
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", |
| 78 |
"prepublish": "safe-publish-latest", |
| 79 |
"pretest": "npm run lint", |
| 80 |
"lint": "eslint .", |
| 81 |
"tests-only": "node test", |
| 82 |
"posttests-only": "node -e \"require('es5-shim'); require('es6-shim'); require('./test');\"", |
| 83 |
"test": "npm run tests-only", |
| 84 |
"posttest": "npx aud" |
| 85 |
}, |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git+https://github.com/inspect-js/is-set.git" |
| 89 |
}, |
| 90 |
"keywords": [ |
| 91 |
"map", |
| 92 |
"set", |
| 93 |
"collection", |
| 94 |
"is", |
| 95 |
"robust" |
| 96 |
], |
| 97 |
"author": { |
| 98 |
"name": "Jordan Harband", |
| 99 |
"email": "[email protected]" |
| 100 |
}, |
| 101 |
"funding": { |
| 102 |
"url": "https://github.com/sponsors/ljharb" |
| 103 |
}, |
| 104 |
"license": "MIT", |
| 105 |
"bugs": { |
| 106 |
"url": "https://github.com/inspect-js/is-set/issues" |
| 107 |
}, |
| 108 |
"homepage": "https://github.com/inspect-js/is-set#readme", |
| 109 |
"devDependencies": { |
| 110 |
"@ljharb/eslint-config": "^15.0.1", |
| 111 |
"auto-changelog": "^1.16.2", |
| 112 |
"es5-shim": "^4.5.13", |
| 113 |
"es6-shim": "^0.35.5", |
| 114 |
"eslint": "^6.6.0", |
| 115 |
"for-each": "^0.3.3", |
| 116 |
"object-inspect": "^1.7.0", |
| 117 |
"safe-publish-latest": "^1.1.4", |
| 118 |
"tape": "^4.11.0" |
| 119 |
}, |
| 120 |
"auto-changelog": { |
| 121 |
"output": "CHANGELOG.md", |
| 122 |
"template": "keepachangelog", |
| 123 |
"unreleased": false, |
| 124 |
"commitLimit": false, |
| 125 |
"backfillLimit": false |
| 126 |
}, |
| 127 |
"gitHead": "b90cab7e75ee3e000c87ea88710ea8c926c6d100", |
| 128 |
"_id": "[email protected]", |
| 129 |
"_nodeVersion": "13.1.0", |
| 130 |
"_npmVersion": "6.12.1", |
| 131 |
"dist": { |
| 132 |
"integrity": "sha512-So5/xwRDzU3X7kOt2vpvrsj/Asx5E7Q5IyX6itksB96FJgyydSe9tFwfCq7IZ8URDS4h45FhNgfENToTgBfmgw==", |
| 133 |
"shasum": "ae93342b1de5560c720b4b71599abc799d183cf4", |
| 134 |
"tarball": "https://registry.npmjs.org/is-set/-/is-set-2.0.0.tgz", |
| 135 |
"fileCount": 9, |
| 136 |
"unpackedSize": 8756, |
| 137 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyxTBCRA9TVsSAnZWagAAtHYQAIJThKJEfwMHzp4TZk8F\n43xl66oo84lJzXHTY2+0fzT3mXZZTkysQIItJ0aMesUCcKBO4eu/A/ZzK8JP\n2U3BPR3pDZoMYgJuy7EX9M30H6Qv/GGj7pfeH9y3ZmYPsZHZrujHblsumt3p\nGgS+zJlf320TcEuOwII+hDZTNQnzMotOiP8bgDoKLJaeHjO8k5lhZKUt7b9N\ni/M7IYxKshiUzO8A8+/M3y3H3WM4ZvzEUvYvpq2zNqbEH/HROKTUuCC0Z8Ej\nwfd8EJ6/1u6+a4304WrUsFm1EDGj72WLv5FcDzkD/yP5+c0PROMK8sI8iCOK\nnvPDd1XQA8EMNE6cjy2D6oNJffzx/I0z53SVe8JBhraGZEenV+TFMD74Nnd/\ng4S++caQ4vecEy/jfuL6un4NZ4hlEdzs6j27aZ7oo081p7WSWn3QAvzKzAbs\nznKPdvtdCpdRFZkFZl31GqiVREgNd1QR6WAv8kpzAtC51t/+wZCcSFoZDtlE\nn063aMWaWXSyU4dfjtF4xBuB1e9p+xcNMREnBcAU3jXm2AiRHXGTX5JQ+tl+\nl2I5/ON/flPPnaj8hF57w9MeOBpVV1JPbD8BRda8P4UtC9vSnXR6a42SW9HJ\nDjdO7uxClR1Hjf70EEGGRjobhgukSyBDYFR1mu8ZfyN4R2g0VbU97c0IDdV8\nOS8n\r\n=rz9W\r\n-----END PGP SIGNATURE-----\r\n" |
| 138 |
}, |
| 139 |
"maintainers": [ |
| 140 |
{ |
| 141 |
"email": "[email protected]", |
| 142 |
"name": "ljharb" |
| 143 |
} |
| 144 |
], |
| 145 |
"_npmUser": { |
| 146 |
"name": "ljharb", |
| 147 |
"email": "[email protected]" |
| 148 |
}, |
| 149 |
"directories": {}, |
| 150 |
"_npmOperationalInternal": { |
| 151 |
"host": "s3://npm-registry-packages", |
| 152 |
"tmp": "tmp/is-set_2.0.0_1573590208684_0.8370407865245786" |
| 153 |
}, |
| 154 |
"_hasShrinkwrap": false |
| 155 |
}, |
| 156 |
"2.0.1": { |
| 157 |
"name": "is-set", |
| 158 |
"version": "2.0.1", |
| 159 |
"description": "Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 160 |
"main": "index.js", |
| 161 |
"scripts": { |
| 162 |
"version": "auto-changelog && git add CHANGELOG.md", |
| 163 |
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", |
| 164 |
"prepublish": "safe-publish-latest", |
| 165 |
"pretest": "npm run lint", |
| 166 |
"lint": "eslint .", |
| 167 |
"tests-only": "node test", |
| 168 |
"posttests-only": "node -e \"require('es5-shim'); require('es6-shim'); require('./test');\"", |
| 169 |
"test": "npm run tests-only", |
| 170 |
"posttest": "npx aud" |
| 171 |
}, |
| 172 |
"repository": { |
| 173 |
"type": "git", |
| 174 |
"url": "git+https://github.com/inspect-js/is-set.git" |
| 175 |
}, |
| 176 |
"keywords": [ |
| 177 |
"map", |
| 178 |
"set", |
| 179 |
"collection", |
| 180 |
"is", |
| 181 |
"robust" |
| 182 |
], |
| 183 |
"author": { |
| 184 |
"name": "Jordan Harband", |
| 185 |
"email": "[email protected]" |
| 186 |
}, |
| 187 |
"funding": { |
| 188 |
"url": "https://github.com/sponsors/ljharb" |
| 189 |
}, |
| 190 |
"license": "MIT", |
| 191 |
"bugs": { |
| 192 |
"url": "https://github.com/inspect-js/is-set/issues" |
| 193 |
}, |
| 194 |
"homepage": "https://github.com/inspect-js/is-set#readme", |
| 195 |
"devDependencies": { |
| 196 |
"@ljharb/eslint-config": "^15.0.2", |
| 197 |
"auto-changelog": "^1.16.2", |
| 198 |
"es5-shim": "^4.5.13", |
| 199 |
"es6-shim": "^0.35.5", |
| 200 |
"eslint": "^6.7.2", |
| 201 |
"for-each": "^0.3.3", |
| 202 |
"object-inspect": "^1.7.0", |
| 203 |
"safe-publish-latest": "^1.1.4", |
| 204 |
"tape": "^4.12.0" |
| 205 |
}, |
| 206 |
"auto-changelog": { |
| 207 |
"output": "CHANGELOG.md", |
| 208 |
"template": "keepachangelog", |
| 209 |
"unreleased": false, |
| 210 |
"commitLimit": false, |
| 211 |
"backfillLimit": false |
| 212 |
}, |
| 213 |
"gitHead": "07581a60194b428f276f560d96cb8f73b4ab1db3", |
| 214 |
"_id": "[email protected]", |
| 215 |
"_nodeVersion": "13.3.0", |
| 216 |
"_npmVersion": "6.13.1", |
| 217 |
"dist": { |
| 218 |
"integrity": "sha512-eJEzOtVyenDs1TMzSQ3kU3K+E0GUS9sno+F0OBT97xsgcJsF9nXMBtkT9/kut5JEpM7oL7X/0qxR17K3mcwIAA==", |
| 219 |
"shasum": "d1604afdab1724986d30091575f54945da7e5f43", |
| 220 |
"tarball": "https://registry.npmjs.org/is-set/-/is-set-2.0.1.tgz", |
| 221 |
"fileCount": 10, |
| 222 |
"unpackedSize": 9866, |
| 223 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+UDKCRA9TVsSAnZWagAAzU0P/RfiGa6u8ghKt2SJsQan\nHVbPTgHE7q+ltdKFPk33mRGF8Jb8qpODAFxYOQF0R3ZvxykauZGJRJRUbbYy\nw1SfPozE6ukI5zm2sM93GU2etx69Igs4zxWkDVu5nMMd2Gt6n2miX/t+rN1R\ngtDrGONjtDrNfL2xRiOPCNGVj6lMJn2mHG7cT6Z/xBh0cARueQ0tzTMw3lzQ\nE+PrYPt3M6I1dLgt0/QRnG0OaeboUe9yyN+ps4+3O+AMqHaOKfdgb62FwR9G\nOJYWTBSnUjJvAVPd3++t5xoYiZeoQjv9B+5oi+F/71EmJ2xrrvaonMX7es+z\nEVL13QixqqFjLD1sHtv+pE4FE8e4pp/avJxXSMvMLPVyHV+lDLozpmNyJnsn\nyrNvy5e2dNw8ZDrkgkKMRJ3gs0OpK4zdbFsVtAUJbs5vJQncCNzYcKzxmVIu\n1AMAuHN/sL/C9m7dxyZLSYPx1czFGc0LJRAFcPVdsCiZRQj6mKWKRtRUiKUj\nGP1VVkIISGmsLk4AMV/pOJwRjrYr78vqM+75Inb2sp3cIbx5ATFf+QJdWHCS\ngEYOa2+7OqSC1qM6WUnLe6zs6oCAcjXtFq0U9dFJfKph0YVIZwfntVyELEGJ\nym63ETJK1O5qgaHkDxUcQe+CZyd4JJAyvUigXbn2MHyIoO7Ssa1dcpTmvAi7\ndUKy\r\n=FDJK\r\n-----END PGP SIGNATURE-----\r\n" |
| 224 |
}, |
| 225 |
"maintainers": [ |
| 226 |
{ |
| 227 |
"email": "[email protected]", |
| 228 |
"name": "ljharb" |
| 229 |
} |
| 230 |
], |
| 231 |
"_npmUser": { |
| 232 |
"name": "ljharb", |
| 233 |
"email": "[email protected]" |
| 234 |
}, |
| 235 |
"directories": {}, |
| 236 |
"_npmOperationalInternal": { |
| 237 |
"host": "s3://npm-registry-packages", |
| 238 |
"tmp": "tmp/is-set_2.0.1_1576616138132_0.35866745926426513" |
| 239 |
}, |
| 240 |
"_hasShrinkwrap": false |
| 241 |
} |
| 242 |
}, |
| 243 |
"readme": "# is-set <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isSet = require('is-set');\nassert(!isSet(function () {}));\nassert(!isSet(null));\nassert(!isSet(function* () { yield 42; return Infinity; });\nassert(!isSet(Symbol('foo')));\nassert(!isSet(1n));\nassert(!isSet(Object(1n)));\n\nassert(!isSet(new Map()));\nassert(!isSet(new WeakSet()));\nassert(!isSet(new WeakMap()));\n\nassert(isSet(new Set()));\n\nclass MySet extends Set {}\nassert(isSet(new MySet()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-set\n[2]: http://versionbadg.es/inspect-js/is-set.svg\n[3]: https://travis-ci.org/inspect-js/is-set.svg\n[4]: https://travis-ci.org/inspect-js/is-set\n[5]: https://david-dm.org/inspect-js/is-set.svg\n[6]: https://david-dm.org/inspect-js/is-set\n[7]: https://david-dm.org/inspect-js/is-set/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-set#info=devDependencies\n[11]: https://nodei.co/npm/is-set.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-set.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-set.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-set\n", |
| 244 |
"maintainers": [ |
| 245 |
{ |
| 246 |
"email": "[email protected]", |
| 247 |
"name": "ljharb" |
| 248 |
} |
| 249 |
], |
| 250 |
"time": { |
| 251 |
"modified": "2019-12-17T20:55:44.193Z", |
| 252 |
"created": "2015-02-18T11:22:30.744Z", |
| 253 |
"1.0.0": "2015-02-18T11:22:30.744Z", |
| 254 |
"2.0.0": "2019-11-12T20:23:28.781Z", |
| 255 |
"2.0.1": "2019-12-17T20:55:38.219Z" |
| 256 |
}, |
| 257 |
"homepage": "https://github.com/inspect-js/is-set#readme", |
| 258 |
"keywords": [ |
| 259 |
"map", |
| 260 |
"set", |
| 261 |
"collection", |
| 262 |
"is", |
| 263 |
"robust" |
| 264 |
], |
| 265 |
"repository": { |
| 266 |
"type": "git", |
| 267 |
"url": "git+https://github.com/inspect-js/is-set.git" |
| 268 |
}, |
| 269 |
"author": { |
| 270 |
"name": "Jordan Harband", |
| 271 |
"email": "[email protected]" |
| 272 |
}, |
| 273 |
"bugs": { |
| 274 |
"url": "https://github.com/inspect-js/is-set/issues" |
| 275 |
}, |
| 276 |
"license": "MIT", |
| 277 |
"readmeFilename": "README.md" |
| 278 |
} |