@brazilian-utils/helper-generate-checksum
Advanced tools
Comparing version 0.1.2 to 0.1.4
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@brazilian-utils/helper-only-numbers")):"function"==typeof define&&define.amd?define(["@brazilian-utils/helper-only-numbers"],r):e.helperGenerateChecksum=r(null)}(this,function(e){e=e&&e.hasOwnProperty("default")?e.default:e;var r=function(e,r){for(var n=[],t=0;t<r;t++)n.push(e-t);return n},n=function(e,r){return e.split("").reduce(function(e,n,t){return e+parseInt(n,10)*r[t]},0)};return function(t,u){var o=e(t);if(u.constructor===Number){var i=r(u,o.length);return n(o,i)}if(u.constructor===Array)return n(o,u);throw new Error("Invalid weight type. Should be an Array like or a Number")}}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@brazilian-utils/helper-only-numbers")):"function"==typeof define&&define.amd?define(["@brazilian-utils/helper-only-numbers"],r):e.helperGenerateChecksum=r(e.onlyNumbers)}(this,function(e){e=e&&e.hasOwnProperty("default")?e.default:e;var r=function(e,r){for(var n=[],t=0;t<r;t++)n.push(e-t);return n},n=function(e,r){return e.split("").reduce(function(e,n,t){return e+parseInt(n,10)*r[t]},0)};return function(t,u){var o=e(t);if(u.constructor===Number){var i=r(u,o.length);return n(o,i)}if(u.constructor===Array)return n(o,u);throw new Error("Invalid weight type. Should be an Array like or a Number")}}); | ||
//# sourceMappingURL=index.umd.js.map |
{ | ||
"name": "@brazilian-utils/helper-generate-checksum", | ||
"description": "Generates a checksum", | ||
"version": "0.1.2", | ||
"version": "0.1.4", | ||
"main": "dist/index.js", | ||
@@ -22,10 +22,11 @@ "umd:main": "dist/index.umd.js", | ||
"devDependencies": { | ||
"microbundle": "^0.5.1" | ||
"microbundle": "^0.6.0" | ||
}, | ||
"dependencies": { | ||
"@brazilian-utils/helper-only-numbers": "^0.1.3" | ||
"@brazilian-utils/helper-only-numbers": "^0.1.5" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "be32f1e24005a065474b554e05bbc1d38cc12323" | ||
} |
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
9065
9