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

prototype-helper

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prototype-helper - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/extension/array.d.ts

9

@types/index.d.ts

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

export {};
interface Number {
toComma(): string;
ampersand(amp: number): number;
safeDivision(value: number): number;
safeMultiply(value: number): number;
safeAdd(value: number): number;
safeSubtract(value: number): number;
}

2

dist/extension/number.js
"use strict";
Number.prototype.toComma = function () {
if (`$[this}`.length == 0)
if (`${this}`.length == 0)
return "0";

@@ -5,0 +5,0 @@ return `${this}`.toComma();

{
"name": "prototype-helper",
"version": "0.1.0",
"version": "0.1.1",
"private": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {

@@ -25,3 +27,3 @@ "consola": "^2.15.3",

"test": "jest --detectOpenHandles --forceExit",
"publish": "npm run build && npm publish"
"publish": "yarn build && npm publish"
},

@@ -28,0 +30,0 @@ "nodemonConfig": {

@@ -20,3 +20,4 @@ {

"allowSyntheticDefaultImports": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"declaration": true
},

@@ -23,0 +24,0 @@ "include": ["./src/**/*.ts"],

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