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

@ued2345/set-sentry-release

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ued2345/set-sentry-release - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

index.js

@@ -30,6 +30,7 @@ const fs = require('fs')

// 生成版本号并写入环境变量 `VUE_APP_VERSION`,若此环境变量已存在则跳过
function setSentryRelease() {
function setSentryRelease(filePath, name) {
// if (process.env.VUE_APP_VERSION) return
let version = generateVersion(filePath, name)
let version = generateVersion()
// 用于Sentry初始化
process.env.VUE_APP_NAME = name
process.env.VUE_APP_VERSION = version

@@ -36,0 +37,0 @@ // 在根目录创建.sentryRelease,用于传递release值,此文件已忽略提交

2

package.json
{
"name": "@ued2345/set-sentry-release",
"version": "1.0.1",
"version": "1.0.2",
"description": "Sentry Release设置助手,将项目名称和Release写入进程",

@@ -5,0 +5,0 @@ "main": "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