New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

total-serialism

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

total-serialism - npm Package Compare versions

Comparing version 1.6.11 to 1.6.12

2

package.json
{
"name": "total-serialism",
"version": "1.6.11",
"version": "1.6.12",
"description": "A set of methods for the generation and transformation of number sequences useful in algorithmic composition",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -194,3 +194,3 @@ //==============================================================================

// Returns array of [0] if no period is found within the default length
// of fibonacci numbers (256). In that case
// of fibonacci numbers (256). Mod value is a minimum of 2
//

@@ -204,3 +204,3 @@ // F(n) = (F(n-1) + F(n-2)) mod a.

function pisano(mod=12, len=-1){
mod = (mod < 1)? 1 : mod;
if (mod < 2){ return [0]; }
if (len < 1){

@@ -207,0 +207,0 @@ return pisanoPeriod(mod);

const entryPoint = "../index";
// const entryPoint = "../index";
// const entryPoint = "../build/ts.bundle.js";
// const entryPoint = "../build/ts.es5.js";
// const entryPoint = "../build/ts.es5.min.js";
const entryPoint = "../build/ts.es5.min.js";

@@ -27,11 +27,17 @@ const Srl = require(entryPoint);

testSerial();
testGen();
testAlgo();
testRand();
testMod();
testTranslate();
testUtil();
pagebreak("Test Passed");
// console.log(Algo.pisano(0));
fullTest();
function fullTest(){
testSerial();
testGen();
testAlgo();
testRand();
testMod();
testTranslate();
testUtil();
pagebreak("Test Passed");
}
// Global vars for tests

@@ -38,0 +44,0 @@ var complexRules = {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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