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

admin-iframe-compatibility

Package Overview
Dependencies
Maintainers
53
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-iframe-compatibility

Compatiblity js to adapt catalog admin to iframe

  • 1.0.97
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-95.77%
Maintainers
53
Weekly downloads
 
Created
Source

There is nothing glamorous to see here

This package is just a static JS with jquery code that runs on catalog admin pages. It is responsible for handling translations for legacy applications, messaging the admin shell to adapt its iframe container height to match its children height, and initializing Crowdin in Context script for legacy apps.

Developing locally

  • Setup:
npm install
  • You will need the requestly chrome extension linked here

  • Open requestly, and create Redirect Rules with the following semantics:

Request URL Contains //unpkg.com/admin-iframe-compatibility/index.js
Destination http://localhost:4200/index.js

Request URL Contains //unpkg.com/admin-iframe-compatibility/cms-iframe.js
Destination http://localhost:4200/cms-iframe.js
  • Save the rules and leave it on
  • Run the server
    npm start
    
  • Edit the JS, save it, run npm start again and refresh the admin page to see your changes.

Publishing a new version

Just run:

npm run deploy

or

npm run deploy:beta

A github workflow will be automatically triggered once new tags are pushed to the repository.

FAQs

Package last updated on 08 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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