react-timezone-select
Advanced tools
Comparing version 1.1.16 to 1.1.18
/// <reference types="react" /> | ||
import allTimezones from './timezone-list.js'; | ||
import type { Props, ITimezone, ITimezoneOption, ILabelStyle } from './types/timezone'; | ||
export declare enum LabelType { | ||
ORIGINAL = "original", | ||
ALTNAME = "altName", | ||
ABBREV = "abbrev" | ||
} | ||
export { allTimezones }; | ||
export type { ITimezone, ITimezoneOption, Props, ILabelStyle }; | ||
export default function TimezoneSelect({ value, onBlur, onChange, labelStyle, timezones, ...props }: Props): JSX.Element; | ||
declare const TimezoneSelect: ({ value, onBlur, onChange, labelStyle, timezones, ...props }: Props) => JSX.Element; | ||
export default TimezoneSelect; |
{ | ||
"name": "react-timezone-select", | ||
"version": "1.1.16", | ||
"version": "1.1.18", | ||
"description": "Usable, dynamic React Timezone Select", | ||
"scripts": { | ||
"start": "cd example && npm start", | ||
"start": "concurrently npm:startEx npm:build", | ||
"startEx": "cd example && npm start", | ||
"prepublish": "npm run build", | ||
"postpublish": "npm run build:example && npm run deploy", | ||
"build": "tsc --project ./tsconfig.json", | ||
"build": "node build.js && tsc", | ||
"build:example": "cd example && npm run build", | ||
@@ -36,8 +37,8 @@ "deploy": "gh-pages -d example/build", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js" | ||
} | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
@@ -49,3 +50,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"react-select": "^5.1.0", | ||
"react-select": "^5.2.2", | ||
"spacetime": "^6.16.3", | ||
@@ -55,14 +56,17 @@ "timezone-soft": "^1.3.1" | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/jest-dom": "^5.16.1", | ||
"@testing-library/react": "^12.1.2", | ||
"@types/jest": "^27.0.2", | ||
"@types/react": "^17.0.33", | ||
"@types/react-dom": "^17.0.10", | ||
"@types/jest": "^27.4.0", | ||
"@types/react": "^17.0.38", | ||
"@types/react-dom": "^17.0.11", | ||
"concurrently": "^7.0.0", | ||
"esbuild": "^0.14.11", | ||
"esbuild-jest": "^0.5.0", | ||
"gh-pages": "^3.2.3", | ||
"jest": "^27.3.1", | ||
"prettier": "^2.4.1", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
"jest": "^27.4.7", | ||
"prettier": "^2.5.1", | ||
"react": "^17", | ||
"react-dom": "^17", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.5.5" | ||
}, | ||
@@ -69,0 +73,0 @@ "prettier": { |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
1252087
11569
15
11
8
1
Updatedreact-select@^5.2.2