Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

the-math

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-math - npm Package Compare versions

Comparing version 0.0.3 to 1.0.0

dist/operations/add.d.ts

25

dist/index.d.ts

@@ -1,15 +0,16 @@

import division from './operations/division';
import minus from './operations/minus';
import multiplication from './operations/multiplication';
import plus from './operations/plus';
import divide from './operations/divide';
import subtract from './operations/subtract';
import multiply from './operations/multiply';
import add from './operations/add';
declare const TheMath: {
minus: typeof minus;
m: typeof minus;
plus: typeof plus;
p: typeof plus;
division: typeof division;
dv: typeof division;
multiplication: typeof multiplication;
ml: typeof multiplication;
subtract: typeof subtract;
s: typeof subtract;
add: typeof add;
a: typeof add;
divide: typeof divide;
d: typeof divide;
multiply: typeof multiply;
m: typeof multiply;
resolve: (operation: string) => number;
};
export default TheMath;

@@ -6,16 +6,18 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var division_1 = __importDefault(require("./operations/division"));
var minus_1 = __importDefault(require("./operations/minus"));
var multiplication_1 = __importDefault(require("./operations/multiplication"));
var plus_1 = __importDefault(require("./operations/plus"));
var divide_1 = __importDefault(require("./operations/divide"));
var subtract_1 = __importDefault(require("./operations/subtract"));
var multiply_1 = __importDefault(require("./operations/multiply"));
var add_1 = __importDefault(require("./operations/add"));
var resolve_1 = __importDefault(require("./resolve"));
var TheMath = {
minus: minus_1.default,
m: minus_1.default,
plus: plus_1.default,
p: plus_1.default,
division: division_1.default,
dv: division_1.default,
multiplication: multiplication_1.default,
ml: multiplication_1.default
subtract: subtract_1.default,
s: subtract_1.default,
add: add_1.default,
a: add_1.default,
divide: divide_1.default,
d: divide_1.default,
multiply: multiply_1.default,
m: multiply_1.default,
resolve: resolve_1.default
};
exports.default = TheMath;
{
"name": "the-math",
"version": "0.0.3",
"version": "1.0.0",
"description": "Core of TheMath Calculator",
"main": "./dist/index.js",
"license": "MIT",
"public": "false",
"publishConfig": {
"access": "public"
},
"scripts": {

@@ -29,6 +31,3 @@ "build": "tsc",

"ts-jest": "^27.0.4"
},
"publishConfig": {
"access": "public"
}
}
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