Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studyportals/bob-manifest-generator

Package Overview
Dependencies
Maintainers
12
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/bob-manifest-generator - npm Package Compare versions

Comparing version 3.0.0-beta.10 to 3.0.0-beta.11

2

package.json
{
"name": "@studyportals/bob-manifest-generator",
"version": "3.0.0-beta.10",
"version": "3.0.0-beta.11",
"description": "A Webpack plugin that generates a manifest file for your microservice.",

@@ -5,0 +5,0 @@ "main": "src/main.js",

@@ -185,5 +185,9 @@ const path = require('path');

const fileName = chunk.files[0];
const js = assets[fileName].source();
const jsWithoutSourceMapReference = js.substring(0, js.indexOf('//# sourceMappingURL='));
this.manifest.html = `<script>${jsWithoutSourceMapReference}</script>`;
let js = assets[fileName].source();
if(js.indexOf('//# sourceMappingURL=') !== -1){
js = js.substring(0, js.indexOf('//# sourceMappingURL='));
}
this.manifest.html = `<script>${js}</script>`;
}

@@ -190,0 +194,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc