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

common-game

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-game - npm Package Compare versions

Comparing version 0.0.44 to 0.0.45

4

common-game.js

@@ -54,6 +54,6 @@ Component({

let versionA = (res.version + "").split(".");
let checkVer = (gameSource.version || "9.9") + "";
let checkVer = (gameSource.version || "9.20") + "";
let checkVerArr = checkVer.split(".");
console.log("version:", checkVer)
// 此处判断 大于 9.9.0版本才能运行游戏
// 此处判断 大于 9.20.0版本才能运行游戏
if (parseInt(versionA[0]) > parseInt(checkVerArr[0]) || (parseInt(versionA[0]) == parseInt(checkVerArr[0]) && parseInt(versionA[1]) >= parseInt(checkVerArr[1]))) {

@@ -60,0 +60,0 @@ bl = true;

{
"name": "common-game",
"version": "0.0.44",
"version": "0.0.45",
"description": "",

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