Comparing version 0.1.2 to 0.1.3
@@ -293,8 +293,7 @@ 'use strict'; | ||
* @param {*[][]} mx | ||
* @param columnJect | ||
* @param {function(*[]):[]} columnJect | ||
* @returns {*[]} | ||
*/ | ||
static vehoCol (mx, columnJect) { | ||
let cols = Mat.transpose(mx); | ||
return cols.map(columnJect) | ||
return Mat.transpose(mx).map(columnJect) | ||
} | ||
@@ -388,2 +387,7 @@ } | ||
class Fun { | ||
/** | ||
* | ||
* @param {class} cls | ||
* @return {string[]} | ||
*/ | ||
static getStaticMethodNames (cls) { | ||
@@ -395,2 +399,7 @@ return Object | ||
/** | ||
* | ||
* @param {class} cls | ||
* @return {string[]} | ||
*/ | ||
static getStaticPropertyNames (cls) { | ||
@@ -408,2 +417,12 @@ return Object.keys(cls) | ||
} | ||
/** | ||
* | ||
* @param {function(*): *} seinFunc function | ||
* @param {function(*): *} funcs function whose sole parameter and return value are typed identically | ||
* @return {function(*): *} | ||
*/ | ||
static chain (seinFunc, ...funcs) { | ||
return funcs.reduce((prevFunc, currFunc) => x => currFunc(prevFunc(x)), seinFunc) | ||
} | ||
} | ||
@@ -410,0 +429,0 @@ |
{ | ||
"name": "veho", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "An array extension (grammatical sugar) to create, iterate and query 1d, 2d array and JSON object.", | ||
@@ -17,5 +17,5 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"xbrief": "^0.1.1", | ||
"elprimero": "^0.0.3", | ||
"crawler": "^1.2.0", | ||
"xbrief": "^0.1.14", | ||
"elprimero": "^0.0.5", | ||
"crawler": "^1.2.1", | ||
"stocks.js": "^0.0.17", | ||
@@ -25,8 +25,8 @@ "axios": "^0.18.0", | ||
"rollup-plugin-terser": "^4.0.4", | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.3.4", | ||
"@babel/preset-env": "^7.3.4", | ||
"@babel/preset-stage-3": "^7.0.0", | ||
"@babel/plugin-transform-runtime": "^7.3.4", | ||
"@babel/plugin-proposal-pipeline-operator": "^7.3.2", | ||
"@babel/register": "^7.0.0", | ||
"@babel/runtime": "^7.4.3", | ||
"webpack": "^4.29.5", | ||
@@ -33,0 +33,0 @@ "webpack-cli": "^3.2.3" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13795
398