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

fill-range

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fill-range - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

LICENSE

10

index.js

@@ -5,3 +5,3 @@ /*!

* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT license.
* Licensed under the MIT License.
*/

@@ -389,5 +389,9 @@

if (hasZeros(origA) || hasZeros(origB)) {
var alen = length(origA), blen = length(origB);
var len = alen >= blen ? alen : blen;
var alen = length(origA);
var blen = length(origB);
var len = alen >= blen
? alen
: blen;
return function (a) {

@@ -394,0 +398,0 @@ return repeatStr('0', len - length(a));

{
"name": "fill-range",
"description": "Fill in a range of numbers or letters, optionally passing an increment or multiplier to use.",
"version": "2.1.0",
"version": "2.2.0",
"homepage": "https://github.com/jonschlinkert/fill-range",

@@ -19,4 +19,7 @@ "author": {

"type": "MIT",
"url": "https://github.com/jonschlinkert/fill-range/blob/master/LICENSE-MIT"
"url": "https://github.com/jonschlinkert/fill-range/blob/master/LICENSE"
},
"files": [
"index.js"
],
"main": "index.js",

@@ -26,7 +29,4 @@ "engines": {

},
"files": [
"index.js"
],
"scripts": {
"test": "mocha -R spec"
"test": "mocha"
},

@@ -33,0 +33,0 @@ "dependencies": {

@@ -1,2 +0,2 @@

# fill-range [![NPM version](https://badge.fury.io/js/fill-range.svg)](http://badge.fury.io/js/fill-range)
# fill-range [![NPM version](https://badge.fury.io/js/fill-range.svg)](http://badge.fury.io/js/fill-range) [![Build Status](https://travis-ci.org/jonschlinkert/fill-range.svg)](https://travis-ci.org/jonschlinkert/fill-range)

@@ -261,3 +261,3 @@ > Fill in a range of numbers or letters, optionally passing an increment or multiplier to use.

_This file was generated by [verb](https://github.com/assemble/verb) on January 30, 2015._
_This file was generated by [verb](https://github.com/assemble/verb) on February 25, 2015._

@@ -264,0 +264,0 @@ [randomatic]: https://github.com/jonschlinkert/randomatic

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