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

eraro

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eraro - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

eraro.js

@@ -31,3 +31,3 @@ /* Copyright (c) 2014 Richard Rodger, MIT License */

// * _package_ : (optional) String; package name to mark Error objects
// * _prefix_ : (optional) Boolean/String; If false, then no prefix is used; If not defined, the package name is used.
// * _prefix_ : (optional) Boolean/String; If false, then no prefix is used; If not defined, the package name is used
// * _module_ : (optional) Object; _module_ object to use as starting point for _require_ calls

@@ -135,3 +135,3 @@ // * _msgmap_ : (optional) Object; map codes to message templates

out = lines[i].substring(4)
out = _.isString(lines[i]) ? lines[i].substring(4) : out
}

@@ -138,0 +138,0 @@

{
"name": "eraro",
"version": "0.1.5",
"version": "0.1.6",
"description": "Create JavaScript Error objects with code strings, context details, and templated messages.",

@@ -5,0 +5,0 @@ "main": "eraro.js",

@@ -14,3 +14,5 @@ eraro

See the [use-plugin](http://github.com/rjrodger/use-plugin) module for an example of practical usage.
# Quick example

@@ -39,2 +41,11 @@

# Install
```bash
npm install eraro
```
There's an [npm module page for eraro](https://www.npmjs.org/package/eraro).
# Usage

@@ -154,5 +165,5 @@

Current Version: 0.1.5
Current Version: 0.1.6
Tested on: node 0.10.26
Tested on: node 0.10.28, 0.11.13

@@ -159,0 +170,0 @@ [![Build Status](https://travis-ci.org/rjrodger/eraro.png?branch=master)](https://travis-ci.org/rjrodger/eraro)

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