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
2
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 1.0.14 to 1.0.15

22

common-game.js

@@ -18,3 +18,7 @@ import * as PIXI from "@tbminiapp/pixi-miniprogram-engine";

},
props: {},
props: {
gameSource: null,
uniId: null,
onGetGame: Function
},
didMount() {

@@ -61,3 +65,3 @@ my._pixiCount = (my._pixiCount || 0) + 1;

},
didUpdate() {},
didUpdate() { },
didUnmount() {

@@ -118,3 +122,3 @@ clearTimeout(this.timer1);

gameSource = JSON.parse(gameSource);
} catch (e) {}
} catch (e) { }
try {

@@ -133,3 +137,3 @@ let versionA = (res.version + "").split(".");

}
} catch (e) {}
} catch (e) { }

@@ -155,3 +159,3 @@ return bl;

}
} catch (e) {}
} catch (e) { }
try {

@@ -164,3 +168,3 @@ if (!!this.game.PIXIInstance[funName]) {

}
} catch (e) {}
} catch (e) { }
},

@@ -190,3 +194,3 @@ //读取节点信息

gameSource = JSON.parse(gameSource);
} catch (e) {}
} catch (e) { }
this._scale = 750 / this.windowWidth;

@@ -248,3 +252,3 @@ let canvasDom;

options.forceCanvas = !(gameSource.renderType == "webgl");
} catch (e) {}
} catch (e) { }
options.gameSource = gameSource;

@@ -356,3 +360,3 @@

{ namespace: this.game, pageOps },
() => {}
() => { }
);

@@ -359,0 +363,0 @@ },

{
"name": "common-game",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

@@ -5,0 +5,0 @@ "main": "common-game.js",

@@ -24,3 +24,11 @@ import * as PIXI from "@tbminiapp/pixi-miniprogram-engine";

// onAppInit: null,
// onError: null
// onError: null,
id: String,
className: String,
destroyAppOnDidUnmount: String,
onError: Function,
onDidMountGame: Function,
onDidUnmount: Function,
onAppInit: Function,
onClickFun: Function,
},

@@ -27,0 +35,0 @@ onInit() {

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