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

@formatjs/ts-transformer

Package Overview
Dependencies
Maintainers
2
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/ts-transformer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.0.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.2...@formatjs/ts-transformer@1.0.3) (2019-11-06)
### Bug Fixes
* **@formatjs/ts-transformer:** fix overrideIdFn string case ([ad87c54](https://github.com/formatjs/formatjs/commit/ad87c5414601ba8d9f662c1c6d88f7ad2fb54031))
## [1.0.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.1...@formatjs/ts-transformer@1.0.2) (2019-11-06)

@@ -8,0 +19,0 @@

2

dist/transform.js

@@ -93,3 +93,3 @@ "use strict";

}
if (!msg.id && typeof overrideIdFn === 'function') {
if (!msg.id && overrideIdFn) {
switch (typeof overrideIdFn) {

@@ -96,0 +96,0 @@ case 'string':

{
"name": "@formatjs/ts-transformer",
"version": "1.0.2",
"version": "1.0.3",
"description": "TS Compiler transformer for formatjs",

@@ -33,3 +33,3 @@ "main": "dist/index.js",

"homepage": "https://github.com/formatjs/formatjs#readme",
"gitHead": "38ad5608c24f9a888efac3f09d33e48912ad91b9"
"gitHead": "ca8ce7a6aeaa169579071b48c065b2ddc7ad4e59"
}

@@ -195,3 +195,3 @@ import * as ts from 'typescript';

}
if (!msg.id && typeof overrideIdFn === 'function') {
if (!msg.id && overrideIdFn) {
switch (typeof overrideIdFn) {

@@ -198,0 +198,0 @@ case 'string':

@@ -35,2 +35,3 @@ import {join} from 'path';

noImport: {
overrideIdFn: '[hash:base64:5]',
extractFromFormatMessageCall: true,

@@ -37,0 +38,0 @@ },

Sorry, the diff of this file is not supported yet

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