{"_id":"plugin-error","_rev":"3337884","name":"plugin-error","description":"Error handling for Vinyl plugins.","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"time":{"modified":"2024-07-10T08:08:16.000Z","created":"2015-04-26T20:56:45.950Z","2.0.1":"2022-12-06T19:29:54.266Z","2.0.0":"2022-07-01T21:30:16.950Z","1.0.1":"2018-01-23T23:23:59.932Z","1.0.0":"2018-01-14T08:20:24.241Z","0.1.2":"2015-06-01T09:15:26.771Z","0.1.1":"2015-05-01T09:46:14.356Z","0.1.0":"2015-04-26T20:56:45.950Z"},"users":{"rubiadias":true},"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/plugin-error.git"},"versions":{"2.0.1":{"name":"plugin-error","version":"2.0.1","description":"Error handling for Vinyl plugins.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/plugin-error.git"},"license":"MIT","engines":{"node":">=10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only","test-types":"tsc -p test/types"},"dependencies":{"ansi-colors":"^1.0.1"},"devDependencies":{"eslint":"^7.0.0","eslint-config-gulp":"^5.0.0","eslint-plugin-node":"^11.1.0","expect":"^27.0.0","mocha":"^8.0.0","nyc":"^15.0.0","typescript":"^4.7.4"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["error","plugin","gulp-util"],"types":"./index.d.ts","gitHead":"93926320fb69c37f6c90580ea5883924fe3cc625","bugs":{"url":"https://github.com/gulpjs/plugin-error/issues"},"homepage":"https://github.com/gulpjs/plugin-error#readme","_id":"plugin-error@2.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.11.0","dist":{"shasum":"f2ac92bac8c85e3e23492d76d0c3ca12f30eb00b","size":4359,"noattachment":false,"key":"/plugin-error/-/plugin-error-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-2.0.1.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-error_2.0.1_1670354994088_0.9648951110016921"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-06T19:53:33.721Z","publish_time":1670354994266,"_cnpm_publish_time":1670354994266},"2.0.0":{"name":"plugin-error","version":"2.0.0","description":"Error handling for Vinyl plugins.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/plugin-error.git"},"license":"MIT","engines":{"node":">=10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only","test-types":"tsc -p test/types"},"dependencies":{"ansi-colors":"^1.0.1"},"devDependencies":{"eslint":"^7.0.0","eslint-config-gulp":"^5.0.0","eslint-plugin-node":"^11.1.0","expect":"^27.0.0","mocha":"^8.0.0","nyc":"^15.0.0","typescript":"^4.7.4"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["error","plugin","gulp-util"],"types":"./index.d.ts","gitHead":"65e5b6d583ec2591ba965a3c62016d73f5bf14fe","bugs":{"url":"https://github.com/gulpjs/plugin-error/issues"},"homepage":"https://github.com/gulpjs/plugin-error#readme","_id":"plugin-error@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.11.0","dist":{"shasum":"d05da1ab0737220ae06ea04e1683d177b55f5ca4","size":4353,"noattachment":false,"key":"/plugin-error/-/plugin-error-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-2.0.0.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-error_2.0.0_1656711016805_0.6612957960859394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-02T16:39:19.653Z","publish_time":1656711016950,"_cnpm_publish_time":1656711016950},"1.0.1":{"name":"plugin-error","version":"1.0.1","description":"Error handling for Vinyl plugins.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/plugin-error.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["LICENSE","index.d.ts","index.js"],"scripts":{"lint":"eslint . && jscs index.js test/","pretest":"npm run lint","test":"mocha --async-only && npm run test-types","test-types":"tsc -p test/types","cover":"istanbul cover _mocha --report lcovonly","coveralls":"npm run cover && istanbul-coveralls"},"dependencies":{"ansi-colors":"^1.0.1","arr-diff":"^4.0.0","arr-union":"^3.1.0","extend-shallow":"^3.0.2"},"devDependencies":{"eslint":"^1.7.3","eslint-config-gulp":"^2.0.0","expect":"^1.20.2","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","jscs":"^2.3.5","jscs-preset-gulp":"^1.0.0","mocha":"^3.0.0","typescript":"^2.6.2"},"keywords":["error","plugin","gulp-util"],"gitHead":"1d51476e4d7da44c1daea246531ae822617e4565","bugs":{"url":"https://github.com/gulpjs/plugin-error/issues"},"homepage":"https://github.com/gulpjs/plugin-error#readme","_id":"plugin-error@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"shasum":"77016bd8919d0ac377fdcdd0322328953ca5781c","size":4402,"noattachment":false,"key":"/plugin-error/-/plugin-error-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-1.0.1.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-error-1.0.1.tgz_1516749839819_0.07381509966216981"},"directories":{},"publish_time":1516749839932,"_hasShrinkwrap":false,"_cnpm_publish_time":1516749839932},"1.0.0":{"name":"plugin-error","version":"1.0.0","description":"Error handling for Vinyl plugins.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/plugin-error.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["LICENSE","index.d.ts","index.js"],"scripts":{"lint":"eslint . && jscs index.js test/","pretest":"npm run lint","test":"mocha --async-only && npm run test-types","test-types":"tsc -p test/types","cover":"istanbul cover _mocha --report lcovonly","coveralls":"npm run cover && istanbul-coveralls"},"dependencies":{"ansi-colors":"^1.0.1","arr-diff":"^4.0.0","arr-union":"^3.1.0","extend-shallow":"^3.0.2"},"devDependencies":{"eslint":"^1.7.3","eslint-config-gulp":"^2.0.0","expect":"^1.20.2","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","jscs":"^2.3.5","jscs-preset-gulp":"^1.0.0","mocha":"^3.0.0","typescript":"^2.6.2"},"keywords":["error","plugin","gulp-util"],"gitHead":"4dfcef381d4d3d7384cb93736a2bf1431ec4d4ec","bugs":{"url":"https://github.com/gulpjs/plugin-error/issues"},"homepage":"https://github.com/gulpjs/plugin-error#readme","_id":"plugin-error@1.0.0","_shasum":"37d66bd96ea334b7472584db149677ba2337724e","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"dist":{"shasum":"37d66bd96ea334b7472584db149677ba2337724e","size":4367,"noattachment":false,"key":"/plugin-error/-/plugin-error-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-error-1.0.0.tgz_1515918024088_0.841233006445691"},"directories":{},"publish_time":1515918024241,"_hasShrinkwrap":false,"_cnpm_publish_time":1515918024241},"0.1.2":{"name":"plugin-error","description":"Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/plugin-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/plugin-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/plugin-error/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-cyan":"^0.1.1","ansi-red":"^0.1.1","arr-diff":"^1.0.1","arr-union":"^2.0.1","extend-shallow":"^1.1.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["error","plugin"],"gitHead":"896ae7a976e234eba8ff2d50f9edde031c55dd3d","_id":"plugin-error@0.1.2","_shasum":"3b9bb3335ccf00f425e07437e19276967da47ace","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"dist":{"shasum":"3b9bb3335ccf00f425e07437e19276967da47ace","size":3859,"noattachment":false,"key":"/plugin-error/-/plugin-error-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-0.1.2.tgz"},"directories":{},"publish_time":1433150126771,"_cnpm_publish_time":1433150126771,"_hasShrinkwrap":false},"0.1.1":{"name":"plugin-error","description":"Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/plugin-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/plugin-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/plugin-error/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/plugin-error/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-diff":"^1.0.1","arr-union":"^2.0.1","chalk":"^1.0.0","extend-shallow":"^1.1.2"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"31fa502f00f162666dccc1981ee99c6f433766f5","_id":"plugin-error@0.1.1","_shasum":"71e3dfff87345b82af69c00419570d2eda2b9eac","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"dist":{"shasum":"71e3dfff87345b82af69c00419570d2eda2b9eac","size":3841,"noattachment":false,"key":"/plugin-error/-/plugin-error-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-0.1.1.tgz"},"directories":{},"publish_time":1430473574356,"_cnpm_publish_time":1430473574356,"_hasShrinkwrap":false},"0.1.0":{"name":"plugin-error","description":"Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/plugin-error","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/plugin-error.git"},"bugs":{"url":"https://github.com/jonschlinkert/plugin-error/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/plugin-error/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-diff":"^1.0.1","arr-union":"^2.0.1","chalk":"^1.0.0","object-assign":"^2.0.0"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"c39c6d55310975050fe722cdb585aa157c6e2e3e","_id":"plugin-error@0.1.0","_shasum":"3ebaab3263722f3fa44e7250e369371ea4ff6402","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"dist":{"shasum":"3ebaab3263722f3fa44e7250e369371ea4ff6402","size":3843,"noattachment":false,"key":"/plugin-error/-/plugin-error-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/plugin-error/download/plugin-error-0.1.0.tgz"},"directories":{},"publish_time":1430081805950,"_cnpm_publish_time":1430081805950,"_hasShrinkwrap":false}},"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# plugin-error\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nError handling for Vinyl plugins.\n\n## Usage\n\n```js\nvar PluginError = require('plugin-error');\n\nvar err = new PluginError('test', {\n  message: 'something broke',\n});\n\nvar err = new PluginError({\n  plugin: 'test',\n  message: 'something broke',\n});\n\nvar err = new PluginError('test', 'something broke');\n\nvar err = new PluginError('test', 'something broke', { showStack: true });\n\nvar existingError = new Error('OMG');\nvar err = new PluginError('test', existingError, { showStack: true });\n```\n\n## API\n\n### `new PluginError(pluginName, message[, options])`\n\nError constructor that takes:\n\n- `pluginName` - a `String` that should be the module name of your plugin\n- `message` - a `String` message or an existing `Error` object\n- `options` - an `Object` of your options\n\n**Behavior:**\n\n- By default the stack will not be shown. Set `options.showStack` to true if you think the stack is important for your error.\n- If you pass an error object as the message the stack will be pulled from that, otherwise one will be created.\n- If you pass in a custom stack string you need to include the message along with that.\n- Error properties will be included in `err.toString()`, but may be omitted by including `{ showProperties: false }` in the options.\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/plugin-error.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/plugin-error\n[npm-image]: https://img.shields.io/npm/v/plugin-error.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/plugin-error/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/plugin-error/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/plugin-error\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/plugin-error/master.svg?style=flat-square\n<!-- prettier-ignore-end -->\n","_attachments":{},"homepage":"https://github.com/gulpjs/plugin-error#readme","bugs":{"url":"https://github.com/gulpjs/plugin-error/issues"},"license":"MIT"}