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

@ephox/katamari

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ephox/katamari - npm Package Compare versions

Comparing version 2.1.13 to 2.2.1

2

lib/main/ts/ephox/katamari/api/Option.d.ts

@@ -9,2 +9,4 @@ export interface Option<T> {

getOrDie: (msg?: string) => T;
getOrNull: () => T | null;
getOrUndefined: () => T | undefined;
or: (opt: Option<T>) => Option<T>;

@@ -11,0 +13,0 @@ orThunk: (makeOption: () => Option<T>) => Option<T>;

@@ -70,2 +70,4 @@ import Fun from './Fun';

var noop = function () { };
var nul = function () { return null; };
var undef = function () { return undefined; };
var me = {

@@ -81,2 +83,4 @@ fold: function (n, s) { return n(); },

},
getOrNull: nul,
getOrUndefined: undef,
or: id,

@@ -123,2 +127,4 @@ orThunk: call,

getOrDie: constant_a,
getOrNull: constant_a,
getOrUndefined: constant_a,
or: self,

@@ -125,0 +131,0 @@ orThunk: self,

@@ -12,2 +12,4 @@ import { Option } from 'ephox/katamari/api/Option';

'getOrDie',
'getOrNull',
'getOrUndefined',
'or',

@@ -14,0 +16,0 @@ 'orThunk',

2

package.json
{
"name": "@ephox/katamari",
"version": "2.1.13",
"version": "2.2.1",
"description": "Basic data type library",

@@ -5,0 +5,0 @@ "repository": {

@@ -11,2 +11,4 @@ import Fun from './Fun';

getOrDie: (msg?: string) => T;
getOrNull: () => T | null;
getOrUndefined: () => T | undefined;
or: (opt: Option<T>) => Option<T>;

@@ -100,2 +102,4 @@ orThunk: (makeOption: () => Option<T>) => Option<T>;

var noop = function () { };
var nul = function() { return null; };
var undef = function() { return undefined; };

@@ -112,2 +116,4 @@ var me: Option<any> = {

},
getOrNull: nul,
getOrUndefined: undef,
or: id,

@@ -160,2 +166,4 @@ orThunk: call,

getOrDie: constant_a,
getOrNull: constant_a,
getOrUndefined: constant_a,
or: self,

@@ -162,0 +170,0 @@ orThunk: self,

@@ -13,2 +13,4 @@ import { Option } from 'ephox/katamari/api/Option';

'getOrDie',
'getOrNull',
'getOrUndefined',
'or',

@@ -15,0 +17,0 @@ 'orThunk',

Sorry, the diff of this file is not supported yet

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