@tpham0/orange
Advanced tools
Comparing version 0.0.2 to 0.0.3-alpha.4
export declare function callMe(message: string): void; | ||
export declare function sum(list: number[]): number; |
@@ -1,2 +0,2 @@ | ||
import { printMe } from '@tpham0/apple'; | ||
import { printMe, add } from '@tpham0/apple'; | ||
@@ -6,4 +6,9 @@ function callMe(message) { | ||
} | ||
function sum(list) { | ||
return list.reduce(function (a, c) { | ||
return add(a, c); | ||
}, 0); | ||
} | ||
export { callMe }; | ||
export { callMe, sum }; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -8,4 +8,10 @@ 'use strict'; | ||
} | ||
function sum(list) { | ||
return list.reduce(function (a, c) { | ||
return apple.add(a, c); | ||
}, 0); | ||
} | ||
exports.callMe = callMe; | ||
exports.sum = sum; | ||
//# sourceMappingURL=orange.cjs.development.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";var e=require("@tpham0/apple");exports.callMe=function(r){console.log(e.printMe(r))}; | ||
"use strict";var e=require("@tpham0/apple");exports.callMe=function(r){console.log(e.printMe(r))},exports.sum=function(r){return r.reduce((function(r,t){return e.add(r,t)}),0)}; | ||
//# sourceMappingURL=orange.cjs.production.min.js.map |
{ | ||
"name": "@tpham0/orange", | ||
"version": "0.0.2", | ||
"version": "0.0.3-alpha.4+50a24f6", | ||
"description": "Orange package", | ||
@@ -23,3 +23,3 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@tpham0/apple": "^0.1.0" | ||
"@tpham0/apple": "^0.1.1-alpha.4+50a24f6" | ||
}, | ||
@@ -29,3 +29,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "3f667e6fd1926818c2172a45060fc0e733143114" | ||
"gitHead": "50a24f68df8b1b20171cc34f4f02df04d2d25304" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4049
34
1
+ Added@tpham0/apple@0.1.1-rc.0(transitive)
- Removed@tpham0/apple@0.1.0(transitive)