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

@ued2345/laserbeak

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ued2345/laserbeak - npm Package Compare versions

Comparing version 0.4.0-beta.2 to 0.4.0

22

node/index.js

@@ -56,7 +56,10 @@ const fs = require('fs')

process.env.VUE_APP_NAME = pkg.name
process.env.VUE_APP_VERSION = version
const envVarName = 'VUE_APP_NAME'
const envVarVersion = 'VUE_APP_VERSION'
process.env[envVarName] = pkg.name
process.env[envVarVersion] = version
console.log('[Logger] Set env variable `VUE_APP_NAME`: ' + process.env.VUE_APP_NAME)
console.log('[Logger] Set env variable `VUE_APP_VERSION`: ' + process.env.VUE_APP_VERSION)
void [envVarName, envVarVersion].forEach((item) => {
console.log(`[Logger] Set env variable \`${ item }\`: ${ process.env[item] }`)
})
}

@@ -76,4 +79,3 @@

fs.writeFileSync(filePath, release, 'utf8')
console.log('[Logger] Written `.sentry-release` file: ' + release)
console.log(`[Logger] Written Sentry release "${ release }" to file \`${ filePath }\`.`)
}

@@ -84,5 +86,7 @@

const filePath = path.join(__dirname, '../dist/logger-seed.min.js')
const content = fs.readFileSync(filePath, 'utf8')
process.env.VUE_APP_LOGGER_SEED_CODE = content
console.log('[Logger] Read seed code and set to env variable `VUE_APP_LOGGER_SEED_CODE`.')
const code = fs.readFileSync(filePath, 'utf8')
const envVar = 'VUE_APP_LOGGER_SEED_CODE'
process.env[envVar] = code
console.log(`[Logger] Read seed code and set to env variable \`${ envVar }\`.`)
}

@@ -89,0 +93,0 @@

{
"name": "@ued2345/laserbeak",
"version": "0.4.0-beta.2",
"version": "0.4.0",
"description": "JS SDK for logging systems",

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

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