@kasko/fe-webapp-product-loader-lib
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -1,6 +0,9 @@ | ||
const productLoader = require('./dist/product-loader.js'); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const loaderLocation = './dist/product-loader.js'; | ||
const loaderContent = fs.readFileSync(path.join(__dirname, loaderLocation), 'utf8'); | ||
module.exports = { | ||
KaskoProductLoader: productLoader, | ||
KaskoProductLoaderPlugin: `<script>${productLoader}</script>`, | ||
KaskoProductLoaderScriptTag: `<script>${loaderContent}</script>`, | ||
}; |
{ | ||
"name": "@kasko/fe-webapp-product-loader-lib", | ||
"shortname": "fe-webapp-product-loader-lib", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"description": "Kasko product loader", | ||
@@ -6,0 +6,0 @@ "license": "UNLICENSED", |
@@ -17,3 +17,3 @@ # FE product loader library | ||
```js | ||
const { KaskoProductLoaderPlugin } = require('@kasko/fe-webapp-product-loader-lib'); | ||
const { KaskoProductLoaderScriptTag } = require('@kasko/fe-webapp-product-loader-lib'); | ||
``` | ||
@@ -20,0 +20,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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
192687
7
1