Comparing version 0.1.5 to 0.1.6
@@ -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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12003
170