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

newtype

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newtype - npm Package Compare versions

Comparing version 0.0.1 to 0.0.12

dist/any-Cwhnkyrv.js

7

dist/index.d.ts

@@ -1,1 +0,6 @@

export {};
export { all, any, bubbleSort, chunk, compact, heapSort, insertionSort, intersection, mergeSort, partition, permutations, quickSort, range, sample, selectionSort, shuffle, timSort, unique, } from './array/index';
export { buildUrl, createCounter, isArray, isBigInt, isBoolean, isDate, isError, isFloat, isFunction, isInteger, isNull, isNumber, isObject, isString, isSymbol, isUndefined, parseUrl, scheduler, sleep, toType, } from './core/index';
export { age, dateCalculator, isLeapYear, isWeekend } from './date/index';
export { binomial, factorial, gcd, hypergeometric, iqr, lerp, mean, median, mode, nCr, nPr, poisson, q1, q2, q3, q4, rotateMatrix, std, sum, variance, } from './math/index';
export { isUUID, numberToRoman, replaceAll, reverse, truncate } from './string/index';
export { measurePerformance } from './system/index';

@@ -1,1 +0,79 @@

"use strict";
import { all as o, bubbleSort as t, chunk as i, compact as a, heapSort as s, insertionSort as n, intersection as m, mergeSort as l, partition as p, permutations as c, quickSort as u, range as f, sample as d, selectionSort as x, shuffle as b, timSort as S, unique as g } from "./array.js";
import { a as h } from "./any-Cwhnkyrv.js";
import { buildUrl as U, createCounter as k, isArray as C, isBigInt as I, isBoolean as v, isError as A, isFloat as B, isFunction as D, isNull as F, isObject as N, isString as P, isSymbol as T, isUndefined as j, parseUrl as E, scheduler as L, sleep as M, toType as O } from "./core.js";
import { i as W } from "./is-date-BiE_y9vK.js";
import { i as w, a as z } from "./is-integer-CycwtTGU.js";
import { age as H, dateCalculator as J, isLeapYear as K, isWeekend as Q } from "./date.js";
import { binomial as X, factorial as Z, gcd as _, hypergeometric as $, iqr as ee, lerp as re, mean as oe, median as te, mode as ie, nCr as ae, nPr as se, poisson as ne, q1 as me, q2 as le, q3 as pe, q4 as ce, rotateMatrix as ue, std as fe, sum as de, variance as xe } from "./math.js";
import { isUUID as Se, numberToRoman as ge, replaceAll as qe, reverse as he, truncate as ye } from "./string.js";
import { measurePerformance as ke } from "./system.js";
export {
H as age,
o as all,
h as any,
X as binomial,
t as bubbleSort,
U as buildUrl,
i as chunk,
a as compact,
k as createCounter,
J as dateCalculator,
Z as factorial,
_ as gcd,
s as heapSort,
$ as hypergeometric,
n as insertionSort,
m as intersection,
ee as iqr,
C as isArray,
I as isBigInt,
v as isBoolean,
W as isDate,
A as isError,
B as isFloat,
D as isFunction,
w as isInteger,
K as isLeapYear,
F as isNull,
z as isNumber,
N as isObject,
P as isString,
T as isSymbol,
Se as isUUID,
j as isUndefined,
Q as isWeekend,
re as lerp,
oe as mean,
ke as measurePerformance,
te as median,
l as mergeSort,
ie as mode,
ae as nCr,
se as nPr,
ge as numberToRoman,
E as parseUrl,
p as partition,
c as permutations,
ne as poisson,
me as q1,
le as q2,
pe as q3,
ce as q4,
u as quickSort,
f as range,
qe as replaceAll,
he as reverse,
ue as rotateMatrix,
d as sample,
L as scheduler,
x as selectionSort,
b as shuffle,
M as sleep,
fe as std,
de as sum,
S as timSort,
O as toType,
ye as truncate,
g as unique,
xe as variance
};

@@ -23,3 +23,3 @@ {

],
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",

@@ -29,7 +29,37 @@ "exports": {

"import": "./dist/index.js",
"require": "./dist/index.js"
"require": "./dist/index.cjs"
},
"./array": {
"import": "./dist/array.js",
"require": "./dist/array.cjs",
"types": "./dist/array/index.d.ts"
},
"./core": {
"import": "./dist/core.js",
"require": "./dist/core.cjs",
"types": "./dist/core/index.d.ts"
},
"./date": {
"import": "./dist/date.js",
"require": "./dist/date.cjs",
"types": "./dist/date/index.d.ts"
},
"./math": {
"import": "./dist/math.js",
"require": "./dist/math.cjs",
"types": "./dist/math/index.d.ts"
},
"./string": {
"import": "./dist/string.js",
"require": "./dist/string.cjs",
"types": "./dist/string/index.d.ts"
},
"./system": {
"import": "./dist/system.js",
"require": "./dist/system.cjs",
"types": "./dist/system/index.d.ts"
}
},
"types": "./dist/index.d.ts",
"version": "0.0.1",
"version": "0.0.12",
"scripts": {

@@ -43,7 +73,11 @@ "dev": "vite",

"@eslint/js": "^9.9.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.4.1",
"@types/uuid": "^10.0.0",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"prettier-plugin-organize-imports": "^4.0.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.1.0",
"uuid": "^10.0.0",
"vite": "^5.4.1",

@@ -50,0 +84,0 @@ "vite-plugin-dts": "^4.0.3",

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