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

bili-small-game

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bili-small-game - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

1

lib/adapter.android.js

@@ -24,2 +24,3 @@ // This file is always executed before the App's index.js. It sets up most of

sharedCanvas.style = {};
sharedCanvas.getContext('2d');
var onScreen = true;

@@ -26,0 +27,0 @@ window.__SmallApp.fileSystemManager = new BiliGame.FileSystemManager.Instance();

@@ -24,2 +24,3 @@ // This file is always executed before the App's index.js. It sets up most of

sharedCanvas.style = {};
sharedCanvas.getContext('2d');
var onScreen = true;

@@ -26,0 +27,0 @@ window.__SmallApp.fileSystemManager = new BiliGame.FileSystemManager.Instance();

13

lib/adapter.ios.js

@@ -19,2 +19,3 @@ // This file is always executed before the App's index.js. It sets up most of

window.sharedCanvas = _internalBL.createCanvas();
window.sharedCanvas.getContext('2d');
var onScreen = true;

@@ -89,2 +90,3 @@

onTouchStart: function(callback) {
console.log('------ onTouchStart ------', callback);
if (!callback) {

@@ -96,2 +98,3 @@ return;

offTouchStart: function(callback) {
console.log('------ offTouchStart ------', callback);
if (!callback) {

@@ -103,2 +106,3 @@ return;

onTouchMove: function(callback) {
console.log('------ onTouchMove ------', callback);
if (!callback) {

@@ -110,8 +114,10 @@ return;

offTouchMove: function(callback) {
console.log('------ offTouchMove ------', callback);
if (!callback) {
return;
}
touchInput.addEventListener('touchmove', callback);
touchInput.removeEventListener('touchmove', callback);
},
onTouchEnd: function(callback) {
console.log('------ onTouchEnd ------', callback);
if (!callback) {

@@ -123,6 +129,7 @@ return;

offTouchEnd: function(callback) {
console.log('------ offTouchEnd ------', callback);
if (!callback) {
return;
}
touchInput.addEventListener('touchend', callback);
touchInput.removeEventListener('touchend', callback);
},

@@ -139,3 +146,3 @@ onTouchCancel: function(callback) {

}
touchInput.addEventListener('touchcancel', callback);
touchInput.removeEventListener('touchcancel', callback);
},

@@ -142,0 +149,0 @@ // createInnerAudioContext : function (){

{
"name": "bili-small-game",
"version": "1.0.12",
"version": "1.0.13",
"description": "bilibili small game",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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