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

tml-js-browser

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tml-js-browser - npm Package Compare versions

Comparing version 0.4.63 to 0.4.64

12

lib/tokenizers/dom.js

@@ -222,5 +222,11 @@ /**

replaceAttributes: function(node, attr){
var tml = node.getAttribute(attr);
var data = this.tokens;
var translation = this.translateTml(tml, null, true);
var tml = node.getAttribute(attr);
var data = this.tokens;
var translation = this.translateTml(tml, null, true);
var translatables = this.getOption("translatable_elements");
// check if node is a translatable element
if(translatables && !dom.matchesSelectors(node, translatables, true)){
return false;
}

@@ -227,0 +233,0 @@ node.setAttribute(attr, translation);

{
"name": "tml-js-browser",
"description": "Translation plugin for browsers.",
"version": "0.4.63",
"version": "0.4.64",
"author": {

@@ -6,0 +6,0 @@ "name": "Michael Berkovich",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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