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

@polywrap/result

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polywrap/result - npm Package Compare versions

Comparing version

to
0.9.1

3

build/ResultErr.js

@@ -5,5 +5,6 @@ "use strict";

// eslint-disable-next-line @typescript-eslint/naming-convention
exports.ResultErr = function (error) {
var ResultErr = function (error) {
return { ok: false, error: error };
};
exports.ResultErr = ResultErr;
//# sourceMappingURL=ResultErr.js.map

@@ -5,5 +5,6 @@ "use strict";

// eslint-disable-next-line @typescript-eslint/naming-convention
exports.ResultOk = function (data) {
var ResultOk = function (data) {
return { ok: true, value: data };
};
exports.ResultOk = ResultOk;
//# sourceMappingURL=ResultOk.js.map
{
"name": "@polywrap/result",
"description": "Result helpers",
"version": "0.9.0",
"version": "0.9.1",
"license": "MIT",

@@ -21,3 +21,3 @@ "repository": {

"ts-node": "8.10.2",
"typescript": "4.0.7"
"typescript": "4.1.6"
},

@@ -24,0 +24,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet