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

ember-cli-deploy-display-revisions

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-deploy-display-revisions - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## v2.1.1 (2020-10-23)
#### :bug: Bug Fix
* [#41](https://github.com/ember-cli-deploy/ember-cli-deploy-display-revisions/pull/41) Fall back to ISO if timestamp is not milliseconds ([@kpfefferle](https://github.com/kpfefferle))
#### Committers: 1
- Kevin Pfefferle ([@kpfefferle](https://github.com/kpfefferle))
## v2.1.0 (2020-10-02)

@@ -2,0 +10,0 @@

4

lib/legacy-table.js

@@ -41,3 +41,5 @@ let { DateTime } = require('luxon');

if(key.name === 'timestamp') {
value = DateTime.fromMillis(value).toFormat("yyyy/MM/dd HH:mm:ss");
// ember-cli-deploy-revision-data uses ISO timestamps, so fall back to ISO if not milliseconds
let dt = typeof value === 'number' ? DateTime.fromMillis(value) : DateTime.fromISO(value);
value = dt.toFormat("yyyy/MM/dd HH:mm:ss");
}

@@ -44,0 +46,0 @@

@@ -73,3 +73,6 @@ const Table = require('cli-table3');

if (this._isWide()) {
let value = DateTime.fromMillis(data.timestamp).toFormat('yyyy/MM/dd HH:mm:ss');
let { timestamp } = data;
// ember-cli-deploy-revision-data uses ISO timestamps, so fall back to ISO if not milliseconds
let dt = typeof timestamp === 'number' ? DateTime.fromMillis(timestamp) : DateTime.fromISO(timestamp);
let value = dt.toFormat('yyyy/MM/dd HH:mm:ss');
row.push(value);

@@ -76,0 +79,0 @@ }

{
"name": "ember-cli-deploy-display-revisions",
"version": "2.1.0",
"version": "2.1.1",
"description": "Display a list of deployed revisions using ember-cli-deploy.",

@@ -5,0 +5,0 @@ "keywords": [

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