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

@valjoux/strategies

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@valjoux/strategies - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

19

dist/index.cjs.js

@@ -8,2 +8,4 @@ 'use strict';

var fluoVector = require('@palett/fluo-vector');
var says = require('@palett/says');
var enumChars = require('@spare/enum-chars');
var eta = require('@valjoux/eta');

@@ -33,7 +35,8 @@ var timestamp = require('@valjoux/timestamp');

const eta$1 = new eta.Eta(),
fname = Object.keys(methods),
functionNames = Object.keys(methods),
prettyNames = functionNames.map(x => says.ros(x)).join(enumChars.CO),
functions = Object.values(methods),
ents = Object.entries(candidates),
h = ents.length,
w = fname.length,
entries = Object.entries(candidates),
h = entries.length,
w = functionNames.length,
tmx = matrixInit.iso(h, w, 0),

@@ -44,3 +47,3 @@ vmx = matrixInit.iso(h, w, undefined);

for (let i = 0, cname, params; i < h; i++) {
[cname, params] = ents[i], progressLogger(i, cname, fname, repeat);
[cname, params] = entries[i], progressLogger(i, cname, prettyNames, repeat);
eta$1.tick();

@@ -54,3 +57,3 @@

const crostab$1 = new crostab.CrosTab(Object.keys(candidates), fname, [[]]);
const crostab$1 = new crostab.CrosTab(Object.keys(candidates), functionNames, [[]]);
let [lapse, result] = [crostab$1.copy({

@@ -77,6 +80,6 @@ rows: tmx,

const progressLogger = (index, cname, fname, repeat) => {
const progressLogger = (index, cname, names, repeat) => {
var _ref;
_ref = `[${timestamp.now()}] [${index}] (${cname}) tested by [${fname}], repeated * ${repeat}.`, console.log(_ref);
_ref = `[${timestamp.time()}] [${index}] (${cname}) tested by [${names}], repeated * ${repeat}.`, console.log(_ref);
};

@@ -83,0 +86,0 @@

import { CrosTab } from '@analys/crostab';
import { round } from '@aryth/math';
import { fluoVector } from '@palett/fluo-vector';
import { ros } from '@palett/says';
import { CO } from '@spare/enum-chars';
import { Eta } from '@valjoux/eta';
import { now } from '@valjoux/timestamp';
import { time } from '@valjoux/timestamp';
import { mapper } from '@vect/columns-mapper';

@@ -28,7 +30,8 @@ import { iso } from '@vect/matrix-init';

const eta = new Eta(),
fname = Object.keys(methods),
functionNames = Object.keys(methods),
prettyNames = functionNames.map(x => ros(x)).join(CO),
functions = Object.values(methods),
ents = Object.entries(candidates),
h = ents.length,
w = fname.length,
entries = Object.entries(candidates),
h = entries.length,
w = functionNames.length,
tmx = iso(h, w, 0),

@@ -39,3 +42,3 @@ vmx = iso(h, w, undefined);

for (let i = 0, cname, params; i < h; i++) {
[cname, params] = ents[i], progressLogger(i, cname, fname, repeat);
[cname, params] = entries[i], progressLogger(i, cname, prettyNames, repeat);
eta.tick();

@@ -49,3 +52,3 @@

const crostab = new CrosTab(Object.keys(candidates), fname, [[]]);
const crostab = new CrosTab(Object.keys(candidates), functionNames, [[]]);
let [lapse, result] = [crostab.copy({

@@ -72,6 +75,6 @@ rows: tmx,

const progressLogger = (index, cname, fname, repeat) => {
const progressLogger = (index, cname, names, repeat) => {
var _ref;
_ref = `[${now()}] [${index}] (${cname}) tested by [${fname}], repeated * ${repeat}.`, console.log(_ref);
_ref = `[${time()}] [${index}] (${cname}) tested by [${names}], repeated * ${repeat}.`, console.log(_ref);
};

@@ -78,0 +81,0 @@

{
"name": "@valjoux/strategies",
"version": "0.1.10",
"version": "0.1.11",
"description": "date & time util toolset",

@@ -18,10 +18,12 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@analys/crostab": "^0.3.4",
"@aryth/math": "^0.2.10",
"@palett/fluo-vector": "^0.4.0",
"@palett/ros": "^0.4.0",
"@valjoux/eta": "^0.1.10",
"@valjoux/timestamp": "^0.1.10",
"@vect/columns-mapper": "^0.2.4",
"@vect/matrix-init": "^0.2.4"
"@analys/crostab": "^0.3.6",
"@aryth/math": "^0.2.14",
"@palett/fluo-vector": "^0.4.5",
"@palett/ros": "^0.4.5",
"@palett/says": "^0.4.5",
"@spare/enum-chars": "^0.8.10",
"@valjoux/eta": "^0.1.11",
"@valjoux/timestamp": "^0.1.11",
"@vect/columns-mapper": "^0.2.8",
"@vect/matrix-init": "^0.2.8"
},

@@ -44,3 +46,3 @@ "repository": {

"homepage": "https://github.com/hoyeungw/valjoux#readme",
"gitHead": "0c5281f7a2d4ee6d9140c0faca37ce25d6e5afbc"
"gitHead": "3d0fdc772379ab1d0db1d1f805f07846d9b79bb0"
}
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