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

@mashroom-content/mashroom-content-media-library-app

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mashroom-content/mashroom-content-media-library-app - npm Package Compare versions

Comparing version 1.0.0-alpha.5 to 1.0.0

10

package.json
{
"name": "@mashroom-content/mashroom-content-media-library-app",
"version": "1.0.0-alpha.5",
"version": "1.0.0",
"description": "Mashroom Content Media Library App",

@@ -14,6 +14,6 @@ "homepage": "https://www.mashroom-server.com",

"devDependencies": {
"@mashroom-content/mashroom-content-api": "1.0.0-alpha.5",
"@mashroom-content/mashroom-content-api": "1.0.0",
"@types/lodash.debounce": "^4.0.7",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"filesize": "^10.0.5",

@@ -24,3 +24,3 @@ "lodash.debounce": "^4.0.8",

"react-dom": "^18.2.0",
"react-intl": "^6.2.1",
"react-intl": "^6.2.5",
"react-redux": "^8.0.5",

@@ -27,0 +27,0 @@ "redux": "^4.2.0",

@@ -14,1 +14,19 @@

After that you can Drag the App _Mashroom Content Media Library App_ onto any page via Admin Toolbar.
And you can also use it in your custom Portal Apps to lookup assets like this:
```typescript
const responseChannelTopic = `__selected_video_${randomId()}__`;
const mediaLibraryAppConfig = {
modalMode: true,
typeFilter: 'image',
responseChannelTopic,
};
portalAppService.loadAppModal('Mashroom Content Media Library App', 'Select Image', mediaLibraryAppConfig).then((portalApp) => {
messageBus.subscribeOnce(responseChannelTopic, (asset: MashroomContentAsset) => {
console.debug('Received asset:', asset);
// TODO: process received asset
portalAppService.unloadApp(portalApp.id);
});
});
```

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