New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vital-ai/haley-js-scripts

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vital-ai/haley-js-scripts - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

share/copy-scripts.js

2

package.json
{
"name": "@vital-ai/haley-js-scripts",
"version": "1.0.1",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -48,2 +48,10 @@ const fs = require('fs');

let fileNameWithDashes = file.split('.')
if(fileNameWithDashes[1] === 'ndjson'){
let fileNameWithoutDashes = fileNameWithDashes[0].split('-').join('_');
let jsonObjects = data.split('\n').join(',\n');
data = `var ${fileNameWithoutDashes} = [${jsonObjects}]`;
}
fs.writeFile(destinationPath, data, 'utf8', function (err) {

@@ -50,0 +58,0 @@ if (err) {

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