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

intl-relativeformat

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-relativeformat - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

11

CHANGELOG.md

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

# [6.1.0](https://github.com/formatjs/formatjs/compare/intl-relativeformat@6.0.0...intl-relativeformat@6.1.0) (2019-06-05)
### Features
* **intl-relativetimeformat:** rename due to npm squatting ([b4476e0](https://github.com/formatjs/formatjs/commit/b4476e0))
# [6.0.0](https://github.com/formatjs/formatjs/compare/intl-relativeformat@5.0.0...intl-relativeformat@6.0.0) (2019-06-05)

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

2

dist/index.d.ts

@@ -1,2 +0,2 @@

import { IntlRelativeTimeFormat } from 'intl-relativetimeformat';
import { IntlRelativeTimeFormat } from '@formatjs/intl-relativetimeformat';
import { SUPPORTED_FIELD, STYLE, LocaleData } from './types';

@@ -3,0 +3,0 @@ declare global {

@@ -1,2 +0,2 @@

import { IntlRelativeTimeFormat } from 'intl-relativetimeformat';
import { IntlRelativeTimeFormat } from '@formatjs/intl-relativetimeformat';
import { SUPPORTED_FIELD, STYLE, LocaleData } from './types';

@@ -3,0 +3,0 @@ declare global {

{
"name": "intl-relativeformat",
"version": "6.0.0",
"version": "6.1.0",
"description": "Formats JavaScript dates to relative time strings.",

@@ -29,3 +29,3 @@ "keywords": [

"devDependencies": {
"intl-relativetimeformat": "^1.0.0"
"@formatjs/intl-relativetimeformat": "^1.0.0"
},

@@ -39,3 +39,3 @@ "scripts": {

"license": "BSD-3-Clause",
"gitHead": "63e7577876040c076c2deee68da8b276f7e3ed75"
"gitHead": "2879b9f2c6498f384823ed8c522530fda3771b44"
}

@@ -83,3 +83,3 @@ Intl RelativeFormat

1. https://www.npmjs.com/package/intl-pluralrules
2. https://www.npmjs.com/package/intl-relativetimeformat
2. https://www.npmjs.com/package/@formatjs/intl-relativetimeformat

@@ -86,0 +86,0 @@ ### Loading IntlRelativeFormat in Node.js

@@ -12,3 +12,3 @@ /*

FormattableUnit
} from 'intl-relativetimeformat';
} from '@formatjs/intl-relativetimeformat';
import diff from './diff';

@@ -15,0 +15,0 @@ import { SUPPORTED_FIELD, STYLE, LocaleData } from './types';

@@ -9,3 +9,3 @@ {

"paths": {
"intl-relativetimeformat": ["../intl-relativetimeformat"]
"@formatjs/intl-relativetimeformat": ["../intl-relativetimeformat"]
}

@@ -12,0 +12,0 @@ },

@@ -8,3 +8,3 @@ {

"paths": {
"intl-relativetimeformat": ["../intl-relativetimeformat"]
"@formatjs/intl-relativetimeformat": ["../intl-relativetimeformat"]
}

@@ -11,0 +11,0 @@ },

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