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

@aryth/bound-vector

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aryth/bound-vector - npm Package Compare versions

Comparing version 0.2.14 to 0.3.0

15

dist/index.cjs.js

@@ -26,4 +26,4 @@ 'use strict';

/** @type {{dif: boolean, level: number}} */
const config = this || {
dif: false,
const config = this !== null && this !== void 0 ? this : {
dif: true,
level: enumCheckLevels.LOOSE

@@ -51,13 +51,5 @@ };

}
function leap(vec) {
/** @type {{dif: boolean, level: number}} */
const config = this || {
level: enumCheckLevels.LOOSE
};
config.dif = true;
return bound.call(config, vec);
}
const iterate = function (vec, fn, l) {
l = l || vec && vec.length;
l = l || (vec === null || vec === void 0 ? void 0 : vec.length);

@@ -185,3 +177,2 @@ for (let i = 0; i < l; i++) fn.call(this, vec[i], i);

exports.duobound = duobound;
exports.leap = leap;
exports.solebound = solebound;

16

dist/index.esm.js

@@ -22,4 +22,4 @@ import { IsNum, boundOutput, ToNum } from '@aryth/util-bound';

/** @type {{dif: boolean, level: number}} */
const config = this || {
dif: false,
const config = this !== null && this !== void 0 ? this : {
dif: true,
level: LOOSE

@@ -47,13 +47,5 @@ };

}
function leap(vec) {
/** @type {{dif: boolean, level: number}} */
const config = this || {
level: LOOSE
};
config.dif = true;
return bound.call(config, vec);
}
const iterate = function (vec, fn, l) {
l = l || vec && vec.length;
l = l || (vec === null || vec === void 0 ? void 0 : vec.length);

@@ -179,2 +171,2 @@ for (let i = 0; i < l; i++) fn.call(this, vec[i], i);

export { bound, duobound, leap, solebound };
export { bound, duobound, solebound };
{
"name": "@aryth/bound-vector",
"version": "0.2.14",
"version": "0.3.0",
"description": "A math util library",

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

"dependencies": {
"@aryth/util-bound": "^0.2.14",
"@aryth/util-bound": "^0.3.0",
"@ject/oneself": "^0.0.6",
"@spare/string-value": "^0.8.8",
"@typen/enum-check-levels": "^0.1.5",
"@typen/literal": "^0.1.5",
"@typen/num-strict": "^0.1.5"
"@spare/string-value": "^0.9.8",
"@typen/enum-check-levels": "^0.1.10",
"@typen/literal": "^0.1.10",
"@typen/num-strict": "^0.1.10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hoyeungw/aryth.git"
"url": "git+https://github.com/gadge/aryth.git"
},

@@ -41,3 +41,3 @@ "keywords": [

"homepage": "https://github.com/hoyeungw/aryth#readme",
"gitHead": "e6c03af3271cc7b45aa029eedda5ab2d9fdf71e6"
"gitHead": "9e7b2050628ba370afbb77fa47b0c352ff180e36"
}
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