Socket
Socket
Sign inDemoInstall

ts-custom-error

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-custom-error - npm Package Compare versions

Comparing version 2.2.2 to 3.0.0

LICENCE

12

CHANGELOG.md

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

# [3.0.0](https://github.com/adriengibrat/ts-custom-error/compare/v2.2.2...v3.0.0) (2019-03-15)
### chore
* **licence:** Change licence to MIT instead of WTFPL ([7ff194c](https://github.com/adriengibrat/ts-custom-error/commit/7ff194c)), closes [#27](https://github.com/adriengibrat/ts-custom-error/issues/27)
### BREAKING CHANGES
* **licence:** Change licence to MIT!
## [2.2.2](https://github.com/adriengibrat/ts-custom-error/compare/v2.2.1...v2.2.2) (2018-12-29)

@@ -2,0 +14,0 @@

10

package.json
{
"name": "ts-custom-error",
"version": "2.2.2",
"version": "3.0.0",
"description": "Extend native Error to create custom errors",

@@ -13,3 +13,3 @@ "repository": "github:adriengibrat/ts-custom-error",

"author": "Adrien Gibrat <adrien.gibrat@gmail.com>",
"license": "WTFPL",
"license": "MIT",
"main": "dist/custom-error.js",

@@ -37,4 +37,4 @@ "module": "dist/custom-error.mjs",

"@semantic-release/git": "^7.0.6",
"@types/jest": "^23.3.10",
"@types/node": "^10.12.18",
"@types/jest": "^24.0.0",
"@types/node": "^11.9.0",
"commitizen": "^3.0.5",

@@ -50,3 +50,3 @@ "cz-conventional-changelog": "^2.1.0",

"travis-deploy-once": "^5.0.11",
"ts-jest": "^23.10.5",
"ts-jest": "^24.0.0",
"tslint": "^5.12.0",

@@ -53,0 +53,0 @@ "tslint-config-prettier": "^1.17.0",

# Typescript Custom Error
[![NPM version](https://img.shields.io/npm/v/ts-custom-error.svg?colorB=green)](https://www.npmjs.com/package/ts-custom-error)
[![WTFPL](https://img.shields.io/npm/l/ts-custom-error.svg?colorB=green)](http://www.wtfpl.net)
[![Pet project](https://img.shields.io/badge/maintain-pet_project-yellow.svg?logo=github)](#automate-all-the-things)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://img.shields.io/travis/adriengibrat/ts-custom-error.svg)](https://travis-ci.org/adriengibrat/ts-custom-error)
[![Maintainability](https://img.shields.io/codeclimate/maintainability/adriengibrat/ts-custom-error.svg)](https://codeclimate.com/github/adriengibrat/ts-custom-error/maintainability)
[![Test Coverage](https://img.shields.io/codeclimate/c/adriengibrat/ts-custom-error.svg)](https://codeclimate.com/github/adriengibrat/ts-custom-error/test_coverage)
[![BCH compliance](https://bettercodehub.com/edge/badge/adriengibrat/ts-custom-error?branch=master)](https://bettercodehub.com/results/adriengibrat/ts-custom-error)
[![Maintainability](https://api.codeclimate.com/v1/badges/eb4eb956bc028c49f7aa/maintainability)](https://codeclimate.com/github/adriengibrat/ts-custom-error/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/eb4eb956bc028c49f7aa/test_coverage)](https://codeclimate.com/github/adriengibrat/ts-custom-error/test_coverage)
[![Greenkeeper enabled](https://badges.greenkeeper.io/adriengibrat/ts-custom-error.svg)](https://greenkeeper.io)

@@ -53,3 +55,3 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

*Custom error contructor returned by the factory pass the same unit tests.*
*Custom error contructor returned by the factory pass the same unit tests as Class constructor.*

@@ -141,3 +143,3 @@ Factory still allows custom logic inside constructor:

This project is a playground for various external services and tools, it use:
⚠️ This project is mainly a pet project and its first purpose is to be a playground for various external services and tools:
- opinionated code style mostly inspired from [standardjs](https://standardjs.com)

@@ -149,2 +151,6 @@ - automatic code formating with [prettier](https://github.com/prettier/prettier)

## Licence
Starting [version 3.0.0](https://github.com/adriengibrat/ts-custom-error/releases/tag/v3.0.0) this project is under [MIT licence](LICENCE), there are no code change between [version 2.2.2](https://github.com/adriengibrat/ts-custom-error/releases/tag/v2.2.2) and [version 3.0.0](https://github.com/adriengibrat/ts-custom-error/releases/tag/v3.0.0) but changing licence was considered as a breaking change. All [versions <= 3.0.0](https://github.com/adriengibrat/ts-custom-error/releases) are under [WTFPL](http://www.wtfpl.net).
## Similar packages

@@ -151,0 +157,0 @@

Sorry, the diff of this file is not supported yet

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