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.20.0-alpha.2 to 0.20.0-alpha.3

2

node/index.js

@@ -58,3 +58,3 @@ const fs = require('fs')

const envVarVersion = 'VUE_APP_VERSION'
process.env[envVarName] = pkg.name
process.env[envVarName] = String(pkg.name).toLowerCase()
process.env[envVarVersion] = version

@@ -61,0 +61,0 @@

{
"name": "@ued2345/laserbeak",
"version": "0.20.0-alpha.2",
"version": "0.20.0-alpha.3",
"description": "JS SDK for logging systems",

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

@@ -12,3 +12,3 @@ import { exportGlobal } from './plugin/export-global'

appName,
version,
appVersion,
sampleRate,

@@ -21,9 +21,9 @@ }) {

}
if (!(version || version === 0)) {
_log('[Logger] [Init] failed: `version` is missing!')
if (!(appVersion || appVersion === 0)) {
_log('[Logger] [Init] failed: `appVersion` is missing!')
return
}
appConfig.appName = appName
appConfig.version = version
appConfig.release = `${ appName }@${ version }`
appConfig.appName = String(appName).toLowerCase()
appConfig.appVersion = appVersion
appConfig.release = `${ appName }@${ appVersion }`

@@ -30,0 +30,0 @@ // 抽样

@@ -16,3 +16,3 @@ import { appConfig, log as _log, post } from '../util'

prevUrl: document.referrer,
version: appConfig.version,
appVersion: appConfig.appVersion,
// userId : appConfig.userId,

@@ -19,0 +19,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