@mashroom/mashroom-storage
Advanced tools
Comparing version 1.0.94 to 1.1.0
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13659
144
14
+ Added@mashroom/mashroom-utils@1.1.0(transitive)
- Removed@mashroom/mashroom-utils@1.0.94(transitive)