Socket
Socket
Sign inDemoInstall

@formatjs/intl-relativetimeformat

Package Overview
Dependencies
Maintainers
2
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl-relativetimeformat - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

11

CHANGELOG.md

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

# [2.2.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl-relativetimeformat@2.1.0...@formatjs/intl-relativetimeformat@2.2.0) (2019-06-26)
### Features
* **intl-relativetimeformat:** update LICENSE & README ([#100](https://github.com/formatjs/formatjs/issues/100)) ([3b1d11b](https://github.com/formatjs/formatjs/commit/3b1d11b))
# [2.1.0](https://github.com/formatjs/formatjs/compare/@formatjs/intl-relativetimeformat@2.0.2...@formatjs/intl-relativetimeformat@2.1.0) (2019-06-27)

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

6

dist/core.js
"use strict";
/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
var __assign = (this && this.__assign) || function () {

@@ -19,3 +14,2 @@ __assign = Object.assign || function(t) {

Object.defineProperty(exports, "__esModule", { value: true });
/* jslint esnext: true */
var types_1 = require("./types");

@@ -22,0 +16,0 @@ /**

1

dist/index.js
"use strict";
/* jslint esnext: true */
function __export(m) {

@@ -4,0 +3,0 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];

@@ -26,7 +26,2 @@ (function (global, factory) {

/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
var __assign = (undefined && undefined.__assign) || function () {

@@ -347,3 +342,2 @@ __assign = Object.assign || function(t) {

/* jslint esnext: true */
RelativeTimeFormat.__addLocaleData(defaultLocale);

@@ -350,0 +344,0 @@

@@ -1,6 +0,1 @@

/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
var __assign = (this && this.__assign) || function () {

@@ -17,3 +12,2 @@ __assign = Object.assign || function(t) {

};
/* jslint esnext: true */
import { VALID_UNITS } from './types';

@@ -20,0 +14,0 @@ /**

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

/* jslint esnext: true */
import IntlRelativeTimeFormat from './core';

@@ -3,0 +2,0 @@ import defaultLocale from './en';

{
"name": "@formatjs/intl-relativetimeformat",
"version": "2.1.0",
"version": "2.2.0",
"description": "Formats JavaScript dates to relative time strings.",

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

"devDependencies": {
"formatjs-extract-cldr-data": "^9.1.0"
"formatjs-extract-cldr-data": "^9.1.1"
},

@@ -37,4 +37,4 @@ "main": "index.js",

"homepage": "https://github.com/formatjs/formatjs",
"license": "BSD-3-Clause",
"license": "MIT",
"gitHead": "8b0baec8eda5002715cf893274fe59782fc2d371"
}
# Intl RelativeTimeFormat
A spec-compliant polyfill/ponyfill for Intl.RelativeTimeFormat.
A spec-compliant polyfill/ponyfill for Intl.RelativeTimeFormat fully tested by the [official ECMAScript Conformance test suite](https://github.com/tc39/test262)

@@ -53,3 +53,3 @@ [![npm Version][npm-badge]][npm]

The majority of our tests come from [tc39/test262](https://github.com/tc39/test262/tree/master/test/intl402/RelativeTimeFormat).
This library is fully [test262](https://github.com/tc39/test262/tree/master/test/intl402/RelativeTimeFormat)-compliant.

@@ -56,0 +56,0 @@ ## License

@@ -1,8 +0,1 @@

/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
/* jslint esnext: true */
import {

@@ -9,0 +2,0 @@ LocaleData,

@@ -1,3 +0,1 @@

/* jslint esnext: true */
import IntlRelativeTimeFormat from './core';

@@ -4,0 +2,0 @@ import defaultLocale from './en';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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