Sign In

@sisense/sdk-common

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sisense/sdk-common - npm Package Compare versions

Comparing version
2.30.0
to
2.31.0
+3
-3
dist/cjs/i18n/i18next.d.ts
import { type i18n, type Module, type Resource } from 'i18next';
declare type I18NextInstanceConfig = {
type I18NextInstanceConfig = {
resource: Resource;

@@ -8,4 +8,4 @@ plugins?: Module[];

};
export declare type I18NextInstance = i18n;
export declare type I18NextInitResult = {
export type I18NextInstance = i18n;
export type I18NextInitResult = {
i18nextInstance: I18NextInstance;

@@ -12,0 +12,0 @@ initPromise: Promise<I18NextInstance>;

@@ -18,2 +18,2 @@ export declare const translation: {

*/
export declare type TranslationDictionary = typeof translation;
export type TranslationDictionary = typeof translation;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.escapeSingleQuotes = void 0;
exports.escapeSingleQuotes = escapeSingleQuotes;
function escapeSingleQuotes(str) {

@@ -12,2 +12,1 @@ if (!str) {

}
exports.escapeSingleQuotes = escapeSingleQuotes;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.levenshtein = void 0;
exports.levenshtein = levenshtein;
/**

@@ -24,2 +24,1 @@ * Computes the Levenshtein (edit) distance between two strings.

}
exports.levenshtein = levenshtein;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeUrlsWithParams = exports.normalizeUrl = void 0;
exports.normalizeUrl = normalizeUrl;
exports.mergeUrlsWithParams = mergeUrlsWithParams;
/**

@@ -28,3 +29,2 @@ * Normalizes a URL string by ensuring it has a trailing slash and optionally includes search parameters.

}
exports.normalizeUrl = normalizeUrl;
/**

@@ -85,2 +85,1 @@ * Merges two URLs, combining their paths and query parameters.

}
exports.mergeUrlsWithParams = mergeUrlsWithParams;
import { type i18n, type Module, type Resource } from 'i18next';
declare type I18NextInstanceConfig = {
type I18NextInstanceConfig = {
resource: Resource;

@@ -8,4 +8,4 @@ plugins?: Module[];

};
export declare type I18NextInstance = i18n;
export declare type I18NextInitResult = {
export type I18NextInstance = i18n;
export type I18NextInitResult = {
i18nextInstance: I18NextInstance;

@@ -12,0 +12,0 @@ initPromise: Promise<I18NextInstance>;

@@ -18,2 +18,2 @@ export declare const translation: {

*/
export declare type TranslationDictionary = typeof translation;
export type TranslationDictionary = typeof translation;

@@ -14,3 +14,3 @@ {

],
"version": "2.30.0",
"version": "2.31.0",
"type": "module",

@@ -43,3 +43,3 @@ "exports": {

"devDependencies": {
"typescript": "4.8.4",
"typescript": "5.5.4",
"vitest": "^3.2.4"

@@ -46,0 +46,0 @@ },

@@ -6,7 +6,6 @@ {

"module": "es2020",
// "moduleResolution": "node",
"moduleResolution": "node",
"composite": true,
"rootDir": "./src",
"outDir": "./dist",
"suppressImplicitAnyIndexErrors": false,
"lib": ["ES2017", "dom", "ES2020.String", "ESNext"]

@@ -13,0 +12,0 @@ },

@@ -5,4 +5,5 @@ {

"outDir": "./dist/cjs",
"module": "CommonJS"
"module": "CommonJS",
"moduleResolution": "node"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet