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

@palett/fluo-vector

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/fluo-vector - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

27

dist/index.cjs.js

@@ -14,2 +14,15 @@ 'use strict';

const fluoZip = function (vector$1, values, xPreset, yPreset) {
const {
mutate = false,
colorant = false
} = this;
const [x, y] = boundVector.duobound(vector$1);
const zipper$1 = mutate ? vector.mutazip : vector.zipper;
return utilFluo.dyezip.call({
colorant,
zipper: zipper$1,
bound: boundVector.bound
}, vector$1, values, xPreset, yPreset);
};
/**

@@ -26,2 +39,3 @@ * @typedef {{max:string,min:string,na:string}} Preset

const fluoVector = (vector$1, {

@@ -41,11 +55,10 @@ values,

preset: presets.PLANET,
filter: filter,
filter,
comparer: comparer.STR_ASC
});
const [mapper, zipper] = mutate ? [vector.mutate, vector.mutazip] : [vector.mapper, vector.zipper];
return utilFluo.fluo.call({
mapper,
zipper,
bound: boundVector.bound,
colorant
const zipper$1 = mutate ? vector.mutazip : vector.zipper;
return fluoZip.call({
colorant,
zipper: zipper$1,
bound: boundVector.bound
}, vector$1, values, preset, stringPreset);

@@ -52,0 +65,0 @@ };

@@ -1,10 +0,23 @@

import { bound } from '@aryth/bound-vector';
import { bound, duobound } from '@aryth/bound-vector';
import { NUM_ASC, STR_ASC } from '@aryth/comparer';
import { duorank } from '@aryth/rank-vector';
import { FRESH, JUNGLE, PLANET } from '@palett/presets';
import { fluo } from '@palett/util-fluo';
import { dyezip } from '@palett/util-fluo';
import { isLiteral } from '@typen/literal';
import { isNumeric } from '@typen/num-strict';
import { mutate, mutazip, mapper, zipper } from '@vect/vector';
import { mutazip, zipper } from '@vect/vector';
const fluoZip = function (vector, values, xPreset, yPreset) {
const {
mutate = false,
colorant = false
} = this;
const [x, y] = duobound(vector);
const zipper$1 = mutate ? mutazip : zipper;
return dyezip.call({
colorant,
zipper: zipper$1,
bound
}, vector, values, xPreset, yPreset);
};
/**

@@ -21,2 +34,3 @@ * @typedef {{max:string,min:string,na:string}} Preset

const fluoVector = (vector, {

@@ -26,3 +40,3 @@ values,

stringPreset = JUNGLE,
mutate: mutate$1 = false,
mutate = false,
colorant = false,

@@ -37,11 +51,10 @@ filter = isLiteral

preset: PLANET,
filter: filter,
filter,
comparer: STR_ASC
});
const [mapper$1, zipper$1] = mutate$1 ? [mutate, mutazip] : [mapper, zipper];
return fluo.call({
mapper: mapper$1,
const zipper$1 = mutate ? mutazip : zipper;
return fluoZip.call({
colorant,
zipper: zipper$1,
bound,
colorant
bound
}, vector, values, preset, stringPreset);

@@ -48,0 +61,0 @@ };

{
"name": "@palett/fluo-vector",
"version": "0.2.0",
"version": "0.2.1",
"description": "A colorant to string",

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

"dependencies": {
"@aryth/bound-vector": "^0.1.12",
"@aryth/comparer": "^0.1.12",
"@aryth/rank-vector": "^0.1.12",
"@palett/presets": "^0.2.0",
"@palett/util-fluo": "^0.2.0",
"@typen/enum-data-types": "^0.1.3",
"@typen/literal": "^0.1.3",
"@typen/num-strict": "^0.1.3",
"@aryth/bound-vector": "^0.2.2",
"@aryth/comparer": "^0.2.2",
"@aryth/rank-vector": "^0.2.2",
"@palett/presets": "^0.2.1",
"@palett/util-fluo": "^0.2.1",
"@typen/enum-data-types": "^0.1.4",
"@typen/literal": "^0.1.4",
"@typen/num-strict": "^0.1.4",
"@vect/vector": "^0.2.4"

@@ -48,3 +48,3 @@ },

"homepage": "https://github.com/hoyeungw/palett/fluo-vector#readme",
"gitHead": "acea3e999df4d67303b6d04c7b713849a943b74c"
"gitHead": "17c93b083ff7a1a795b1ff9fe4df42a894669d22"
}
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