Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "fastboot", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -63,2 +63,4 @@ # FastBoot | ||
> By default source maps are enabled by the source-maps-support package. Setting an environment variable `FASTBOOT_SOURCEMAPS_DISABLE=true` will bypass this package effectively disabling source maps support. | ||
`app.visit` takes a second parameter as `options` above which a map and allows to define additional optional per request | ||
@@ -65,0 +67,0 @@ configuration: |
@@ -57,6 +57,10 @@ 'use strict'; | ||
this.scripts = buildScripts([ | ||
require.resolve('./scripts/install-source-map-support'), | ||
...config.scripts, | ||
]); | ||
if (process.env.FASTBOOT_SOURCEMAPS_DISABLE) { | ||
this.scripts = buildScripts([...config.scripts]); | ||
} else { | ||
this.scripts = buildScripts([ | ||
require.resolve('./scripts/install-source-map-support'), | ||
...config.scripts, | ||
]); | ||
} | ||
@@ -63,0 +67,0 @@ // default to 1 if maxSandboxQueueSize is not defined so the sandbox is pre-warmed when process comes up |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
57343
1331
180
0
26639
15