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

aidly

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aidly - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

67

dist/aidly.cjs.js

@@ -202,3 +202,3 @@ 'use strict';

const toRawType = (v) => objectToString.call(v).slice(8, -1).toLowerCase();
const isArray = Array.isArray;
const isArray = /*#__PURE__*/ (() => Array.isArray)();
const isBrowser = typeof window !== 'undefined';

@@ -220,15 +220,17 @@ const isNil = (v) => v === undefined || v === null;

const isSet =
typeof Set !== 'function' || !Set.prototype.has
typeof Set !== 'function' || !(/*#__PURE__*/ (() => Set.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Set;
const isWeakSet =
typeof WeakSet !== 'function' || !WeakSet.prototype.has
typeof WeakSet !== 'function' ||
!(/*#__PURE__*/ (() => WeakSet.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof WeakSet;
const isMap =
typeof Map !== 'function' || !Map.prototype.has
typeof Map !== 'function' || !(/*#__PURE__*/ (() => Map.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Map;
const isWeakMap =
typeof WeakMap !== 'function' || !WeakMap.prototype.has
typeof WeakMap !== 'function' ||
!(/*#__PURE__*/ (() => WeakMap.prototype.has)())
? () => false

@@ -286,17 +288,20 @@ : (v) => isObject(v) && v instanceof WeakMap;

'(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
const IPv4AddressFormat = `(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`;
const IPv4AddressRegExp = new RegExp(`^${IPv4AddressFormat}$`);
const IPv4AddressFormat = /*#__PURE__*/ (() =>
`(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`)();
const IPv4AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(`^${IPv4AddressFormat}$`))();
const IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
const IPv6AddressRegExp = new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
);
const IPv6AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
))();
// https://github.com/validatorjs/validator.js/blob/master/src/lib/isIP.js

@@ -400,14 +405,17 @@ const isIP = (val, version) => {

const freeSelf =
typeof self === 'object' && self !== null && self.Object === Object && self;
const freeGlobal =
const freeSelf = /*#__PURE__*/ (() =>
typeof self === 'object' &&
self !== null &&
self.Object === Object &&
self)();
const freeGlobal = /*#__PURE__*/ (() =>
typeof global === 'object' &&
global !== null &&
global.Object === Object &&
global;
const freeGlobalThis =
global)();
const freeGlobalThis = /*#__PURE__*/ (() =>
typeof globalThis === 'object' &&
globalThis !== null &&
globalThis.Object === Object &&
globalThis;
globalThis)();
const root =

@@ -417,2 +425,3 @@ freeGlobalThis ||

freeSelf ||
/*#__PURE__*/
(function () {

@@ -837,4 +846,4 @@ return this;

};
const jsonParse = createJSONParse();
const jsonStringify = createJSONStringify();
const jsonParse = /*#__PURE__*/ createJSONParse();
const jsonStringify = /*#__PURE__*/ createJSONStringify();

@@ -1375,4 +1384,4 @@ const defaultStringifyOptions = {

};
const now =
typeof performance.now === 'function' ? () => performance.now() : Date.now;
const now = () =>
typeof performance.now === 'function' ? performance.now() : Date.now();
const idleCallback =

@@ -1379,0 +1388,0 @@ typeof requestIdleCallback !== 'undefined' ? requestIdleCallback : raf;

@@ -200,3 +200,3 @@ export { Queue } from 'small-queue';

const toRawType = (v) => objectToString.call(v).slice(8, -1).toLowerCase();
const isArray = Array.isArray;
const isArray = /*#__PURE__*/ (() => Array.isArray)();
const isBrowser = typeof window !== 'undefined';

@@ -218,15 +218,17 @@ const isNil = (v) => v === undefined || v === null;

const isSet =
typeof Set !== 'function' || !Set.prototype.has
typeof Set !== 'function' || !(/*#__PURE__*/ (() => Set.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Set;
const isWeakSet =
typeof WeakSet !== 'function' || !WeakSet.prototype.has
typeof WeakSet !== 'function' ||
!(/*#__PURE__*/ (() => WeakSet.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof WeakSet;
const isMap =
typeof Map !== 'function' || !Map.prototype.has
typeof Map !== 'function' || !(/*#__PURE__*/ (() => Map.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Map;
const isWeakMap =
typeof WeakMap !== 'function' || !WeakMap.prototype.has
typeof WeakMap !== 'function' ||
!(/*#__PURE__*/ (() => WeakMap.prototype.has)())
? () => false

@@ -284,17 +286,20 @@ : (v) => isObject(v) && v instanceof WeakMap;

'(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
const IPv4AddressFormat = `(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`;
const IPv4AddressRegExp = new RegExp(`^${IPv4AddressFormat}$`);
const IPv4AddressFormat = /*#__PURE__*/ (() =>
`(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`)();
const IPv4AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(`^${IPv4AddressFormat}$`))();
const IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
const IPv6AddressRegExp = new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
);
const IPv6AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
))();
// https://github.com/validatorjs/validator.js/blob/master/src/lib/isIP.js

@@ -398,14 +403,17 @@ const isIP = (val, version) => {

const freeSelf =
typeof self === 'object' && self !== null && self.Object === Object && self;
const freeGlobal =
const freeSelf = /*#__PURE__*/ (() =>
typeof self === 'object' &&
self !== null &&
self.Object === Object &&
self)();
const freeGlobal = /*#__PURE__*/ (() =>
typeof global === 'object' &&
global !== null &&
global.Object === Object &&
global;
const freeGlobalThis =
global)();
const freeGlobalThis = /*#__PURE__*/ (() =>
typeof globalThis === 'object' &&
globalThis !== null &&
globalThis.Object === Object &&
globalThis;
globalThis)();
const root =

@@ -415,2 +423,3 @@ freeGlobalThis ||

freeSelf ||
/*#__PURE__*/
(function () {

@@ -835,4 +844,4 @@ return this;

};
const jsonParse = createJSONParse();
const jsonStringify = createJSONStringify();
const jsonParse = /*#__PURE__*/ createJSONParse();
const jsonStringify = /*#__PURE__*/ createJSONStringify();

@@ -1373,4 +1382,4 @@ const defaultStringifyOptions = {

};
const now =
typeof performance.now === 'function' ? () => performance.now() : Date.now;
const now = () =>
typeof performance.now === 'function' ? performance.now() : Date.now();
const idleCallback =

@@ -1377,0 +1386,0 @@ typeof requestIdleCallback !== 'undefined' ? requestIdleCallback : raf;

@@ -211,3 +211,3 @@ (function (global, factory) {

const toRawType = (v) => objectToString.call(v).slice(8, -1).toLowerCase();
const isArray = Array.isArray;
const isArray = /*#__PURE__*/ (() => Array.isArray)();
const isBrowser = typeof window !== 'undefined';

@@ -229,15 +229,17 @@ const isNil = (v) => v === undefined || v === null;

const isSet =
typeof Set !== 'function' || !Set.prototype.has
typeof Set !== 'function' || !(/*#__PURE__*/ (() => Set.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Set;
const isWeakSet =
typeof WeakSet !== 'function' || !WeakSet.prototype.has
typeof WeakSet !== 'function' ||
!(/*#__PURE__*/ (() => WeakSet.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof WeakSet;
const isMap =
typeof Map !== 'function' || !Map.prototype.has
typeof Map !== 'function' || !(/*#__PURE__*/ (() => Map.prototype.has)())
? () => false
: (v) => isObject(v) && v instanceof Map;
const isWeakMap =
typeof WeakMap !== 'function' || !WeakMap.prototype.has
typeof WeakMap !== 'function' ||
!(/*#__PURE__*/ (() => WeakMap.prototype.has)())
? () => false

@@ -295,17 +297,20 @@ : (v) => isObject(v) && v instanceof WeakMap;

'(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
const IPv4AddressFormat = `(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`;
const IPv4AddressRegExp = new RegExp(`^${IPv4AddressFormat}$`);
const IPv4AddressFormat = /*#__PURE__*/ (() =>
`(${IPv4SegmentFormat}[.]){3}${IPv4SegmentFormat}`)();
const IPv4AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(`^${IPv4AddressFormat}$`))();
const IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
const IPv6AddressRegExp = new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
);
const IPv6AddressRegExp = /*#__PURE__*/ (() =>
new RegExp(
'^(' +
`(?:${IPv6SegmentFormat}:){7}(?:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){6}(?:${IPv4AddressFormat}|:${IPv6SegmentFormat}|:)|` +
`(?:${IPv6SegmentFormat}:){5}(?::${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,2}|:)|` +
`(?:${IPv6SegmentFormat}:){4}(?:(:${IPv6SegmentFormat}){0,1}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,3}|:)|` +
`(?:${IPv6SegmentFormat}:){3}(?:(:${IPv6SegmentFormat}){0,2}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,4}|:)|` +
`(?:${IPv6SegmentFormat}:){2}(?:(:${IPv6SegmentFormat}){0,3}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,5}|:)|` +
`(?:${IPv6SegmentFormat}:){1}(?:(:${IPv6SegmentFormat}){0,4}:${IPv4AddressFormat}|(:${IPv6SegmentFormat}){1,6}|:)|` +
`(?::((?::${IPv6SegmentFormat}){0,5}:${IPv4AddressFormat}|(?::${IPv6SegmentFormat}){1,7}|:))` +
')(%[0-9a-zA-Z-.:]{1,})?$',
))();
// https://github.com/validatorjs/validator.js/blob/master/src/lib/isIP.js

@@ -455,14 +460,17 @@ const isIP = (val, version) => {

const freeSelf =
typeof self === 'object' && self !== null && self.Object === Object && self;
const freeGlobal =
const freeSelf = /*#__PURE__*/ (() =>
typeof self === 'object' &&
self !== null &&
self.Object === Object &&
self)();
const freeGlobal = /*#__PURE__*/ (() =>
typeof global === 'object' &&
global !== null &&
global.Object === Object &&
global;
const freeGlobalThis =
global)();
const freeGlobalThis = /*#__PURE__*/ (() =>
typeof globalThis === 'object' &&
globalThis !== null &&
globalThis.Object === Object &&
globalThis;
globalThis)();
const root =

@@ -472,2 +480,3 @@ freeGlobalThis ||

freeSelf ||
/*#__PURE__*/
(function () {

@@ -894,4 +903,4 @@ return this;

};
const jsonParse = createJSONParse();
const jsonStringify = createJSONStringify();
const jsonParse = /*#__PURE__*/ createJSONParse();
const jsonStringify = /*#__PURE__*/ createJSONStringify();

@@ -1436,4 +1445,4 @@ const defaultStringifyOptions = {

};
const now =
typeof performance.now === 'function' ? () => performance.now() : Date.now;
const now = () =>
typeof performance.now === 'function' ? performance.now() : Date.now();
const idleCallback =

@@ -1440,0 +1449,0 @@ typeof requestIdleCallback !== 'undefined' ? requestIdleCallback : raf;

{
"name": "aidly",
"version": "1.4.7",
"version": "1.4.8",
"description": "Tool library.",

@@ -23,3 +23,5 @@ "sideEffects": false,

},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {

@@ -65,5 +67,6 @@ "test": "jest",

"@types/node": "^20.14.9",
"esbuild": "^0.23.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.5",
"jest": "^29.7.0",
"prettier": "^2.5.1",

@@ -70,0 +73,0 @@ "rimraf": "^5.0.7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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