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

nba-color

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nba-color - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

16

index.d.ts

@@ -1,2 +0,2 @@

interface teamColor {
export interface TeamColor {
hex: string;

@@ -6,18 +6,18 @@ tgb: [number, number, number];

interface teamColors {
[colorName: string]: teamColor;
export interface TeamColors {
[colorName: string]: TeamColor;
}
interface colors {
export interface Colors {
[teamAbbreviation: string]: {
fullName: string;
mainColor: string;
colors: teamColors;
colors: TeamColors;
};
}
export function getAllColors(): colors;
export function getMainColor(teamAbbreviation: string): teamColor;
export function getColors(teamAbbreviation: string): teamColors;
export function getAllColors(): Colors;
export function getMainColor(teamAbbreviation: string): TeamColor;
export function getColors(teamAbbreviation: string): TeamColors;
export function getFullName(teamAbbreviation: string): string;
export function getColorsList(teamAbbreviation: string): string[];

@@ -14,3 +14,3 @@ {

},
"version": "1.3.7",
"version": "1.3.8",
"main": "lib/nba-color.js",

@@ -17,0 +17,0 @@ "module": "lib/nba-color.mjs",

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