third-party-module-by-srini 1.0.0 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +5 -5
  2. package/package.json +5 -2
  3. package/calling.js +0 -0
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
- const add = (a, b) => { console.log(a + b); }
2
- const sub = (a, b) => { console.log(a - b); }
3
- const mul = (a, b) => { console.log(a * b); }
4
- const div = (a, b) => { console.log(a / b); }
5
- const mod = (a, b) => { console.log(a % b); }
1
+ const add = (a, b) => { return a + b; }
2
+ const sub = (a, b) => { return a - b; }
3
+ const mul = (a, b) => { return a * b; }
4
+ const div = (a, b) => { return a / b; }
5
+ const mod = (a, b) => { return a % b; }
6
6
 
7
7
 
8
8
  module.exports = { add, sub, mul, div, mod }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "third-party-module-by-srini",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,5 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "type": "commonjs"
12
+ "type": "commonjs",
13
+ "dependencies": {
14
+ "third-party-module-by-srini": "^1.0.0"
15
+ }
13
16
  }
package/calling.js DELETED
File without changes