Socket
Socket
Sign inDemoInstall

edge-error

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-error - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

build/src/index.d.ts

@@ -1,2 +0,2 @@

declare type ExceptionOptions = {
export declare type ExceptionOptions = {
line: number;

@@ -14,2 +14,1 @@ col: number;

}
export {};
# The MIT License
Copyright 2018 thetutlage, contributors
Copyright 2019 Harminder virk, contributors

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "edge-error",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create errors custom stack trace pointing to the Edge source file",
"main": "build/src/index.js",
"typings": "build/src/index.d.ts",
"files": [

@@ -15,7 +14,8 @@ "build/src"

"commit": "git-cz",
"prepublishOnly": "npm run build",
"clean": "del build",
"compile": "npm run lint && npm run clean && tsc",
"build": "npm run compile",
"lint": "tslint --project tsconfig.json"
"lint": "tslint --project tsconfig.json",
"release": "np",
"version": "npm run build"
},

@@ -29,16 +29,17 @@ "keywords": [

"devDependencies": {
"@adonisjs/mrm-preset": "^1.0.14",
"@types/node": "^10.12.2",
"commitizen": "^3.0.4",
"@adonisjs/mrm-preset": "^2.0.3",
"@types/node": "^12.6.2",
"commitizen": "^3.1.1",
"cz-conventional-changelog": "^2.1.0",
"del-cli": "^1.1.0",
"japa": "^2.0.6",
"del-cli": "^2.0.0",
"doctoc": "^1.4.0",
"husky": "^3.0.0",
"japa": "^2.0.10",
"japa-cli": "^1.0.1",
"mrm": "^1.2.1",
"pkg-ok": "^2.3.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"mrm": "^1.2.2",
"np": "^5.0.3",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.1.6",
"yorkie": "^2.0.0"
"typescript": "^3.5.3"
},

@@ -64,11 +65,21 @@ "config": {

"type": "git",
"url": "git+https://github.com/poppinss/edge-error.git"
"url": "git+https://github.com/edge-js/edge-error.git"
},
"bugs": {
"url": "https://github.com/poppinss/edge-error/issues"
"url": "https://github.com/edge-js/edge-error/issues"
},
"homepage": "https://github.com/poppinss/edge-error#readme",
"homepage": "https://github.com/edge-js/edge-error#readme",
"gitHooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
},
"husky": {
"hooks": {
"pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md",
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
"np": {
"contents": ".",
"anyBranch": false
}
}

@@ -1,13 +0,24 @@

# edge-error
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of contents
- [Edge error](#edge-error)
- [Usage](#usage)
- [Maintainers](#maintainers)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Edge error
> Create errors custom stack trace pointing to the Edge source file
[![travis-image]][travis-url]
[![npm-image]][npm-url]
![](https://img.shields.io/badge/Uses-Typescript-294E80.svg?style=flat-square&colorA=ddd)
[![circleci-image]][circleci-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]
## Usage
Grab the package from npm as `edge-error`
Install the package from npm registry as follows
```bash
npm i edge-error
# yarn
yarn add edge-error
```

@@ -19,2 +30,3 @@

const { EdgeError } = require('edge-error')
throw new EdgeError('message', 'status', {

@@ -27,23 +39,14 @@ line: 1,

## Change log
## Maintainers
[Harminder virk](https://github.com/thetutlage)
The change log can be found in the [CHANGELOG.md](https://github.com/poppinss/edge-error/CHANGELOG.md) file.
[circleci-image]: https://img.shields.io/circleci/project/github/edge-js/edge-error/master.svg?style=for-the-badge&logo=circleci
[circleci-url]: https://circleci.com/gh/edge-js/edge-error "circleci"
## Contributing
[npm-image]: https://img.shields.io/npm/v/edge-error.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/edge-error "npm"
Everyone is welcome to contribute. Please go through the following guides, before getting started.
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1. [Contributing](https://adonisjs.com/contributing)
2. [Code of conduct](https://adonisjs.com/code-of-conduct)
## Authors & License
[thetutlage](https://github.com/thetutlage) and [contributors](https://github.com/poppinss/edge-error/graphs/contributors).
MIT License, see the included [MIT](LICENSE.md) file.
[travis-image]: https://img.shields.io/travis/poppinss/edge-error/master.svg?style=flat-square&logo=travis
[travis-url]: https://travis-ci.org/poppinss/edge-error "travis"
[npm-image]: https://img.shields.io/npm/v/edge-error.svg?style=flat-square&logo=npm
[npm-url]: https://npmjs.org/package/edge-error "npm"
[license-url]: LICENSE.md
[license-image]: https://img.shields.io/aur/license/pac.svg?style=for-the-badge
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc