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

fjl-range

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fjl-range - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/amd/generated/version.js

@@ -11,8 +11,8 @@ define(['exports'], function (exports) {

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Mon Nov 20 2017 11:18:50 GMT-0500 (Eastern Standard Time)
* @generated Mon Nov 20 2017 11:24:50 GMT-0500 (Eastern Standard Time)
*/
let version = exports.version = '1.0.2';
let version = exports.version = '1.0.3';
exports.default = version;
});

@@ -10,7 +10,7 @@ 'use strict';

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Mon Nov 20 2017 11:18:50 GMT-0500 (Eastern Standard Time)
* @generated Mon Nov 20 2017 11:24:50 GMT-0500 (Eastern Standard Time)
*/
var version = exports.version = '1.0.2';
var version = exports.version = '1.0.3';
exports.default = version;

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

/**! fjl-range.js 1.0.2 | License: ISC | md5checksum: 9e57cf8098e28719b0fc7d7ce63b9c15 | Built-on: Mon Nov 20 2017 11:18:51 GMT-0500 (Eastern Standard Time) **/var fjlRange=function(r){"use strict";var e=function(r,e,n){var t=void 0;if(r>e&&n>0?t="negative":r>e&&n>0&&(t="positive"),t)throw new Error("`range` expects a "+t+" step for a left moving range. Values received: from: "+r+", to: "+e+", step: "+n)},n=function(r,e,n){return r>e?n>0?-n:n:n<0?-1*n:n};return r.range=function(r,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=r,i=[];if(e(r,n,t),0===t||r===n)return[r];for(;(n-o)*t>=0;o+=t)i.push(o);return i},r.range$=function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=r,i=[];if(0===(t=n(r,e,t))||r===e)return[r];for(;(e-o)*t>=0;o+=t)i.push(o);return i},r.errorIfNotValidStep=e,r.normalizeStep=n,r}({});
/**! fjl-range.js 1.0.3 | License: ISC | md5checksum: 9e57cf8098e28719b0fc7d7ce63b9c15 | Built-on: Mon Nov 20 2017 11:24:51 GMT-0500 (Eastern Standard Time) **/var fjlRange=function(r){"use strict";var e=function(r,e,n){var t=void 0;if(r>e&&n>0?t="negative":r>e&&n>0&&(t="positive"),t)throw new Error("`range` expects a "+t+" step for a left moving range. Values received: from: "+r+", to: "+e+", step: "+n)},n=function(r,e,n){return r>e?n>0?-n:n:n<0?-1*n:n};return r.range=function(r,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=r,i=[];if(e(r,n,t),0===t||r===n)return[r];for(;(n-o)*t>=0;o+=t)i.push(o);return i},r.range$=function(r,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=r,i=[];if(0===(t=n(r,e,t))||r===e)return[r];for(;(e-o)*t>=0;o+=t)i.push(o);return i},r.errorIfNotValidStep=e,r.normalizeStep=n,r}({});

@@ -23,8 +23,8 @@ (function (global, factory) {

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Mon Nov 20 2017 11:18:50 GMT-0500 (Eastern Standard Time)
* @generated Mon Nov 20 2017 11:24:50 GMT-0500 (Eastern Standard Time)
*/
var version = exports.version = '1.0.2';
var version = exports.version = '1.0.3';
exports.default = version;
});
{
"name": "fjl-range",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/fjlRange.js",

# fjl-range
Range function (returns array of values in range).
**Note:** Es6, commonjs, amd, iife, and umd compatible versions included in lib.

@@ -25,2 +24,9 @@ ### Usage

or use one of 'amd', 'umd', 'iife', or 'commonjs' builds included in './dist' folder:
Example:
```
<!-- If imported globally ('iife') exported as `fjlRange` globally -->
<script src="js/vendor/fjl-range/dist/iife/fjl-range.js"></script>
```
### In the browser

@@ -27,0 +33,0 @@ Same as above or look/include files directly from './dist' folder for

@@ -5,8 +5,8 @@ /**

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Mon Nov 20 2017 11:18:50 GMT-0500 (Eastern Standard Time)
* @generated Mon Nov 20 2017 11:24:50 GMT-0500 (Eastern Standard Time)
*/
export let version = '1.0.2';
export let version = '1.0.3';
export default version;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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