@bitjourney/react-intl-dts
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -14,2 +14,3 @@ // Type definitions for react-intl 2.3 | ||
// anion155 <https://github.com/anion155> | ||
// tkryskiewicz <https://github.com/tkryskiewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -128,3 +129,3 @@ // TypeScript Version: 2.8 | ||
*/ | ||
style?: "best-fit" | "numeric"; | ||
style?: "best fit" | "numeric"; | ||
format?: string; | ||
@@ -181,3 +182,3 @@ updateInterval?: number; | ||
interface PropsBase extends Base { | ||
other?: any; | ||
other: any; | ||
zero?: any; | ||
@@ -184,0 +185,0 @@ one?: any; |
@@ -14,2 +14,3 @@ "use strict"; | ||
const keys = parser_1.flattenKeys(translations); | ||
keys.sort((a, b) => (a.key < b.key ? -1 : a.key > b.key ? 1 : 0)); | ||
const data = ast_1.dts(keys); | ||
@@ -16,0 +17,0 @@ const outputPath = path.join(dirPath, constants_1.OUTPUT_FILE_NAME); |
{ | ||
"name": "@bitjourney/react-intl-dts", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "A tiny d.ts file generator for react-intl", | ||
@@ -22,17 +22,17 @@ "bin": { | ||
"dependencies": { | ||
"commander": "^2.15.1", | ||
"mkdirp": "^0.5.1" | ||
"commander": "*", | ||
"mkdirp": "*" | ||
}, | ||
"devDependencies": { | ||
"@types/commander": "^2.12.2", | ||
"@types/jest": "^22.2.3", | ||
"@types/mkdirp": "^0.5.2", | ||
"@types/node": "^9.4.6", | ||
"@types/react-intl": "^2.3.17", | ||
"jest": "^22.4.3", | ||
"prettier": "^1.12.1", | ||
"ts-jest": "^23.10.5", | ||
"tslint": "^5.9.1", | ||
"tslint-config-prettier": "^1.12.0", | ||
"typescript": "^3.4.1" | ||
"@types/commander": "*", | ||
"@types/jest": "*", | ||
"@types/mkdirp": "*", | ||
"@types/node": "*", | ||
"@types/react-intl": "*", | ||
"jest": "*", | ||
"prettier": "*", | ||
"ts-jest": "*", | ||
"tslint": "*", | ||
"tslint-config-prettier": "*", | ||
"typescript": "*" | ||
}, | ||
@@ -39,0 +39,0 @@ "jest": { |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances 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
828532
1465
3
+ Addedcommander@12.1.0(transitive)
+ Addedmkdirp@3.0.1(transitive)
- Removedcommander@2.20.3(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
Updatedcommander@*
Updatedmkdirp@*