| 1 |
{ |
| 2 |
"_id": "is-map", |
| 3 |
"_rev": "8-0d9f7a576ce43282d4fd143d8266bead", |
| 4 |
"name": "is-map", |
| 5 |
"description": "Is this value a JS Map? 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-map", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Easily check if a givin object is an ES6 Map", |
| 14 |
"keywords": [ |
| 15 |
"map", |
| 16 |
"es6", |
| 17 |
"esnext", |
| 18 |
"harmony", |
| 19 |
"typeof", |
| 20 |
"type", |
| 21 |
"object" |
| 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-map" |
| 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": "1cbaac2decc0ffbc919a78c6e6a915ec0ee08fe9", |
| 45 |
"bugs": { |
| 46 |
"url": "https://github.com/arthurvr/is-map/issues" |
| 47 |
}, |
| 48 |
"homepage": "https://github.com/arthurvr/is-map", |
| 49 |
"_id": "[email protected]", |
| 50 |
"_shasum": "0b3f1df015e72dd7279b18b2f1d5597fd7328bd8", |
| 51 |
"_from": ".", |
| 52 |
"_npmVersion": "2.5.1", |
| 53 |
"_nodeVersion": "1.2.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": "0b3f1df015e72dd7279b18b2f1d5597fd7328bd8", |
| 66 |
"tarball": "https://registry.npmjs.org/is-map/-/is-map-1.0.0.tgz" |
| 67 |
}, |
| 68 |
"directories": {} |
| 69 |
}, |
| 70 |
"1.0.1": { |
| 71 |
"name": "is-map", |
| 72 |
"version": "1.0.1", |
| 73 |
"description": "Easily check if a givin object is an ES6 Map", |
| 74 |
"keywords": [ |
| 75 |
"map", |
| 76 |
"es6", |
| 77 |
"esnext", |
| 78 |
"harmony", |
| 79 |
"typeof", |
| 80 |
"type", |
| 81 |
"object" |
| 82 |
], |
| 83 |
"license": "MIT", |
| 84 |
"author": { |
| 85 |
"name": "Arthur Verschaeve", |
| 86 |
"email": "[email protected]" |
| 87 |
}, |
| 88 |
"files": [ |
| 89 |
"index.js" |
| 90 |
], |
| 91 |
"repository": { |
| 92 |
"type": "git", |
| 93 |
"url": "git+https://github.com/arthurvr/is-map.git" |
| 94 |
}, |
| 95 |
"scripts": { |
| 96 |
"test": "node test.js" |
| 97 |
}, |
| 98 |
"devDependencies": { |
| 99 |
"ava": "^0.0.4" |
| 100 |
}, |
| 101 |
"engines": { |
| 102 |
"node": ">=0.12.0" |
| 103 |
}, |
| 104 |
"gitHead": "8cb38f4fbf7c642ad400b26958a9e60fb79fd8b2", |
| 105 |
"bugs": { |
| 106 |
"url": "https://github.com/arthurvr/is-map/issues" |
| 107 |
}, |
| 108 |
"homepage": "https://github.com/arthurvr/is-map#readme", |
| 109 |
"_id": "[email protected]", |
| 110 |
"_shasum": "74cd3a0bdceae00ae4a316c2aaee6b624a2575a5", |
| 111 |
"_from": ".", |
| 112 |
"_npmVersion": "2.11.3", |
| 113 |
"_nodeVersion": "2.3.1", |
| 114 |
"_npmUser": { |
| 115 |
"name": "arthurvr", |
| 116 |
"email": "[email protected]" |
| 117 |
}, |
| 118 |
"dist": { |
| 119 |
"shasum": "74cd3a0bdceae00ae4a316c2aaee6b624a2575a5", |
| 120 |
"tarball": "https://registry.npmjs.org/is-map/-/is-map-1.0.1.tgz" |
| 121 |
}, |
| 122 |
"maintainers": [ |
| 123 |
{ |
| 124 |
"name": "arthurvr", |
| 125 |
"email": "[email protected]" |
| 126 |
} |
| 127 |
], |
| 128 |
"directories": {} |
| 129 |
}, |
| 130 |
"2.0.0": { |
| 131 |
"name": "is-map", |
| 132 |
"version": "2.0.0", |
| 133 |
"description": "Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 134 |
"main": "index.js", |
| 135 |
"scripts": { |
| 136 |
"version": "auto-changelog && git add CHANGELOG.md", |
| 137 |
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", |
| 138 |
"prepublish": "safe-publish-latest", |
| 139 |
"pretest": "npm run lint", |
| 140 |
"lint": "eslint .", |
| 141 |
"tests-only": "node test", |
| 142 |
"posttests-only": "node -e \"require('es5-shim'); require('es6-shim'); require('./test');\"", |
| 143 |
"test": "npm run tests-only", |
| 144 |
"posttest": "npx aud" |
| 145 |
}, |
| 146 |
"repository": { |
| 147 |
"type": "git", |
| 148 |
"url": "git+https://github.com/inspect-js/is-map.git" |
| 149 |
}, |
| 150 |
"keywords": [ |
| 151 |
"map", |
| 152 |
"set", |
| 153 |
"collection", |
| 154 |
"is", |
| 155 |
"robust" |
| 156 |
], |
| 157 |
"author": { |
| 158 |
"name": "Jordan Harband", |
| 159 |
"email": "[email protected]" |
| 160 |
}, |
| 161 |
"funding": { |
| 162 |
"url": "https://github.com/sponsors/ljharb" |
| 163 |
}, |
| 164 |
"license": "MIT", |
| 165 |
"bugs": { |
| 166 |
"url": "https://github.com/inspect-js/is-map/issues" |
| 167 |
}, |
| 168 |
"homepage": "https://github.com/inspect-js/is-map#readme", |
| 169 |
"devDependencies": { |
| 170 |
"@ljharb/eslint-config": "^15.0.1", |
| 171 |
"auto-changelog": "^1.16.2", |
| 172 |
"es5-shim": "^4.5.13", |
| 173 |
"es6-shim": "^0.35.5", |
| 174 |
"eslint": "^6.6.0", |
| 175 |
"for-each": "^0.3.3", |
| 176 |
"object-inspect": "^1.7.0", |
| 177 |
"safe-publish-latest": "^1.1.4", |
| 178 |
"tape": "^4.11.0" |
| 179 |
}, |
| 180 |
"auto-changelog": { |
| 181 |
"output": "CHANGELOG.md", |
| 182 |
"template": "keepachangelog", |
| 183 |
"unreleased": false, |
| 184 |
"commitLimit": false, |
| 185 |
"backfillLimit": false |
| 186 |
}, |
| 187 |
"gitHead": "424e38e9b9ab975561042b78e3b0019031142ab0", |
| 188 |
"_id": "[email protected]", |
| 189 |
"_nodeVersion": "13.1.0", |
| 190 |
"_npmVersion": "6.12.1", |
| 191 |
"dist": { |
| 192 |
"integrity": "sha512-ptj+FffEGJN9hLuakga2S3mYQt5PVN+w7+fL3SAgxKhlCePSt24Q3fiSozhvphbwCQ0+QPA1rJnLSoS2LnbCVw==", |
| 193 |
"shasum": "1d223ada48a1f5fdb7b3c5c21a45b6a4d48aec3c", |
| 194 |
"tarball": "https://registry.npmjs.org/is-map/-/is-map-2.0.0.tgz", |
| 195 |
"fileCount": 9, |
| 196 |
"unpackedSize": 8756, |
| 197 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyxS8CRA9TVsSAnZWagAAaEcP+wcrRfT48a1gMEJ8rTO/\n7eKUKCKX15jcK+r2A2Z8r28Qd6SVSC5WVePbBNs/VSqBV1orCLjtFr+SDGaM\nMvXeXbjT+x1rr0Cwkk7eFKu1trqZGv3Yy2V/CbJ8oarUtqQgZdSP2FOoHRp+\nGWz1m0tekYCnY9bRORIwrDytKlbqiz8as7jzXWbiG6KFoUsCPD/YUsiCAsSE\neo1ifRjj65WmzUPpP0srAqx6wTiioQ3qrvySYF2ZmBdBl7cUmN260G2cGNpS\nnzQ+yyoQ0BiIgKPsk6lvBWkcNN6LmyQBYA474ov8lEKWfpRdL93BVeXBKgsG\n1Wj2FoZJdADL8MuMX8znZRE/8khQwkyQY0LNy2Wc6LhYyQfU5Y/zG60IEevk\nq74dFSvGe7+so6JImxfO5TWGbO8Zx/n9LzuuR9+Q7dBkDr54nEbP4W6Kqqiz\nNdAty+N5414eHZxfUtWkY9k0ftslsDX580vdgYg91v9c8c3l0n6CEONwIFWs\nxNPuHEHBXuf9jEvpH8vOsVpL4j6fV/BrCA0Mrfx3NaKDBFuBEPwCQp7QOVr4\nvSAQUQbVAzpYAtKJEExIydZ0Dct384TwpohHwVchVVUU7F3pRRlwAnBXOjdD\nAE16QFNYjYR/2d2nV5dKZKEdYeFbFWgiCN2rcaN7ZslSf14ZhKeiRGCeMb3Z\nGMyR\r\n=htd6\r\n-----END PGP SIGNATURE-----\r\n" |
| 198 |
}, |
| 199 |
"maintainers": [ |
| 200 |
{ |
| 201 |
"email": "[email protected]", |
| 202 |
"name": "ljharb" |
| 203 |
} |
| 204 |
], |
| 205 |
"_npmUser": { |
| 206 |
"name": "ljharb", |
| 207 |
"email": "[email protected]" |
| 208 |
}, |
| 209 |
"directories": {}, |
| 210 |
"_npmOperationalInternal": { |
| 211 |
"host": "s3://npm-registry-packages", |
| 212 |
"tmp": "tmp/is-map_2.0.0_1573590204580_0.024253520599434975" |
| 213 |
}, |
| 214 |
"_hasShrinkwrap": false |
| 215 |
}, |
| 216 |
"2.0.1": { |
| 217 |
"name": "is-map", |
| 218 |
"version": "2.0.1", |
| 219 |
"description": "Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.", |
| 220 |
"main": "index.js", |
| 221 |
"scripts": { |
| 222 |
"version": "auto-changelog && git add CHANGELOG.md", |
| 223 |
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", |
| 224 |
"prepublish": "safe-publish-latest", |
| 225 |
"pretest": "npm run lint", |
| 226 |
"lint": "eslint .", |
| 227 |
"tests-only": "node test", |
| 228 |
"posttests-only": "node -e \"require('es5-shim'); require('es6-shim'); require('./test');\"", |
| 229 |
"test": "npm run tests-only", |
| 230 |
"posttest": "npx aud" |
| 231 |
}, |
| 232 |
"repository": { |
| 233 |
"type": "git", |
| 234 |
"url": "git+https://github.com/inspect-js/is-map.git" |
| 235 |
}, |
| 236 |
"keywords": [ |
| 237 |
"map", |
| 238 |
"set", |
| 239 |
"collection", |
| 240 |
"is", |
| 241 |
"robust" |
| 242 |
], |
| 243 |
"author": { |
| 244 |
"name": "Jordan Harband", |
| 245 |
"email": "[email protected]" |
| 246 |
}, |
| 247 |
"funding": { |
| 248 |
"url": "https://github.com/sponsors/ljharb" |
| 249 |
}, |
| 250 |
"license": "MIT", |
| 251 |
"bugs": { |
| 252 |
"url": "https://github.com/inspect-js/is-map/issues" |
| 253 |
}, |
| 254 |
"homepage": "https://github.com/inspect-js/is-map#readme", |
| 255 |
"devDependencies": { |
| 256 |
"@ljharb/eslint-config": "^15.0.2", |
| 257 |
"auto-changelog": "^1.16.2", |
| 258 |
"es5-shim": "^4.5.13", |
| 259 |
"es6-shim": "^0.35.5", |
| 260 |
"eslint": "^6.7.2", |
| 261 |
"for-each": "^0.3.3", |
| 262 |
"object-inspect": "^1.7.0", |
| 263 |
"safe-publish-latest": "^1.1.4", |
| 264 |
"tape": "^4.12.0" |
| 265 |
}, |
| 266 |
"auto-changelog": { |
| 267 |
"output": "CHANGELOG.md", |
| 268 |
"template": "keepachangelog", |
| 269 |
"unreleased": false, |
| 270 |
"commitLimit": false, |
| 271 |
"backfillLimit": false |
| 272 |
}, |
| 273 |
"gitHead": "6935a0720bc1e63779c571ca3389483b329d46d3", |
| 274 |
"_id": "[email protected]", |
| 275 |
"_nodeVersion": "13.3.0", |
| 276 |
"_npmVersion": "6.13.1", |
| 277 |
"dist": { |
| 278 |
"integrity": "sha512-T/S49scO8plUiAOA2DBTBG3JHpn1yiw0kRp6dgiZ0v2/6twi5eiB0rHtHFH9ZIrvlWc6+4O+m4zg5+Z833aXgw==", |
| 279 |
"shasum": "520dafc4307bb8ebc33b813de5ce7c9400d644a1", |
| 280 |
"tarball": "https://registry.npmjs.org/is-map/-/is-map-2.0.1.tgz", |
| 281 |
"fileCount": 10, |
| 282 |
"unpackedSize": 9866, |
| 283 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+UDKCRA9TVsSAnZWagAAnL4P/jHCeqzcYgi5Ya9x1cip\nd+ZdHs4kTDkbiQDxor3WP0fmNhjgy5XkpCzBMLdA+vWoHlvL9yE+8akA6QHj\ntg1a/bco40HZPrk2DJoot9q5A20o6ywmrobfmZZyOQUnPSagEguBScvuvKZS\ntX0B0MmWaFn8LOxcY1sSUzerRzdvj1T/4I7APsaVZVdVq/Ya8+rQyosGOhlj\n79PPlUYcnpCZ0McsoK9K/nJEucK9TYnlvc5xRCgOVm68kx9xCCmUtHBduC0s\n/+2KFhFLwvl4GxKKE0nDlguK+CQu2RAGPP7MiKPihpgsBYpO9t3OI5E8wJqN\nqGdcQmc9B5tR0KdIrSQrB65u/FmAWyNVULziQ11D3AefohvGFivvkppf2tJy\nMg2UKy8vFN1GVN5lVHfwUE7XC39PLgJkidhZQFX75Clqfq32JCAw/Cenk1nt\ngYdIGwlVLykaaZ3YGqpM1usdLtbOUY692T9tGjimi2I8wSmsA8Y20tz9YwSU\nbAS95x4lztvIK/iStVDMmQTfypf1F4JLSbx3eqm6xttiVeo+gGnG6W/5yDDa\ntGZFa6bOaAkdqlTAHNptdQYi8dVC1lC5GHZvJYhaDFFlml4M1z1Ejvp8Fqy4\nZ71YEEOIfB00NJiemGv8dMKw5JRBvLzfksBaH4oVhUrpXkOyfNBuQkeRDLH4\nTHNq\r\n=DdeK\r\n-----END PGP SIGNATURE-----\r\n" |
| 284 |
}, |
| 285 |
"maintainers": [ |
| 286 |
{ |
| 287 |
"email": "[email protected]", |
| 288 |
"name": "ljharb" |
| 289 |
} |
| 290 |
], |
| 291 |
"_npmUser": { |
| 292 |
"name": "ljharb", |
| 293 |
"email": "[email protected]" |
| 294 |
}, |
| 295 |
"directories": {}, |
| 296 |
"_npmOperationalInternal": { |
| 297 |
"host": "s3://npm-registry-packages", |
| 298 |
"tmp": "tmp/is-map_2.0.1_1576616137689_0.32348509441535067" |
| 299 |
}, |
| 300 |
"_hasShrinkwrap": false |
| 301 |
} |
| 302 |
}, |
| 303 |
"readme": "# is-map <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 isMap = require('is-map');\nassert(!isMap(function () {}));\nassert(!isMap(null));\nassert(!isMap(function* () { yield 42; return Infinity; });\nassert(!isMap(Symbol('foo')));\nassert(!isMap(1n));\nassert(!isMap(Object(1n)));\n\nassert(!isMap(new Set()));\nassert(!isMap(new WeakSet()));\nassert(!isMap(new WeakMap()));\n\nassert(isMap(new Map()));\n\nclass MyMap extends Map {}\nassert(isMap(new MyMap()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-map\n[2]: http://versionbadg.es/inspect-js/is-map.svg\n[3]: https://travis-ci.org/inspect-js/is-map.svg\n[4]: https://travis-ci.org/inspect-js/is-map\n[5]: https://david-dm.org/inspect-js/is-map.svg\n[6]: https://david-dm.org/inspect-js/is-map\n[7]: https://david-dm.org/inspect-js/is-map/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-map#info=devDependencies\n[11]: https://nodei.co/npm/is-map.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-map.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-map.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-map\n", |
| 304 |
"maintainers": [ |
| 305 |
{ |
| 306 |
"email": "[email protected]", |
| 307 |
"name": "ljharb" |
| 308 |
} |
| 309 |
], |
| 310 |
"time": { |
| 311 |
"modified": "2019-12-17T20:55:43.821Z", |
| 312 |
"created": "2015-02-18T12:24:11.571Z", |
| 313 |
"1.0.0": "2015-02-18T12:24:11.571Z", |
| 314 |
"1.0.1": "2015-07-02T21:59:12.567Z", |
| 315 |
"2.0.0": "2019-11-12T20:23:24.692Z", |
| 316 |
"2.0.1": "2019-12-17T20:55:37.780Z" |
| 317 |
}, |
| 318 |
"homepage": "https://github.com/inspect-js/is-map#readme", |
| 319 |
"keywords": [ |
| 320 |
"map", |
| 321 |
"set", |
| 322 |
"collection", |
| 323 |
"is", |
| 324 |
"robust" |
| 325 |
], |
| 326 |
"repository": { |
| 327 |
"type": "git", |
| 328 |
"url": "git+https://github.com/inspect-js/is-map.git" |
| 329 |
}, |
| 330 |
"author": { |
| 331 |
"name": "Jordan Harband", |
| 332 |
"email": "[email protected]" |
| 333 |
}, |
| 334 |
"bugs": { |
| 335 |
"url": "https://github.com/inspect-js/is-map/issues" |
| 336 |
}, |
| 337 |
"license": "MIT", |
| 338 |
"readmeFilename": "README.md" |
| 339 |
} |