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

admin-iframe-compatibility

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-iframe-compatibility - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.gitigonre

10

package.json
{
"name": "admin-iframe-compatibility",
"version": "1.0.1",
"version": "1.0.2",
"description": "Compatiblity js to adapt catalog admin to iframe",
"main": "index.js",
"scripts": {
"test": "echo \"Sorry m8, no tests yet...\""
"test": "echo \"Sorry m8, no tests yet...\"",
"start": "node server.js"
},

@@ -18,3 +19,6 @@ "repository": {

},
"homepage": "https://github.com/vtex/admin-iframe-compatibility#readme"
"homepage": "https://github.com/vtex/admin-iframe-compatibility#readme",
"devDependencies": {
"express": "^4.16.3"
}
}

@@ -1,3 +0,23 @@

# There is nothing glamurous to see here
# There is nothing glamorous to see here
pls don't
- this package is just a static js with jquery code that runs on catalog admin pages
# Developing locally
- Setup:
```
npm install
```
- You will need requestly chrome extension [linked here](https://chrome.google.com/webstore/detail/requestly-redirect-url-mo/mdnleldcmiljblolnjhpnblkcekpdkpa)
- Open requestly, create a Redirect Rule like so:
```
Request URL Contains //unpkg.com/admin-iframe-compatibility/index.js
Destination http://localhost:4200/index.js
```
- Save it and leave it on
- Run the server and you are good to go
```
npm start
```
- Just edit the js, save it and refresh admin page to get the new version running
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