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

@proem/some

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proem/some - npm Package Compare versions

Comparing version

to
0.0.12

esm/some.d.ts

0

lib/some.d.ts

@@ -0,0 +0,0 @@ export declare const map: {

8

lib/some.js

@@ -0,10 +1,12 @@

"use strict";
/*
Package for handling possibly null values.
*/
export var map = function (value, mapper) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.map = function (value, mapper) {
return value === null ? null : mapper(value);
};
map.partial = function (mapper) { return function (value) {
return map(value, mapper);
exports.map.partial = function (mapper) { return function (value) {
return exports.map(value, mapper);
}; };
//# sourceMappingURL=some.js.map
{
"name": "@proem/some",
"version": "0.0.6",
"version": "0.0.12",
"description": "Proem package for handling possibly null values",

@@ -17,2 +17,4 @@ "keywords": [

"main": "lib/some.js",
"module": "esm/some.js",
"types": "lib/some.d.ts",
"directories": {

@@ -22,3 +24,4 @@ "lib": "lib"

"files": [
"lib"
"lib",
"esm"
],

@@ -33,3 +36,5 @@ "publishConfig": {

"scripts": {
"prepublishOnly": "tsc -b .",
"build:commonjs": "tsc -b .",
"build:esm": "tsc -b ./tsconfig.esm.json",
"prepublishOnly": "npm run build:commonjs && npm run build:esm",
"test": "echo \"Error: run tests from root\" && exit 1"

@@ -40,6 +45,6 @@ },

},
"gitHead": "1abeefc25766642e465890a49d71c97ce7b914c6",
"dependencies": {
"gitHead": "ed14680e3bb2277def8b798b17ce1e4d201ace6a",
"devDependencies": {
"typescript": "^3.1.4"
}
}

Sorry, the diff of this file is not supported yet