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

@frontegg/injector

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/injector - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "@frontegg/injector",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/cjs/index.js",

@@ -20,3 +20,3 @@ "types": "dist/esm/index.d.ts",

},
"gitHead": "95d4efa44ad273ac75cefa8e155aec5fd2f61315"
"gitHead": "b1d8b2b4c24025577a08ce64ad3adb8ffc351586"
}

@@ -5,4 +5,4 @@ import Logger from './logger';

const defaultContainerId = 'frontegg-host';
const defaultContentId = 'frontegg-content';
const CONTAINER_ID_PREFIX = 'frontegg-host';
const CONTENT_ID_PREFIX = 'frontegg-content';

@@ -33,5 +33,5 @@ declare global {

this.logger.info('Create shadow dom element');
this.hostEl = getOrCreateHtmlElementInside(`${defaultContainerId}-${name}`, document.body);
this.hostEl = getOrCreateHtmlElementInside(`${CONTAINER_ID_PREFIX}-${name}`, document.body);
this.shadowEl = this.hostEl.attachShadow({ mode: 'open' });
this.rootEl = getOrCreateHtmlElementInside(defaultContentId, this.shadowEl);
this.rootEl = getOrCreateHtmlElementInside(CONTENT_ID_PREFIX, this.shadowEl);
this.name = name;

@@ -38,0 +38,0 @@ }

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