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

@ribajs/i18n

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/i18n - npm Package Compare versions

Comparing version 1.9.0-beta.3 to 1.9.0-beta.4

2

dist/components/abstract-switcher/switcher.abstract.component.d.ts

@@ -31,3 +31,3 @@ import { Component } from "@ribajs/core";

toggle(event?: Event): void;
protected init(observedAttributes: string[]): Promise<null | undefined>;
protected init(observedAttributes: string[]): Promise<void>;
protected initLocales(langcode: string): Promise<Langcode[]>;

@@ -34,0 +34,0 @@ protected setLangcode(langcode: string): void;

@@ -57,4 +57,4 @@ import { Component } from "@ribajs/core";

return this.initLocales(langcode).then(( /*langcodes*/) => {
return super.init(observedAttributes).then((view) => {
resolve(view);
return super.init(observedAttributes).then(() => {
resolve();
});

@@ -104,2 +104,2 @@ });

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoZXIuYWJzdHJhY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYWJzdHJhY3Qtc3dpdGNoZXIvc3dpdGNoZXIuYWJzdHJhY3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFXekMsTUFBTSxPQUFnQixzQkFBdUIsU0FBUSxTQUFTO0lBVTVELFlBQVksT0FBcUI7UUFDL0IsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBUlAsVUFBSyxHQUFHO1lBQ2hCLFNBQVMsRUFBRSxFQUFnQjtZQUMzQixNQUFNLEVBQUUsSUFBSSxDQUFDLE1BQU07WUFDbkIsTUFBTSxFQUFFLElBQ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BQ2hCLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztDQUNGIn0=

@@ -18,4 +18,2 @@ import { hasChildNodesTrim } from "@ribajs/utils/src/dom";

this.scope.labelTemplate = labelTemplate;
this.init(Bs4ShareComponent.observedAttributes);
this.addEventListeners();
}

@@ -31,2 +29,3 @@ static get observedAttributes() {

connectedCallback() {
super.connectedCallback();
this.init(Bs4ShareComponent.observedAttributes);

@@ -69,3 +68,3 @@ this.addEventListeners();

const langcode = await this.initTranslate();
if (this.scope.textI18n) {
if (this.scope.textI18n && langcode) {
this.scope.text =

@@ -75,3 +74,3 @@ (await this.translate(langcode, this.scope.textI18n)) ||

}
if (this.scope.serviceLabelI18n) {
if (this.scope.serviceLabelI18n && langcode) {
for (const shareItem of this.scope.shareItems) {

@@ -99,2 +98,2 @@ shareItem.label =

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvc2hhcmUvc2hhcmUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFDTCxpQkFBaUIsR0FFbEIsTUFBTSwwREFBMEQsQ0FBQztBQUNsRSxPQUFPLFFBQVEsTUFBTSwrREFBK0QsQ0FBQztBQUNyRixPQUFPLGFBQWEsTUFBTSxvQkFBb0IsQ0FBQztBQXNCL0M7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBRyxDQUN2QyxjQUErQixFQUNULEVBQUU7O0lBQ3hCLFlBQU8sTUFBTSxrQkFBbUIsU0FBUSxpQkFBaUI7WUFrQnZELFlBQVksT0FBcUI7Z0JBQy9CLEtBQUssQ0FBQyxPQUFPL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QUFDO1NBQ0Y7UUFoR2UsVUFBTyxHQUFHLFlBQWE7V0FnR3JDO0FBQ0osQ0FBQyxDQUFDIn0=

@@ -15,3 +15,2 @@ import { AI18nSwitcherComponent } from "../abstract-switcher/switcher.abstract.component";

};
this.init(I18nSwitcherComponent.observedAttributes);
}

@@ -21,2 +20,6 @@ static get observedAttributes() {

}
connectedCallback() {
super.connectedCallback();
this.init(I18nSwitcherComponent.observedAttributes);
}
/**

@@ -55,2 +58,2 @@ * Switch to language by langcode

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvc3dpdGNoZXIvc3dpdGNoZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBSTFGLE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUFHLENBQzFDLGNBQStCLEVBQ1UsRUFBRTs7SUFDM0MsWUFBTyxNQUFNLHFCQUFzQixTQUFRLHNCQUFzQjtZQWtCL0QsWUFBWSxPQUFxQjtnQkFDL0IsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO2dCQWhCVixXQUFNLEdBQUcsS0FBSyxDQUFDO2dCQU1aLG1CQUFjLEdBQUcsY0FBYyxDQUFDO2dCQUVoQyxVQUFLLEdBQUc7b0JBQ2hCLFNBQVMsRUFBRSxFQUFnQjtvQkFDM0IsTUFBTSxFQUFFLElBQUksQ0FBQyxNQUFNO29CQUNuQixNQUFNLEVBQUUsSUFBSSxDQUFDLE1BQU07b0JBQ25CLEtBQUssRUFBRSxLQUFLO2lCQUNiLENBQUM7Z0JBSUEsSUFBSSxDQUFDLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxrQ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LEtBQUssQ0FBQyxDQUFDO1lBQzdCLENBQUM7WUFFUyxXQUFXLENBQUMsUUFBZ0I7Z0JBQ3BDLE9BQU8sS0FBSyxDQUFDLFdBQVcsQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUNyQyxDQUFDO1lBRVMsa0JBQWtCO2dCQUMxQixPQUFPLEVBQUUsQ0FBQztZQUNaLENBQUM7WUFFUyxvQkFBb0I7Z0JBQzVCLEtBQUssQ0FBQyxvQkFBb0IsRUFBRSxDQUFDO1lBQy9CLENBQUM7WUFFUyxRQUFRO2dCQUNoQixPQUFPLElBQUksQ0FBQztZQUNkLENBQUM7U0FDRjtRQTVEZSxVQUFPLEdBQUcsZUFBZ0I7V0E0RHhDO0FBQ0osQ0FBQyxDQUFDIn0=

@@ -24,3 +24,3 @@ import { EventDispatcher } from "@ribajs/core";

*/
get(properties?: string[], vars?: LocalVar, force?: boolean): Promise<any>;
get(properties?: string[], vars?: LocalVar, force?: boolean): Promise<string>;
/**

@@ -31,3 +31,3 @@ * Get translation by properties, e.g. `form.newsletter_label`

*/
getByCurrentLang(properties?: string[], vars?: LocalVar): Promise<any>;
getByCurrentLang(properties?: string[], vars?: LocalVar): Promise<string>;
getBrowserLangcode(): any;

@@ -34,0 +34,0 @@ getHTMLLangcode(): string;

@@ -32,3 +32,3 @@ import { EventDispatcher } from "@ribajs/core";

if (!property) {
return;
return null;
}

@@ -246,2 +246,2 @@ if (local[property]) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlcy1iYXNlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VydmljZXMvbG9jYWxlcy1iYXNlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsS0FBSyx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FFO29CQUNwQixPQUFPLFlBQVksQ0FBQyxHQUFHLENBQUM7aUJBQ3pCO2FBQ0Y7U0FDRjtRQUVELElBQ0UsT0FBTyxZQUFZLEtBQUssUUFBUTtZQUNoQyxZQUFZLEtBQUssSUFBSTtZQUNyQixZQUFZLENBQUMsS0FBSyxFQUNsQjtZQUNBLE9BQU8sWUFBWSxDQUFDLEtBQUssQ0FBQztTQUMzQjtRQUNELE9BQU8sWUFBc0IsQ0FBQztJQUNoQyxDQUFDO0NBQ0YifQ==
{
"name": "@ribajs/i18n",
"description": "Internationalization module for Riba.js",
"version": "1.9.0-beta.3",
"version": "1.9.0-beta.4",
"author": "Pascal Garber <pascal@artandcode.studio>",

@@ -23,3 +23,3 @@ "url": "https://github.com/ribajs/riba/tree/master/packages/i18n",

"scripts": {
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix && tsc --noEmit",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix && tsc --noEmit",
"build": "npm run build:module",

@@ -35,30 +35,31 @@ "build:module": "tsc",

"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@babel/runtime-corejs3": "^7.12.1",
"@ribajs/eslint-config": "1.9.0-beta.3",
"@ribajs/tsconfig": "1.9.0-beta.3",
"@ribajs/webpack-config": "1.9.0-beta.3",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"babel-loader": "^8.1.0",
"@babel/preset-env": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5",
"@ribajs/eslint-config": "1.9.0-beta.4",
"@ribajs/tsconfig": "1.9.0-beta.4",
"@ribajs/webpack-config": "1.9.0-beta.5",
"@types/jest": "^26.0.16",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"babel-loader": "^8.2.2",
"babel-plugin-array-includes": "^2.0.3",
"core-js": "^3.6.5",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.2",
"typescript": "^4.0.3",
"webpack": "^5.2.0",
"webpack-cli": "^4.1.0"
"core-js": "^3.8.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.2.0",
"prettier": "^2.2.1",
"typescript": "^4.1.2",
"webpack": "^5.9.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@ribajs/bs4": "1.9.0-beta.3",
"@ribajs/core": "1.9.0-beta.3",
"@ribajs/utils": "1.9.0-beta.3"
"@ribajs/bs4": "1.9.0-beta.4",
"@ribajs/core": "1.9.0-beta.4",
"@ribajs/utils": "1.9.0-beta.4"
},

@@ -65,0 +66,0 @@ "bugs": {

@@ -61,3 +61,3 @@ import { Component } from "@ribajs/core";

protected async init(observedAttributes: string[]) {
protected async init(observedAttributes: string[]): Promise<void> {
if (this.localesService.ready) {

@@ -71,3 +71,3 @@ const langcode = this.localesService.getLangcode();

}
return new Promise<undefined | null>((resolve) => {
return new Promise<void>((resolve) => {
this.localesService.event.on("ready", (

@@ -77,4 +77,4 @@ langcode: string /*, translationNeeded: boolean*/

return this.initLocales(langcode).then((/*langcodes*/) => {
return super.init(observedAttributes).then((view) => {
resolve(view);
return super.init(observedAttributes).then(() => {
resolve();
});

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

@@ -58,7 +58,6 @@ import { TypeOfComponent } from "@ribajs/core";

this.scope.labelTemplate = labelTemplate;
this.init(Bs4ShareComponent.observedAttributes);
this.addEventListeners();
}
protected connectedCallback() {
super.connectedCallback();
this.init(Bs4ShareComponent.observedAttributes);

@@ -69,3 +68,3 @@ this.addEventListeners();

protected async initTranslate() {
return new Promise<string>((resolve) => {
return new Promise<string | undefined>((resolve) => {
this.localesService.event.on("changed", async (langcode: string) => {

@@ -106,3 +105,3 @@ return resolve(langcode);

if (this.scope.textI18n) {
if (this.scope.textI18n && langcode) {
this.scope.text =

@@ -113,3 +112,3 @@ (await this.translate(langcode, this.scope.textI18n)) ||

if (this.scope.serviceLabelI18n) {
if (this.scope.serviceLabelI18n && langcode) {
for (const shareItem of this.scope.shareItems) {

@@ -116,0 +115,0 @@ shareItem.label =

@@ -29,2 +29,6 @@ import { TypeOfComponent } from "@ribajs/core";

super(element);
}
protected connectedCallback() {
super.connectedCallback();
this.init(I18nSwitcherComponent.observedAttributes);

@@ -31,0 +35,0 @@ }

@@ -40,3 +40,7 @@ import { EventDispatcher } from "@ribajs/core";

*/
public async get(properties?: string[], vars?: LocalVar, force = false) {
public async get(
properties?: string[],
vars?: LocalVar,
force = false
): Promise<string> {
if (!this.ready && !force) {

@@ -53,3 +57,3 @@ throw new Error("not ready");

if (!property) {
return;
return null;
}

@@ -223,3 +227,3 @@ if (local[property]) {

*/
protected abstract async getAll(): Promise<any>;
protected abstract getAll(): Promise<any>;

@@ -226,0 +230,0 @@ protected async init() {

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