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

@bitjourney/react-intl-dts

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitjourney/react-intl-dts - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

5

assets/react-intl.d.ts

@@ -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;

1

build/lib/generate.js

@@ -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

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