Socket
Socket
Sign inDemoInstall

@kano/kbc-utils

Package Overview
Dependencies
Maintainers
13
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 1.5.5 to 1.5.6

5

lib/utils/apps.d.ts

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

export declare 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' | 'artopia';
export declare type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'pixel-motion' | 'kano-create' | 'guardian' | 'artopia';
export declare 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' | 'artopia' | 'how-computers-work';
export declare type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'pixel-motion' | 'kano-create' | 'guardian' | 'artopia' | 'how-computers-work';
export declare const APP_LABELS: {

@@ -13,2 +13,3 @@ [name: string]: string;

export declare const isKanoCreate: (KB_APP_NAME: string) => boolean;
export declare const isHowComputersWork: (KB_APP_NAME: string) => boolean;
//# sourceMappingURL=apps.d.ts.map

7

lib/utils/apps.js

@@ -8,3 +8,4 @@ "use strict";

'pixel-motion': 'Pixel Motion',
'guardian': 'Guardian Site'
'guardian': 'Guardian Site',
'how-computers-work': 'How Computers Work'
};

@@ -14,2 +15,3 @@ exports.sanitizeAppName = (appName) => {

case 'guardian':
case 'how-computers-work':
case 'kano-world':

@@ -53,2 +55,5 @@ case 'kano-world-studio':

};
exports.isHowComputersWork = (KB_APP_NAME) => {
return exports.sanitizeAppName(KB_APP_NAME) === 'how-computers-work';
};
//# sourceMappingURL=apps.js.map
{
"name": "@kano/kbc-utils",
"version": "1.5.5",
"version": "1.5.6",
"description": "Utilities functionality for boilerplate mini apps",

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

},
"gitHead": "5a24abfaa835bd39333e676801da508817567222"
"gitHead": "60ea7983f3ee089b52057a8d9381728ce6f74a97"
}

Sorry, the diff of this file is not supported yet

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