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

noodl-types

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noodl-types - npm Package Compare versions

Comparing version 1.0.45 to 1.0.46

12

dist/_internal/utils.js

@@ -7,4 +7,4 @@ "use strict";

exports.Regex = exports.isStr = exports.isHtml = exports.isJs = exports.isJson = exports.isYml = exports.isVid = exports.isPdf = exports.isImg = exports.isObj = exports.isNil = exports.isBool = exports.isArr = exports.hasInAnyKeys = exports.hasAnyKeys = exports.hasMinimumKeys = exports.hasInAllKeys = exports.hasAllKeys = exports.hasKeyEqualTo = exports.hasKey = exports.exists = exports.excludeKeys = void 0;
var lodash_get_1 = __importDefault(require("lodash.get"));
var lodash_has_1 = __importDefault(require("lodash.has"));
var get_1 = __importDefault(require("lodash/get"));
var has_1 = __importDefault(require("lodash/has"));
function excludeKeys(keys1, keys2) {

@@ -20,7 +20,7 @@ var targetKeys = Array.isArray(keys2) ? keys2 : [keys2];

function hasKey(key, value) {
return lodash_has_1.default(value, key);
return has_1.default(value, key);
}
exports.hasKey = hasKey;
function hasKeyEqualTo(key, value) {
return lodash_has_1.default(value, key) && lodash_get_1.default(value, key) === value;
return has_1.default(value, key) && get_1.default(value, key) === value;
}

@@ -36,3 +36,3 @@ exports.hasKeyEqualTo = hasKeyEqualTo;

return function (value) {
return (Array.isArray(keys) ? keys : [keys]).every(function (k) { return lodash_has_1.default(value, k); });
return (Array.isArray(keys) ? keys : [keys]).every(function (k) { return has_1.default(value, k); });
};

@@ -63,3 +63,3 @@ }

function hasInAnyKeys(keys, value) {
return (Array.isArray(keys) ? keys : [keys]).some(function (k) { return lodash_has_1.default(value, k); });
return (Array.isArray(keys) ? keys : [keys]).some(function (k) { return has_1.default(value, k); });
}

@@ -66,0 +66,0 @@ exports.hasInAnyKeys = hasInAnyKeys;

@@ -9,69 +9,69 @@ import { StyleObject } from './styleTypes';

} & {
popUp: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
popUp: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
register: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
register: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
button: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
button: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
chart: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
chart: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
chatList: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
chatList: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
divider: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
divider: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
footer: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
footer: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
header: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
header: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
image: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
image: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
label: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
label: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
list: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
list: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
listItem: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
listItem: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
map: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
map: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
page: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
page: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
plugin: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
plugin: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
pluginHead: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
pluginHead: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
pluginBodyTail: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
pluginBodyTail: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
select: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
select: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
scrollView: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
scrollView: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
textField: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
textField: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
textView: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
textView: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
video: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
video: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;
};
view: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Pick<T.AnyComponentObject, string | number> & {
view: <K extends "popUp" | "register" | "button" | "chart" | "chatList" | "divider" | "footer" | "header" | "image" | "label" | "list" | "listItem" | "map" | "page" | "plugin" | "pluginHead" | "pluginBodyTail" | "select" | "scrollView" | "textField" | "textView" | "video" | "view">(v: unknown) => v is Omit<T.AnyComponentObject, "type"> & {
type: K;

@@ -78,0 +78,0 @@ };

{
"name": "noodl-types",
"version": "1.0.45",
"version": "1.0.46",
"description": "NOODL TypeScript Definitions",

@@ -21,7 +21,3 @@ "author": "Christopher Tran <christopher@aitmed.com>",

"url": "http://gitlab.aitmed.com/pfftdammitchris/aitmed-noodl-web.git"
},
"dependencies": {
"lodash.get": "^4.4.2",
"lodash.has": "^4.5.2"
}
}

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