Socket
Socket
Sign inDemoInstall

blackbaud-bobbyearl-angular-builders

Package Overview
Dependencies
6
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha.0 to 0.0.1-alpha.1

2

package.json
{
"name": "blackbaud-bobbyearl-angular-builders",
"version": "0.0.1-alpha.0",
"version": "0.0.1-alpha.1",
"builders": "builders.json",

@@ -5,0 +5,0 @@ "scripts": {

@@ -25,10 +25,12 @@ "use strict";

const files = stats.toJson().assetsByChunkName;
const metadata = [];
const jsAssets = [];
Object.keys(files).forEach(key => {
metadata.push({
name: files[key][0],
fallback: getFallbackName(files[key][0])
// Can be array of files (usually .js or .map) if not --prod build
const file = Array.isArray(files[key]) ? files[key][0] : files[key];
jsAssets.push({
name: file,
fallback: getFallbackName(file)
});
});
fs_1.writeFileSync(path_1.join(process.cwd(), 'dist', 'metadata.json'), JSON.stringify(metadata, null, '\t'));
fs_1.writeFileSync(path_1.join(process.cwd(), 'dist', 'metadata.json'), JSON.stringify({ assets: jsAssets }, null, '\t'));
logger_1.Logger.flush();

@@ -35,0 +37,0 @@ });

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc