Socket
Socket
Sign inDemoInstall

noodl-types

Package Overview
Dependencies
Maintainers
1
Versions
240
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.194 to 1.0.196

2

dist/componentTypes.d.ts

@@ -149,2 +149,2 @@ import { ActionObject } from './actionTypes';

}
export declare type PageComponentUrl<TargetPage extends string = string, CurrentPage extends string = string, ViewTag extends string = string> = `${TargetPage}@${CurrentPage}#${ViewTag}`;
export declare type PageComponentUrl<S> = S extends `${string}@${string}#${string}` ? `${string}@${string}#${string}` : string;

@@ -201,3 +201,8 @@ import isAwaitReference from './utils/isAwaitReference';

traverseReference: typeof isTraverseReference;
pageComponentUrl(v?: string): v is `${string}@${string}#${string}`;
/**
* Returns true if the string is in the format: `${string}@${string}#${string}`
* @param v
* @returns { boolean }
*/
pageComponentUrl<S extends string>(v: S | undefined): boolean;
textBoard(v: unknown): v is t.TextBoardObject;

@@ -204,0 +209,0 @@ textBoardItem<O_1 extends {

@@ -170,3 +170,8 @@ "use strict";

traverseReference: isTraverseReference_1.default,
pageComponentUrl(v = '') {
/**
* Returns true if the string is in the format: `${string}@${string}#${string}`
* @param v
* @returns { boolean }
*/
pageComponentUrl(v) {
if (!i.isStr(v))

@@ -173,0 +178,0 @@ return false;

@@ -35,4 +35,1 @@ import { ActionObject } from './actionTypes';

}
export declare namespace Url {
type PageComponent<TargetPage extends string = string, CurrentPage extends string = string, ViewTag extends string = string> = TargetPage | `${TargetPage}@${CurrentPage}#${ViewTag}`;
}

@@ -40,3 +40,3 @@ {

"typings": "./dist/index.d.ts",
"version": "1.0.194"
"version": "1.0.196"
}

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