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

@xiaobai-world/upload

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xiaobai-world/upload - npm Package Compare versions

Comparing version 0.0.67 to 0.0.68

2

package.json
{
"name": "@xiaobai-world/upload",
"version": "0.0.67",
"version": "0.0.68",
"description": "upload to xiaobai store",

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

@@ -1,3 +0,5 @@

const base = "http://localhost:3001";
const base = process.env.xiaobai_backend
? process.env.xiaobai_backend
: "http://www.xiaobai.world/";
module.exports = { base };
const fs = require("fs");
const path = require("path");
const { base } = require("./const");
const { createHash } = require("crypto");
const hash = createHash(`sha256`);
hash.update(base);
const baseHash = hash.digest('hex')
function getHomeDir() {
return path.join(process.env.HOME, ".xiaobai-world");
return path.join(process.env.HOME, `.xiaobai-world-${baseHash}`);
}

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