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

@mashroom/mashroom-storage

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mashroom/mashroom-storage - npm Package Compare versions

Comparing version 1.0.94 to 1.1.0

14

package.json

@@ -7,3 +7,3 @@ {

"license": "MIT",
"version": "1.0.94",
"version": "1.1.0",
"files": [

@@ -14,9 +14,9 @@ "dist/**",

"dependencies": {
"@mashroom/mashroom-utils": "1.0.94"
"@mashroom/mashroom-utils": "1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@mashroom/mashroom": "1.0.94",
"eslint": "^5.16.0",
"jest": "^24.8.0"
"@babel/cli": "^7.6.0",
"@mashroom/mashroom": "1.1.0",
"eslint": "^6.4.0",
"jest": "^24.9.0"
},

@@ -32,3 +32,3 @@ "jest": {

"scripts": {
"lint": "eslint src",
"lint": "eslint src --fix",
"build": "babel src -d dist"

@@ -35,0 +35,0 @@ },

@@ -19,7 +19,11 @@

const storageService: MashroomStorageService = req.pluginContext.services.storage.service;
export default async (req: ExpressRequest, res: ExpressResponse) => {
const storageService: MashroomStorageService = req.pluginContext.services.storage.service;
const pagesCollection = await storageService.getCollection('mashroom-portal-pages');
const page = await pagesCollection.findOne({pageId});
const pagesCollection = await storageService.getCollection('mashroom-portal-pages');
const page = await pagesCollection.findOne({pageId});
// ...
}
```

@@ -26,0 +30,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