New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tradeshift/elements

Package Overview
Dependencies
Maintainers
3
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tradeshift/elements - npm Package Compare versions

Comparing version 0.3.4 to 0.4.0

4

package.json
{
"name": "@tradeshift/elements",
"version": "0.3.4",
"version": "0.4.0",
"src": "src/core.js",

@@ -14,3 +14,3 @@ "main": "lib/core.umd.js",

},
"gitHead": "f3688e19857621dec7ef620ce84f49e8a66bd429"
"gitHead": "381c77534c9791bce759a86e5ea3c4ac6265b745"
}

@@ -15,6 +15,20 @@ import { LitElement, unsafeCSS } from 'lit-element';

}
// TODO: Remove this when changed rtl to dir in ohter components
get bodyHasRTL() {
return document.body.getAttribute('dir') === 'rtl';
}
get bodyDir() {
return document.body.getAttribute('dir') || 'ltr';
}
dispatchCustomEvent(eventName, data = {}) {
const event = new CustomEvent(eventName, {
detail: data,
bubbles: true,
composed: true
});
this.dispatchEvent(event);
}
}

@@ -21,0 +35,0 @@

Sorry, the diff of this file is not supported yet

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