Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typed-error

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-error - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Change Log

## v1.1.1 - 2017-07-25
* Revert tslib import [Eugene Mirotin]
## v1.1.0 - 2017-07-21

@@ -9,0 +13,0 @@

2

package.json
{
"name": "typed-error",
"version": "1.1.0",
"version": "1.1.1",
"description": "A class designed to enable easily extending the built-in javascript Error, allowing typed errors.",

@@ -5,0 +5,0 @@ "main": "src/typed-error.js",

@@ -0,1 +1,11 @@

var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
(function (factory) {

@@ -7,7 +17,6 @@ if (typeof module === "object" && typeof module.exports === "object") {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "tslib"], factory);
define(["require", "exports"], factory);
}
})(function (require, exports) {
"use strict";
var tslib_1 = require("tslib");
var BaseError = (function () {

@@ -38,3 +47,3 @@ function BaseError() {

var TypedError = (function (_super) {
tslib_1.__extends(TypedError, _super);
__extends(TypedError, _super);
function TypedError(err) {

@@ -41,0 +50,0 @@ if (err === void 0) { err = ''; }

@@ -10,3 +10,3 @@ {

"target": "es5",
"importHelpers": true,
"importHelpers": false,
"lib": ["es5", "es6"],

@@ -13,0 +13,0 @@ "moduleResolution": "node"

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