Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2

dist/array.js

23

dist/index.d.ts

@@ -1,1 +0,22 @@

export {};
import * as arrayMap from "./array";
import * as coreMap from "./core";
import * as mathMap from "./math";
import * as systemMap from "./system";
declare const _default: {
bubbleSort: typeof arrayMap.bubbleSort;
selectionSort: typeof arrayMap.selectionSort;
insertionSort: typeof arrayMap.insertionSort;
mergeSort: typeof arrayMap.mergeSort;
quickSort: typeof arrayMap.quickSort;
heapSort: typeof arrayMap.heapSort;
timSort: typeof arrayMap.timSort;
chunks: typeof arrayMap.chunks;
lerp: typeof coreMap.lerp;
checkRectangleCollision: typeof coreMap.checkRectangleCollision;
sum: typeof mathMap.sum;
mode: typeof mathMap.mode;
median: typeof mathMap.median;
mean: typeof mathMap.mean;
measurePerformance: typeof systemMap.measurePerformance;
};
export default _default;

2

dist/index.js

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

"use strict";
"use strict";const e=require("./array.js"),o=require("./core.js"),r=require("./mode-Bzvdh_G5.cjs"),t=require("./system.js"),n={bubbleSort:e.bubbleSort,selectionSort:e.selectionSort,insertionSort:e.insertionSort,mergeSort:e.mergeSort,quickSort:e.quickSort,heapSort:e.heapSort,timSort:e.timSort,chunks:e.chunks,lerp:o.lerp,checkRectangleCollision:o.checkRectangleCollision,sum:r.sum,mode:r.mode,median:r.median,mean:r.mean,measurePerformance:t.measurePerformance};module.exports=n;

@@ -29,6 +29,34 @@ {

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

@@ -35,0 +63,0 @@ "dev": "vite",

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