Socket
Socket
Sign inDemoInstall

@mathigon/core

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mathigon/core - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

build/core.js

@@ -510,4 +510,4 @@ 'use strict';

function loop(array) {
let i = -1;
return function() { i = (i + 1) % array.length; return array[i]; };
let i = 0;
return () => array[(i++) % array.length];
}

@@ -514,0 +514,0 @@

{
"name": "@mathigon/core",
"version": "0.2.2",
"version": "0.2.3",
"description": "JavaScript utilities library containing function wrappers, string and array helper functions, type checking and event classes.",

@@ -28,6 +28,6 @@ "keywords": [

"devDependencies": {
"eslint": "^4.1.1",
"rollup": "^0.58.1",
"tape": "^4.9.0"
"eslint": "^5.4.0",
"rollup": "^0.64.1",
"tape": "^4.9.1"
}
}

@@ -180,4 +180,4 @@ // =============================================================================

export function loop(array) {
let i = -1;
return function() { i = (i + 1) % array.length; return array[i]; };
let i = 0;
return () => array[(i++) % array.length];
}

@@ -184,0 +184,0 @@

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