@bam.tech/parcel-plugin-handlebars-mock
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@bam.tech/parcel-plugin-handlebars-mock", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Parcel plugin to populate html during development.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,7 +15,7 @@ const handlebars = require('handlebars'); | ||
const mockData = require(path.join(MOCK_DIR, this.basename)) | ||
const mockData = require(path.join(__dirname, '../../../..', MOCK_DIR, this.basename)) | ||
const html = template(mockData) | ||
return super.parse(code); | ||
return super.parse(html); | ||
} | ||
@@ -22,0 +22,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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1413