UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

165 lines (164 loc) 7.85 kB
{ "_args": [ [ { "raw": "is-callable@^1.1.3", "scope": null, "escapedName": "is-callable", "name": "is-callable", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/es-abstract" ] ], "_from": "is-callable@>=1.1.3 <2.0.0", "_id": "is-callable@1.1.4", "_inCache": true, "_location": "/is-callable", "_nodeVersion": "10.4.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-callable_1.1.4_1530594296040_0.5184569344379544" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "6.1.0", "_phantomChildren": {}, "_requested": { "raw": "is-callable@^1.1.3", "scope": null, "escapedName": "is-callable", "name": "is-callable", "rawSpec": "^1.1.3", "spec": ">=1.1.3 <2.0.0", "type": "range" }, "_requiredBy": [ "/es-abstract", "/es-to-primitive" ], "_resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", "_shasum": "1e1adf219e1eeb684d691f9d6a05ff0d30a24d75", "_shrinkwrap": null, "_spec": "is-callable@^1.1.3", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/es-abstract", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com", "url": "http://ljharb.codes" }, "bugs": { "url": "https://github.com/ljharb/is-callable/issues" }, "contributors": [ { "name": "Jordan Harband", "email": "ljharb@gmail.com", "url": "http://ljharb.codes" } ], "dependencies": {}, "description": "Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.", "devDependencies": { "@ljharb/eslint-config": "^12.2.1", "covert": "^1.1.0", "editorconfig-tools": "^0.1.1", "eslint": "^4.19.1", "foreach": "^2.0.5", "istanbul": "1.1.0-alpha.1", "istanbul-merge": "^1.1.1", "jscs": "^3.0.7", "make-arrow-function": "^1.1.0", "make-generator-function": "^1.1.0", "nsp": "^3.2.1", "rimraf": "^2.6.2", "semver": "^5.5.0", "tape": "^4.9.1" }, "directories": {}, "dist": { "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "shasum": "1e1adf219e1eeb684d691f9d6a05ff0d30a24d75", "tarball": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", "fileCount": 12, "unpackedSize": 30555, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOwP4CRA9TVsSAnZWagAAu6QP/3HMpy3IiAIhY13AT0Pv\n/5+HHxTMTOYdwkUPjtMPwyQRts0L6j+35qFOADjfMYK5KQxxGvFzqRIaQFdZ\nEQVqWqoWuUTrJ6trf+tZwJsFNVMSf9LkT3uyX+CxcLoiv9pVctO4HxRVKhuJ\nkuG3CgmlPEG9U4I9/oEHXoM/6OVIUahwwo7PZbyvwOP2wXIJb0p7V8wFtJEQ\nYGsiWzQVn+i0Te/lgWIqPFJKNQRWJAjAR3+ROqe8O735Ot1uivgkS8SYQc+n\nuXQNk1PdUN2nnSZwwqkvYKa/sXhV906qVAJmA/7QG6AvJvvEvcPD1K90sKFR\nQ3jlAtqFfU7JMC3oOuc91oAWzRwRJhrJxCI7CODWtRWuUVKDClv0/sMvrBsi\nOxlccM7IqsGBIJ69A6wBI02lLjJNqM3OlRVvLKfzZ1sLd1yjysJioMIyyM6B\nO7ewcDII7jPVbWTv0DIUC61oc0NfFrCij6YN/iq872hKFhbr0h210BxgF5Nv\nnZ+FI8rSkZLk36jtsOirCkk4MSOWnHnLFehN3q/PSL7W2y2DG3QlW/GcBsn2\neLAQ6bgXWloewnfZNgG5m3a8Rh+8EhTplwcnpg6+7ZbpginjZkgBHyUCn/0X\nTfqpqtqSXNZ6FKfMGEmY56v7pq3RoPCYSrTCK4hU4lmxd4yXAB2NkiEakEuE\nBHSV\r\n=stq+\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">= 0.4" }, "gitHead": "a20050add5eab89174a99411405f3f5be265a56b", "homepage": "https://github.com/ljharb/is-callable#readme", "keywords": [ "Function", "function", "callable", "generator", "generator function", "arrow", "arrow function", "ES6", "toStringTag", "@@toStringTag" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "is-callable", "optionalDependencies": {}, "readme": "# is-callable <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\n[![browser support][9]][10]\n\nIs this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isCallable = require('is-callable');\nvar assert = require('assert');\n\nassert.notOk(isCallable(undefined));\nassert.notOk(isCallable(null));\nassert.notOk(isCallable(false));\nassert.notOk(isCallable(true));\nassert.notOk(isCallable([]));\nassert.notOk(isCallable({}));\nassert.notOk(isCallable(/a/g));\nassert.notOk(isCallable(new RegExp('a', 'g')));\nassert.notOk(isCallable(new Date()));\nassert.notOk(isCallable(42));\nassert.notOk(isCallable(NaN));\nassert.notOk(isCallable(Infinity));\nassert.notOk(isCallable(new Number(42)));\nassert.notOk(isCallable('foo'));\nassert.notOk(isCallable(Object('foo')));\n\nassert.ok(isCallable(function () {}));\nassert.ok(isCallable(function* () {}));\nassert.ok(isCallable(x => x * x));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-callable\n[2]: http://versionbadg.es/ljharb/is-callable.svg\n[3]: https://travis-ci.org/ljharb/is-callable.svg\n[4]: https://travis-ci.org/ljharb/is-callable\n[5]: https://david-dm.org/ljharb/is-callable.svg\n[6]: https://david-dm.org/ljharb/is-callable\n[7]: https://david-dm.org/ljharb/is-callable/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-callable#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-callable.png\n[10]: https://ci.testling.com/ljharb/is-callable\n[11]: https://nodei.co/npm/is-callable.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-callable.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-callable.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-callable\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/ljharb/is-callable.git" }, "scripts": { "coverage": "npm run --silent istanbul", "covert": "covert test.js", "covert:quiet": "covert test.js --quiet", "eslint": "eslint *.js", "istanbul": "npm run --silent istanbul:clean && npm run --silent istanbul:std && npm run --silent istanbul:harmony && npm run --silent istanbul:merge && istanbul check", "istanbul:clean": "rimraf coverage coverage-std coverage-harmony", "istanbul:harmony": "node --harmony ./node_modules/istanbul/lib/cli.js cover test.js --dir coverage-harmony", "istanbul:merge": "istanbul-merge --out coverage/coverage.raw.json coverage-harmony/coverage.raw.json coverage-std/coverage.raw.json && istanbul report html", "istanbul:std": "istanbul cover test.js --report html --dir coverage-std", "jscs": "jscs *.js", "lint": "npm run jscs && npm run eslint", "posttest": "npm run --silent security", "prelint": "editorconfig-tools check *", "pretest": "npm run --silent lint", "security": "nsp check", "test": "npm run --silent tests-only", "test:staging": "node --es-staging test.js", "test:stock": "node test.js", "tests-only": "npm run --silent test:stock && npm run --silent test:staging" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "version": "1.1.4" }