@startupjs/backend
Advanced tools
Comparing version 0.23.32 to 0.23.35
@@ -97,3 +97,8 @@ const isPlainObject = require('lodash/isPlainObject') | ||
if (options.validateSchema && global.STARTUP_JS_ORM && Object.keys(global.STARTUP_JS_ORM).length > 0) { | ||
if ( | ||
options.validateSchema && | ||
process.env.NODE_ENV !== 'production' && | ||
global.STARTUP_JS_ORM && | ||
Object.keys(global.STARTUP_JS_ORM).length > 0 | ||
) { | ||
const schemaPerCollection = { schemas: {}, formats: {}, validators: {} } | ||
@@ -100,0 +105,0 @@ |
{ | ||
"name": "@startupjs/backend", | ||
"version": "0.23.32", | ||
"version": "0.23.35", | ||
"description": "Create new ShareDB backend instance", | ||
@@ -29,3 +29,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "1a5200a3b4e9158aa5b535322a543cd0a755120a" | ||
"gitHead": "ac7513e8ffd81df23015d8f4012bc4cae9a8fc79" | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
6294
152
5