Socket
Socket
Sign inDemoInstall

@financial-times/community-event-teaser

Package Overview
Dependencies
Maintainers
9
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/community-event-teaser - npm Package Compare versions

Comparing version 5.0.0-beta.1 to 5.0.0-beta.2

12

dist/index.js

@@ -29,2 +29,14 @@ 'use strict';

}
else if (inProgress && daysAway === -1) {
dateString =
"Started yesterday at " +
ftDateFormat__default['default'].format(scheduledStartTime, "HH:mm");
}
else if (inProgress && daysAway > -7) {
dateString =
"Started on " + ftDateFormat__default['default'].format(scheduledStartTime, "EEEE");
}
else if (inProgress) {
dateString = "Started on " + formatEventDate(scheduledStartTime);
}
else if (daysAway === 0) {

@@ -31,0 +43,0 @@ dateString = "Today at " + ftDateFormat__default['default'].format(scheduledStartTime, "HH:mm");

2

package.json
{
"name": "@financial-times/community-event-teaser",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "UI for community events",

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

Sorry, the diff of this file is not supported yet

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

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