Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.17 to 2.4.18

2

lib/main/ts/ephox/katamari/api/Fun.d.ts
declare const noop: (...args: any[]) => void;
declare const noarg: <T>(f: () => T) => (...args: any[]) => T;
declare const noarg: <T>(f: () => T) => (...args: any[]) => void;
declare const compose: <T extends any[], U, V>(fa: (v: U) => V, fb: (...x: T) => U) => (...x: T) => V;

@@ -4,0 +4,0 @@ declare const constant: <T>(value?: T) => (...args: any[]) => T;

@@ -1,16 +0,3 @@

var noop = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
};
var noarg = function (f) {
return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
return f();
};
};
var noop = function () { };
var noarg = function (f) { return function () { return f(); }; };
var compose = function (fa, fb) {

@@ -17,0 +4,0 @@ return function () {

{
"name": "@ephox/katamari",
"version": "2.4.17",
"version": "2.4.18",
"description": "Basic data type library",

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

"types": "./lib/main/ts/ephox/katamari/api/Main.d.ts",
"gitHead": "8a4db7a4aff74f3a858d9125c7ab674954b8a33a"
"gitHead": "d0fb3dbe6af35dbc360baa9f44c04dd7c5059f8c"
}

@@ -1,8 +0,6 @@

const noop = function (...args: any[]) { };
const noop: (...args: any[]) => void
= () => { };
const noarg = function <T> (f: () => T) {
return function (...args: any[]) {
return f();
};
};
const noarg: <T>(f: () => T) => (...args: any[]) => void
= (f) => () => f();

@@ -9,0 +7,0 @@ const compose = function <T extends any[], U, V> (fa: (v: U) => V, fb: (...x: T) => U): (...x: T) => V {

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