UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

167 lines (166 loc) 8.52 kB
{ "_args": [ [ { "raw": "extend-shallow@^3.0.2", "scope": null, "escapedName": "extend-shallow", "name": "extend-shallow", "rawSpec": "^3.0.2", "spec": ">=3.0.2 <4.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/micromatch" ] ], "_from": "extend-shallow@>=3.0.2 <4.0.0", "_id": "extend-shallow@3.0.2", "_inCache": true, "_location": "/extend-shallow", "_nodeVersion": "0.10.48", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/extend-shallow-3.0.2.tgz_1513797098024_0.23954258323647082" }, "_npmUser": { "name": "phated", "email": "blaine.bublitz@gmail.com" }, "_npmVersion": "2.15.1", "_phantomChildren": { "is-plain-object": "2.0.4" }, "_requested": { "raw": "extend-shallow@^3.0.2", "scope": null, "escapedName": "extend-shallow", "name": "extend-shallow", "rawSpec": "^3.0.2", "spec": ">=3.0.2 <4.0.0", "type": "range" }, "_requiredBy": [ "/micromatch", "/nanomatch", "/regex-not", "/split-string", "/to-regex" ], "_resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "_shasum": "26a71aaf073b39fb2127172746131c2704028db8", "_shrinkwrap": null, "_spec": "extend-shallow@^3.0.2", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/micromatch", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/extend-shallow/issues" }, "contributors": [ { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Peter deHaan", "url": "http://about.me/peterdehaan" } ], "dependencies": { "assign-symbols": "^1.0.0", "is-extendable": "^1.0.1" }, "description": "Extend an object with the properties of additional objects. node.js/javascript util.", "devDependencies": { "array-slice": "^1.0.0", "benchmarked": "^2.0.0", "for-own": "^1.0.0", "gulp-format-md": "^1.0.0", "is-plain-object": "^2.0.4", "kind-of": "^6.0.1", "minimist": "^1.2.0", "mocha": "^3.5.3", "object-assign": "^4.1.1" }, "directories": {}, "dist": { "shasum": "26a71aaf073b39fb2127172746131c2704028db8", "tarball": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "33698c3df7804f0d0e3ea98caa64d53f09c37bd4", "homepage": "https://github.com/jonschlinkert/extend-shallow", "keywords": [ "assign", "clone", "extend", "merge", "obj", "object", "object-assign", "object.assign", "prop", "properties", "property", "props", "shallow", "util", "utility", "utils", "value" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "phated", "email": "blaine.bublitz@gmail.com" }, { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "extend-shallow", "optionalDependencies": {}, "readme": "# extend-shallow [![NPM version](https://img.shields.io/npm/v/extend-shallow.svg?style=flat)](https://www.npmjs.com/package/extend-shallow) [![NPM monthly downloads](https://img.shields.io/npm/dm/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![NPM total downloads](https://img.shields.io/npm/dt/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/extend-shallow.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/extend-shallow)\n\n> Extend an object with the properties of additional objects. node.js/javascript util.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save extend-shallow\n```\n\n## Usage\n\n```js\nvar extend = require('extend-shallow');\n\nextend({a: 'b'}, {c: 'd'})\n//=> {a: 'b', c: 'd'}\n```\n\nPass an empty object to shallow clone:\n\n```js\nvar obj = {};\nextend(obj, {a: 'b'}, {c: 'd'})\n//=> {a: 'b', c: 'd'}\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow \"Extend an object with the properties of additional objects. node.js/javascript util.\")\n* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in \"Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js\")\n* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own \"Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.\")\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object \"Returns true if an object was created by the `Object` constructor.\")\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 33 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [pdehaan](https://github.com/pdehaan) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on November 19, 2017._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/extend-shallow.git" }, "scripts": { "test": "mocha" }, "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "related": { "list": [ "extend-shallow", "for-in", "for-own", "is-plain-object", "isobject", "kind-of" ] }, "plugins": [ "gulp-format-md" ], "lint": { "reflinks": true } }, "version": "3.0.2" }