New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fluent-transpiler

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-transpiler - npm Package Compare versions

Comparing version

to
0.1.1

6

index.js

@@ -397,6 +397,4 @@ import { parse } from '@fluent/syntax'

const [duration, unit] = relativeTimeDiff(value)
return relativeTimeFormat.format(duration, unit)
} catch (e) {
return dateTimeFormat.format(value)
}
return new Intl.RelativeTimeFormat(lang, options).format(duration, unit)
} catch (e) {}
return new Intl.DateTimeFormat(__locales, options).format(value)

@@ -403,0 +401,0 @@ }

{
"name": "fluent-transpiler",
"version": "0.1.0",
"version": "0.1.1",
"description": "Transpile Fluent (ftl) files into optimized, tree-shakable, JavaScript EcmaScript Modules (esm).",

@@ -5,0 +5,0 @@ "main": "index.js",