Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@code-dot-org/dance-party

Package Overview
Dependencies
Maintainers
13
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-dot-org/dance-party - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

src/shapes/frostedGrid.js

2

package.json
{
"name": "@code-dot-org/dance-party",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

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

@@ -71,2 +71,5 @@ module.exports = {

'growing_stars',
'blooming_petals',
'clouds',
'frosted_grid',
],

@@ -73,0 +76,0 @@ FOREGROUND_EFFECTS: [

@@ -187,2 +187,8 @@ /* eslint-disable no-unused-vars, curly, eqeqeq */

async loadCostumeAnimations(costume, costumeData) {
if (!this.animations[costume]) {
console.log('Unexpected costume: ' + costume);
// Invalid costume, nothing to do:
return;
}
if (this.animations[costume].length === this.world.MOVE_NAMES.length) {

@@ -970,3 +976,3 @@ // Already loaded, nothing to do:

} else {
throw new Error('Unexpected format: ' + format);
console.log('Unexpected layout format: ' + format);
}

@@ -1138,2 +1144,19 @@

}
if (
params.dancers &&
params.dancers.type &&
this.world.SPRITE_NAMES.indexOf(params.dancers.type.toUpperCase()) >=
0 &&
params.dancers.count &&
params.dancers.count >= 0 &&
params.dancers.count <= 40 &&
params.dancers.layout
) {
this.makeNewDanceSpriteGroup(
params.dancers.count,
params.dancers.type.toUpperCase(),
params.dancers.layout
);
}
}

@@ -1140,0 +1163,0 @@ }

@@ -78,3 +78,3 @@ const test = require('tape');

nativeAPI.setBackgroundEffect('rand');
t.equal(nativeAPI.world.bg_effect, 'swirl');
t.equal(nativeAPI.world.bg_effect, 'kaleidoscope');
nativeAPI.getBackgroundEffect().draw({bpm: 120});

@@ -81,0 +81,0 @@

@@ -81,4 +81,4 @@ const test = require('tape');

['smile_face'],
// 'smiling_poop', need to debug
// 'hearts_red', need to debug
['smiling_poop'],
['hearts_red'],
['floating_rainbows'],

@@ -95,3 +95,6 @@ ['bubbles'],

['growing_stars'],
['paint_drip']
['paint_drip'],
['blooming_petals', 'vintage'],
['clouds', 'neon'],
['frosted_grid', 'vintage'],
].forEach(effect => {

@@ -98,0 +101,0 @@ let name = effect[0] + (effect[1] ? ("_" + effect[1]) : "");

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

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