UNPKG

pnpm

Version:

Fast, disk space efficient package manager

154 lines (153 loc) 7.11 kB
{ "_args": [ [ { "raw": "es-to-primitive@^1.2.0", "scope": null, "escapedName": "es-to-primitive", "name": "es-to-primitive", "rawSpec": "^1.2.0", "spec": ">=1.2.0 <2.0.0", "type": "range" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/es-abstract" ] ], "_from": "es-to-primitive@^1.2.0", "_hasShrinkwrap": false, "_id": "es-to-primitive@1.2.0", "_location": "/es-to-primitive", "_nodeVersion": "10.11.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/es-to-primitive_1.2.0_1538070806741_0.6483493775372577" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "es-to-primitive@^1.2.0", "scope": null, "escapedName": "es-to-primitive", "name": "es-to-primitive", "rawSpec": "^1.2.0", "spec": ">=1.2.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/es-abstract" ], "_resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "_shasum": "edf72478033456e8dda8ef09e00ad9650707f377", "_shrinkwrap": null, "_spec": "es-to-primitive@^1.2.0", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/es-abstract", "author": { "name": "Jordan Harband" }, "bugs": { "url": "https://github.com/ljharb/es-to-primitive/issues" }, "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", "is-symbol": "^1.0.2" }, "description": "ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.", "devDependencies": { "@ljharb/eslint-config": "^13.0.0", "covert": "^1.1.0", "eslint": "^5.6.0", "foreach": "^2.0.5", "function.prototype.name": "^1.1.0", "jscs": "^3.0.7", "nsp": "^3.2.1", "object-inspect": "^1.6.0", "object-is": "^1.0.1", "replace": "^1.0.0", "semver": "^5.5.1", "tape": "^4.9.1" }, "directories": {}, "dist": { "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "shasum": "edf72478033456e8dda8ef09e00ad9650707f377", "tarball": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "fileCount": 19, "unpackedSize": 49837, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrRkXCRA9TVsSAnZWagAA5c4P/RTY16+RUYKUlzT4kvQT\n23RsVm+f1G09ybN0MrtqT8m1IAHUIA5jsrNuVoWuQ5IqAbNIAU3GeorjEODm\nApRNQolY+PupqlQEsbdn16XJ2dr+kAwodB1LJHPhHDa1idgBesA9YxFfanip\nOy+5l9Qa2DRfpy/KFhupCooBTa+RQ4dm/bTndppG+yaMcVitWwXsbhT/i6z9\nE4e4m5YlTAbWDxZ+FwOTK8K75Tn2LOqy9WFjNiWz/UUeaPxIFlMb8RO/3yy5\nRuqvSpW04S9PM9g27zbKePdO2wNyDR+S/1cGgbqoQF6JP72tBSGCYhllwpYM\nbMfAi8f0b4RAdk9BPJ/8cLogS281IfIN7AKI5vOoVWh8veUAWSShmjF8o89x\njxmVpKGEbnLPkB2pQZP+CKMzo+124y+jP4ns7GMaftkJ6zLcXUC5C4vUbj6h\nm5rGzqBHYfaO/IJ3VCJ53hj+qblGSJZhiZzr8mrd0W6lNHb13+w2XqDuA3uP\nk3ralDjMJzcFEcJ/TLg06Ny5hrSu1EOtQ6hIS+ylGiLUAdU4gX45WHZoJOxj\nh7k8LAnRVxzA//WJX0h0Erm6PKAyhcTbmjVJuBJLmqrQVvhm93K1hTIJ8Bty\nXj4gOGlAMYkV8wJc/fXT1iUkgzxSgstLlL7eYVtpinG7tV84MiuCdq6hOaUs\ncfUE\r\n=+Ljt\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">= 0.4" }, "gitHead": "2a4bca5456480149ca8cdc8e4529b0fa18390aa7", "homepage": "https://github.com/ljharb/es-to-primitive#readme", "keywords": [ "primitive", "abstract", "ecmascript", "es5", "es6", "es2015", "toPrimitive", "coerce", "type", "object", "string", "number", "boolean", "symbol", "null", "undefined" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "es-to-primitive", "optionalDependencies": {}, "readme": "# es-to-primitive <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.\nWhen different versions of the spec conflict, the default export will be the latest version of the abstract operation.\nAlternative versions will also be available under an `es5`/`es2015` exported property if you require a specific version.\n\n## Example\n\n```js\nvar toPrimitive = require('es-to-primitive');\nvar assert = require('assert');\n\nassert(toPrimitive(function () {}) === String(function () {}));\n\nvar date = new Date();\nassert(toPrimitive(date) === String(date));\n\nassert(toPrimitive({ valueOf: function () { return 3; } }) === 3);\n\nassert(toPrimitive(['a', 'b', 3]) === String(['a', 'b', 3]));\n\nvar sym = Symbol();\nassert(toPrimitive(Object(sym)) === sym);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/es-to-primitive\n[npm-version-svg]: http://versionbadg.es/ljharb/es-to-primitive.svg\n[travis-svg]: https://travis-ci.org/ljharb/es-to-primitive.svg\n[travis-url]: https://travis-ci.org/ljharb/es-to-primitive\n[deps-svg]: https://david-dm.org/ljharb/es-to-primitive.svg\n[deps-url]: https://david-dm.org/ljharb/es-to-primitive\n[dev-deps-svg]: https://david-dm.org/ljharb/es-to-primitive/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/es-to-primitive#info=devDependencies\n[testling-svg]: https://ci.testling.com/ljharb/es-to-primitive.png\n[testling-url]: https://ci.testling.com/ljharb/es-to-primitive\n[npm-badge-png]: https://nodei.co/npm/es-to-primitive.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/es-to-primitive.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/es-to-primitive.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=es-to-primitive\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/ljharb/es-to-primitive.git" }, "scripts": { "coverage": "covert test/*.js", "coverage-quiet": "covert test/*.js --quiet", "eslint": "eslint test/*.js *.js", "jscs": "jscs test/*.js *.js", "lint": "npm run --silent jscs && npm run --silent eslint", "posttest": "npm run --silent security", "pretest": "npm run --silent lint", "security": "nsp check", "test": "npm run --silent tests-only", "tests-only": "node --es-staging test" }, "testling": { "files": "test", "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.2.0" }