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

rusted

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rusted - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

lib/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.impl = exports.match = exports.Enum = exports.Err = exports.Ok = exports.Result = undefined;
exports.impl = exports.match = exports.Enum = exports.None = exports.Some = exports.Option = exports.Err = exports.Ok = exports.Result = undefined;

@@ -23,2 +23,4 @@ var _enum = require('./enum');

var _option = require('./option');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -29,4 +31,7 @@

exports.Err = _result.Err;
exports.Option = _option.Option;
exports.Some = _option.Some;
exports.None = _option.None;
exports.Enum = _enum2.default;
exports.match = _match2.default;
exports.impl = _impl2.default;

2

package.json
{
"name": "rusted",
"version": "0.1.3",
"version": "0.1.4",
"description": "Rust like enum, Result and Option for javascript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -6,2 +6,3 @@ import Enum from './enum';

import {Result,Ok,Err} from './result';
import {Option,Some,None} from './option';

@@ -12,2 +13,5 @@ export {

Err,
Option,
Some,
None,
Enum,

@@ -14,0 +18,0 @@ match,

Sorry, the diff of this file is not supported yet

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