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
84
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-alpha.1 to 1.9.0-alpha.2

26

package.json
{
"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;

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