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

zoid

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zoid - npm Package Compare versions

Comparing version 9.0.67 to 9.0.68

2

package.json
{
"name": "zoid",
"version": "9.0.67",
"version": "9.0.68",
"description": "Cross domain components.",

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

@@ -37,2 +37,7 @@ /* @flow */

type Attributes = {|
iframe? : { [string] : string },
popup? : { [string] : string }
|};
export type ComponentOptionsType<P, X> = {|

@@ -53,6 +58,3 @@

attributes? : {|
iframe? : { [string] : string },
popup? : { [string] : string }
|},
attributes? : Attributes | ({| props : PropsType<P> |}) => Attributes,

@@ -68,3 +70,5 @@ eligible? : ({| props : PropsInputType<P> |}) => {| eligible : boolean, reason? : string |},

logger? : Logger
logger? : Logger,
exports? : ({| getExports : () => ZalgoPromise<X> |}) => X
|};

@@ -123,7 +127,9 @@

export type ZoidComponent<P, X = void> = {
(PropsInputType<P>) : ZoidComponentInstance<P, X>,
driver : (string, mixed) => mixed,
(props? : PropsInputType<P> | void) : ZoidComponentInstance<P, X>,
// eslint-disable-next-line no-undef
driver : <T>(string, mixed) => T,
isChild : () => boolean,
xprops? : PropsType<P>,
canRenderTo : (CrossDomainWindowType) => ZalgoPromise<boolean>
canRenderTo : (CrossDomainWindowType) => ZalgoPromise<boolean>,
instances : $ReadOnlyArray<ZoidComponentInstance<P, X>>
};

@@ -201,3 +207,3 @@

export type Component<P, X> = {|
init : (PropsInputType<P>) => ZoidComponentInstance<P, X>,
init : (props? : PropsInputType<P> | void) => ZoidComponentInstance<P, X>,
instances : $ReadOnlyArray<ZoidComponentInstance<P, X>>,

@@ -309,6 +315,6 @@ driver : (string, mixed) => mixed,

const init = (props : PropsInputType<P>) : ZoidComponentInstance<P, X> => {
const init = (inputProps? : PropsInputType<P> | void) : ZoidComponentInstance<P, X> => {
// eslint-disable-next-line prefer-const
let instance;
props = props || getDefaultInputProps();
const props = inputProps || getDefaultInputProps();

@@ -437,3 +443,3 @@ const { eligible: eligibility, reason } = eligible({ props });

const init = (props) => comp.init(props);
const init = (props? : PropsInputType<P> | void) => comp.init(props);
init.driver = (name, dep) => comp.driver(name, dep);

@@ -440,0 +446,0 @@ init.isChild = () => comp.isChild();

@@ -117,3 +117,4 @@ /* @flow */

queryParam? : boolean | string | ({| value : T |}) => (string | ZalgoPromise<string>),
queryValue? : ({| value : T |}) => (ZalgoPromise<string> | string),
// eslint-disable-next-line no-undef
queryValue? : <V>({| value : T |}) => (ZalgoPromise<V> | V),
sendToChild? : boolean,

@@ -120,0 +121,0 @@ allowDelegate? : boolean,

@@ -20,2 +20,2 @@ /* @flow */

export type StringMatcherType = string | $ReadOnlyArray<string>;
export type StringMatcherType = string | $ReadOnlyArray<string> | RegExp;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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