@kano/kbc-utils
Advanced tools
Comparing version 1.5.5 to 1.5.6
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
48685
640
1