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

@-0/browser

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@-0/browser - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

11

lib/tasks/routing.d.ts

@@ -25,2 +25,13 @@ import { RouterCFG, Router } from "@-0/keys";

};
export declare const HREF_PUSHSTATE_DOM: {
sub$: string;
args: any;
reso: (acc: {}, res: {}) => any;
erro: (acc: {}, err: Error, out$: import("@thi.ng/rstream").ISubscribable<any>) => any;
} | {
sub$: string;
args: any;
reso?: undefined;
erro?: undefined;
};
export declare const URL_DOM__ROUTE: (CFG: any) => (ACC: any) => ({

@@ -27,0 +38,0 @@ sub$: string;

3

lib/tasks/routing.js

@@ -52,2 +52,3 @@ import { isPlainObject } from "@thi.ng/checks";

export const SET_LINK_ATTRS_DOM = registerCMD(cmd_set_link_attrs_dom);
export const HREF_PUSHSTATE_DOM = registerCMD(cmd_href_pushstate_dom);
export const URL_DOM__ROUTE = CFG => {

@@ -57,3 +58,3 @@ const match = URL__ROUTE(CFG);

SET_ROUTE_LOADING_TRUE,
Object.assign(Object.assign({}, cmd_href_pushstate_dom), { [CMD_ARGS]: { [URL_FULL]: ACC[URL_FULL], [DOM_NODE]: ACC[DOM_NODE] } }),
Object.assign(Object.assign({}, HREF_PUSHSTATE_DOM), { [CMD_ARGS]: { [URL_FULL]: ACC[URL_FULL], [DOM_NODE]: ACC[DOM_NODE] } }),
ACC => match({ [URL_FULL]: ACC[URL_FULL] }),

@@ -60,0 +61,0 @@ Object.assign(Object.assign({}, SET_STATE), { [CMD_ARGS]: acc => ({

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.3.8",
"version": "0.3.9",
"description": "Browser helpers for -0 state management, routing and the interaction between",

@@ -8,0 +8,0 @@ "main": "./lib/index.js",

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