@ribajs/i18n
Advanced tools
Comparing version 1.9.0-alpha.1 to 1.9.0-alpha.2
{ | ||
"name": "@ribajs/i18n", | ||
"description": "Internationalization module for Riba.js", | ||
"version": "1.9.0-alpha.1", | ||
"version": "1.9.0-alpha.2", | ||
"author": "Pascal Garber <pascal@artandcode.studio>", | ||
@@ -29,4 +29,4 @@ "url": "https://github.com/ribajs/riba/tree/master/packages/i18n", | ||
"devDependencies": { | ||
"@babel/cli": "^7.10.4", | ||
"@babel/core": "^7.10.4", | ||
"@babel/cli": "^7.10.5", | ||
"@babel/core": "^7.10.5", | ||
"@babel/plugin-proposal-class-properties": "^7.10.4", | ||
@@ -36,8 +36,8 @@ "@babel/plugin-proposal-object-rest-spread": "^7.10.4", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@babel/runtime-corejs3": "^7.10.4", | ||
"@ribajs/eslint-config": "1.9.0-alpha.1", | ||
"@ribajs/tsconfig": "1.9.0-alpha.1", | ||
"@ribajs/webpack-config": "1.9.0-alpha.1", | ||
"@typescript-eslint/eslint-plugin": "^3.6.0", | ||
"@typescript-eslint/parser": "^3.6.0", | ||
"@babel/runtime-corejs3": "^7.10.5", | ||
"@ribajs/eslint-config": "1.9.0-alpha.2", | ||
"@ribajs/tsconfig": "1.9.0-alpha.2", | ||
"@ribajs/webpack-config": "1.9.0-alpha.2", | ||
"@typescript-eslint/eslint-plugin": "^3.6.1", | ||
"@typescript-eslint/parser": "^3.6.1", | ||
"babel-loader": "^8.1.0", | ||
@@ -50,3 +50,3 @@ "babel-plugin-array-includes": "^2.0.3", | ||
"prettier": "^2.0.5", | ||
"typescript": "^3.9.6", | ||
"typescript": "^3.9.7", | ||
"webpack": "^5.0.0-beta.22", | ||
@@ -56,5 +56,5 @@ "webpack-cli": "^3.3.12" | ||
"dependencies": { | ||
"@ribajs/bs4": "1.9.0-alpha.1", | ||
"@ribajs/core": "1.9.0-alpha.1", | ||
"@ribajs/utils": "1.9.0-alpha.1" | ||
"@ribajs/bs4": "1.9.0-alpha.2", | ||
"@ribajs/core": "1.9.0-alpha.2", | ||
"@ribajs/utils": "1.9.0-alpha.2" | ||
}, | ||
@@ -61,0 +61,0 @@ "bugs": { |
import { TypeOfComponent } from "@ribajs/core"; | ||
import { hasChildNodesTrim } from "@ribajs/utils/src/dom"; | ||
import { | ||
@@ -16,7 +17,7 @@ Bs4ShareComponent, | ||
interface NavigatorShareParam { | ||
url: string; | ||
text: string; | ||
title: string; | ||
} | ||
// interface NavigatorShareParam extends ShareData { | ||
// url: string; | ||
// text: string; | ||
// title: string; | ||
// } | ||
@@ -26,3 +27,3 @@ declare global { | ||
interface Navigator { | ||
share: (data: NavigatorShareParam) => Promise<any>; | ||
share: (data?: ShareData) => Promise<void>; | ||
} | ||
@@ -127,4 +128,4 @@ } | ||
protected template() { | ||
this.debug("template", this.el, this.el.hasChildNodes()); | ||
if (this.el && this.el.hasChildNodes()) { | ||
this.debug("template", this.el, hasChildNodesTrim(this.el)); | ||
if (this.el && hasChildNodesTrim(this.el)) { | ||
// If a child is set, this is a custom label template | ||
@@ -131,0 +132,0 @@ this.scope.labelTemplate = this.el.innerHTML; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
152979
3861
0
+ Added@ribajs/bs4@1.9.0-alpha.2(transitive)
+ Added@ribajs/core@1.9.0-alpha.2(transitive)
+ Added@ribajs/extras@1.9.0-alpha.2(transitive)
+ Added@ribajs/utils@1.9.0-alpha.2(transitive)
- Removed@ribajs/bs4@1.9.0-alpha.1(transitive)
- Removed@ribajs/core@1.9.0-alpha.1(transitive)
- Removed@ribajs/extras@1.9.0-alpha.1(transitive)
- Removed@ribajs/utils@1.9.0-alpha.1(transitive)
Updated@ribajs/bs4@1.9.0-alpha.2
Updated@ribajs/core@1.9.0-alpha.2
Updated@ribajs/utils@1.9.0-alpha.2