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

@hybridly/core

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hybridly/core - npm Package Compare versions

Comparing version 0.1.0-alpha.4 to 0.1.0-alpha.5

20

dist/index.d.ts

@@ -107,3 +107,3 @@ import { RequestData } from '@hybridly/utils';

type ConditionalNavigationOption = boolean | ((payload: HybridPayload) => boolean);
type ConditionalNavigationOption<T extends boolean | string> = T | ((payload: NavigationOptions) => T);
interface ComponentNavigationOptions {

@@ -118,7 +118,7 @@ /** Name of the component to use. */

*/
replace?: ConditionalNavigationOption;
replace?: ConditionalNavigationOption<boolean>;
/** Whether to preserve the current scrollbar position. */
preserveScroll?: ConditionalNavigationOption;
preserveScroll?: ConditionalNavigationOption<boolean>;
/** Whether to preserve the current page component state. */
preserveState?: ConditionalNavigationOption;
preserveState?: ConditionalNavigationOption<boolean>;
}

@@ -132,9 +132,9 @@ interface NavigationOptions {

*/
replace?: ConditionalNavigationOption;
/** Whether to preserve the current scrollbar position. */
preserveScroll?: ConditionalNavigationOption;
replace?: ConditionalNavigationOption<boolean>;
/** Whether to preserve the scrollbars positions on the page. */
preserveScroll?: ConditionalNavigationOption<boolean>;
/** Whether to preserve the current page component's state. */
preserveState?: ConditionalNavigationOption;
preserveState?: ConditionalNavigationOption<boolean>;
/** Whether to preserve the current URL. */
preserveUrl?: ConditionalNavigationOption;
preserveUrl?: ConditionalNavigationOption<boolean>;
/**

@@ -382,2 +382,4 @@ * Properties of the given URL to override.

onDialogClose?: (context: InternalRouterContext) => void;
/** Called when Hybridly is waiting for a component to be mounted. The given callback should be executed after the view component is mounted. */
onWaitingForMount: (callback: Function) => void;
}

@@ -384,0 +386,0 @@ interface ResolvedAdapter extends Adapter {

{
"name": "@hybridly/core",
"version": "0.1.0-alpha.4",
"version": "0.1.0-alpha.5",
"description": "Core functionality of Hybridly",

@@ -40,3 +40,3 @@ "keywords": [

"qs": "^6.11.0",
"@hybridly/utils": "0.1.0-alpha.4"
"@hybridly/utils": "0.1.0-alpha.5"
},

@@ -43,0 +43,0 @@ "devDependencies": {

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