mol-proto
Advanced tools
Comparing version 0.1.15 to 0.2.0
@@ -205,3 +205,3 @@ 'use strict'; | ||
var args = arguments; | ||
return str.replace(formatRegexp, function(item) { | ||
return str.replace(formatRegexp, function (item) { | ||
if (item == '$$') return '$'; | ||
@@ -208,0 +208,0 @@ item = item.slice(1); |
{ | ||
"name": "mol-proto", | ||
"version": "0.1.15", | ||
"version": "0.2.0", | ||
"description": "ES5 object manipulation library for node and modern browsers", | ||
"main": "lib/proto.js", | ||
"scripts": { | ||
"test": "NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter=spec" | ||
"test-spec": "NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter=spec", | ||
"test": "istanbul cover -x 'test' node_modules/mocha/bin/_mocha -- test/*.js -R spec" | ||
}, | ||
@@ -20,10 +21,11 @@ "repository": { | ||
"async": "~0.2.9", | ||
"mocha": "~1.15.1", | ||
"underscore": "~1.5.2", | ||
"browserify": "~3.14.1", | ||
"grunt": "~0.4.2", | ||
"browserify": "~3.14.1", | ||
"grunt-browserify": "~1.3.0", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-mocha-test": "~0.8.1" | ||
"grunt-mocha-test": "~0.8.1", | ||
"istanbul": "^0.4.0", | ||
"mocha": "~1.15.1", | ||
"underscore": "~1.5.2" | ||
} | ||
} |
@@ -6,3 +6,6 @@ proto | ||
[![Build Status](https://travis-ci.org/milojs/proto.png?branch=master)](https://travis-ci.org/milojs/proto) [![Code Climate](https://codeclimate.com/github/milojs/proto/badges/gpa.svg)](https://codeclimate.com/github/milojs/proto) | ||
[![Build Status](https://travis-ci.org/milojs/proto.png?branch=master)](https://travis-ci.org/milojs/proto) | ||
[![npm version](https://badge.fury.io/js/mol-proto.svg)](https://badge.fury.io/js/mol-proto) | ||
[![Code Climate](https://codeclimate.com/github/milojs/proto/badges/gpa.svg)](https://codeclimate.com/github/milojs/proto) | ||
[![Test Coverage](https://codeclimate.com/github/milojs/proto/badges/coverage.svg)](https://codeclimate.com/github/milojs/proto/coverage) | ||
@@ -9,0 +12,0 @@ Documentation: http://milojs.github.io/proto/ |
@@ -104,2 +104,3 @@ 'use strict'; | ||
it('should define format function', function() { | ||
@@ -106,0 +107,0 @@ assert.equal(_.format('foo$1and$2bar$1', 'x', 'y'), 'fooxandybarx') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
198646
144
9