Socket
Socket
Sign inDemoInstall

@kano/kbc-utils

Package Overview
Dependencies
Maintainers
16
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/kbc-utils - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

4

package.json
{
"name": "@kano/kbc-utils",
"version": "2.1.2",
"version": "2.2.0",
"description": "Utilities functionality for boilerplate mini apps",

@@ -27,3 +27,3 @@ "author": "Kano Computing",

},
"gitHead": "7d1d3db208bf37ba53aeff3196794e26ea6007b8"
"gitHead": "60b91bae22a587dc08c56ab3c0b40edf885db3cf"
}

@@ -7,2 +7,4 @@ /* Custom properties on window */

FileList: any;
KanoComputing: any;
Windows: any;
}

@@ -9,0 +11,0 @@ }

@@ -1,3 +0,3 @@

export type AllAppNames = 'kano-world' | 'make-art' | 'kano-code' | 'make-apps' | 'kano-draw' | 'pixel-motion' | 'kano-create' | 'kano-world-studio' | 'make-art-studio' | 'kano-code-studio' | 'pixel-motion-studio' | 'kano-create-studio' | 'guardian';
export type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'pixel-motion' | 'kano-create' | 'guardian';
export type AllAppNames = 'kano-world' | 'make-art' | 'kano-code' | 'make-apps' | 'kano-draw' | 'pixel-motion' | 'kano-create' | 'kano-world-studio' | 'make-art-studio' | 'kano-code-studio' | 'how-computers-work' | 'pixel-motion-studio' | 'kano-create-studio' | 'guardian';
export type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'how-computers-work' | 'pixel-motion' | 'kano-create' | 'guardian';

@@ -7,2 +7,3 @@ export const APP_LABELS: { [name: string]: string } = {

'kano-code': 'Kano Code',
'how-computers-work': 'How Computers Work',
'kano-create': 'Kano Create',

@@ -27,2 +28,4 @@ 'pixel-motion': 'Pixel Motion',

return 'kano-code';
case 'how-computers-work':
return 'how-computers-work';
case 'pixel-motion':

@@ -56,2 +59,6 @@ case 'pixel-motion-studio':

export const isHowComputersWork = (KB_APP_NAME: AllAppNames | string) => {
return sanitizeAppName(KB_APP_NAME as AllAppNames) === 'how-computers-work';
};
export const isPixelMotion = (KB_APP_NAME: AllAppNames | string) => {

@@ -58,0 +65,0 @@ return sanitizeAppName(KB_APP_NAME as AllAppNames) === 'pixel-motion';

Sorry, the diff of this file is not supported yet

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