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.9 to 1.0.10

2

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

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

@@ -30,2 +30,8 @@ module.exports = class DanceAPI {

},
// A function that duplicates the `setBackgroundEffectWithPalette` above for the
// AI version of Dance Party that includes additional color palettes and background effects
// not included in the original Dance Party 'set background effect' block.
setBackgroundEffectWithPaletteAI: (effect, palette = 'default') => {
nativeAPI.setBackgroundEffect(effect.toString(), palette.toString());
},
// DEPRECATED

@@ -32,0 +38,0 @@ // An old block may refer to this version of the command,

@@ -74,2 +74,3 @@ module.exports = {

'frosted_grid',
'starburst',
],

@@ -105,2 +106,16 @@ FOREGROUND_EFFECTS: [

rave: ['#000000', '#5b6770', '#c6cacd', '#e7e8ea', '#ffffff'],
// Color palettes from poetry lab - a few of the color values have been changed
// so that the sprite dancers are more visible or 'pop' against the background.
grayscale: ['#000000', '#333333', '#626C7D', '#999999', '#CCCCCC', '#EEEEEE', '#FFFFFF'],
sky: ['#3878A4', '#82A9B1', '#ECCEC4', '#F8B8A8', '#E4929C', '#7D7095'],
ocean: ['#82A9B1', '#3FABE3', '#2C7DBB', '#1D57A0', '#144188', '#061F4B'],
sunrise: ['#F5DC72', '#FC9103', '#F48363', '#F15C4C', '#372031'],
sunset: ['#530075', '#921499', '#E559BB', '#F7B9DD', '#307087', '#123F50'],
spring: ['#303F06', '#385202', '#547607', '#85AF4C', '#C1E876', '#D7FF6B'],
summer: ['#FAD0AE', '#F69F88', '#EE6E51', '#BC4946', '#425D19', '#202E14'],
autumn: ['#484F0C', '#AEA82E', '#F5DC72', '#D46324', '#731B31', '#4A173C'],
winter: ['#EAECE8', '#E3DDDF', '#D3CEDC', '#A2B6BF', '#626C7D', '#809EC5'],
twinkling: ['#F5DC72', '#FC9103', '#BF623C', '#B83604', '#7E1301'],
rainbow: ['#A800FF', '#0079FF', '#00F11D', '#FF7F00', '#FF0900'],
roses: ['#4C0606', '#86003C', '#E41F7B', '#FF8BA0 ', '#FFB6B3'],
},

@@ -107,0 +122,0 @@ HIGHER_POWER_COLORS: {

@@ -313,2 +313,7 @@ /* eslint-disable no-unused-vars, curly, eqeqeq */

let foregroundEffect = this.getForegroundEffect();
if (foregroundEffect && foregroundEffect.reset) {
foregroundEffect.reset();
}
this.world.background_color = null;

@@ -321,2 +326,6 @@ this.world.fg_effect = null;

setForegroundEffectsInPreviewMode(inPreviewMode) {
this.fgEffects_ && this.fgEffects_.setInPreviewMode(inPreviewMode);
}
setAnimationSpriteSheet(sprite, moveIndex, spritesheet, mirror, animation) {

@@ -323,0 +332,0 @@ this.animations[sprite][moveIndex] = {

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

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