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

@tolgee/core

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tolgee/core - npm Package Compare versions

Comparing version 5.19.1-prerelease.e51a5792.0 to 5.19.1-prerelease.e55c6636.0

@@ -40,6 +40,2 @@ import { ChangeTranslationInterface, TreeTranslationsData } from './cache';

export type WrapperUnwrapFunction = (text: string) => Unwrapped;
export type WrapperAttributeXPathGetter = (props: {
tag: string;
attribute: string;
}) => string;
export type HighlightInterface = (key?: string, ns?: NsFallback) => Highlighter;

@@ -82,5 +78,3 @@ export type FindPositionsInterface = (key?: string, ns?: NsFallback) => KeyPosition[];

wrap: WrapperWrapFunction;
getTextXPath: () => string;
testTextNode: (node: Text) => boolean;
getAttributeXPath: WrapperAttributeXPathGetter;
testAttribute: (node: Attr) => boolean;

@@ -87,0 +81,0 @@ };

{
"name": "@tolgee/core",
"version": "5.19.1-prerelease.e51a5792.0",
"version": "5.19.1-prerelease.e55c6636.0",
"description": "Library providing ability to translate messages directly in context of developed application.",

@@ -72,3 +72,3 @@ "main": "./dist/tolgee.cjs.js",

"sideEffects": false,
"gitHead": "7f2416f020b804ea011a6a2ee0225cffa0b9227c"
"gitHead": "6221625495f8c36fa2de060012fd74b653d475b3"
}

@@ -64,7 +64,2 @@ import { ChangeTranslationInterface, TreeTranslationsData } from './cache';

export type WrapperAttributeXPathGetter = (props: {
tag: string;
attribute: string;
}) => string;
export type HighlightInterface = (key?: string, ns?: NsFallback) => Highlighter;

@@ -122,5 +117,3 @@ export type FindPositionsInterface = (

wrap: WrapperWrapFunction;
getTextXPath: () => string;
testTextNode: (node: Text) => boolean;
getAttributeXPath: WrapperAttributeXPathGetter;
testAttribute: (node: Attr) => boolean;

@@ -127,0 +120,0 @@ };