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.1 to 2.1.2

8

CHANGELOG.md

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

## v2.1.2 (2020-10-27)
#### :bug: Bug Fix
* [#42](https://github.com/ember-cli-deploy/ember-cli-deploy-display-revisions/pull/42) Luxon Take 3: Use fromJSDate instead of fromISO for ember-cli-deploy-revision-data ([@kpfefferle](https://github.com/kpfefferle))
#### Committers: 1
- Kevin Pfefferle ([@kpfefferle](https://github.com/kpfefferle))
## v2.1.1 (2020-10-23)

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

4

lib/legacy-table.js

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

if(key.name === 'timestamp') {
// 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);
// ember-cli-deploy-revision-data provides a JS Date object, so fall back to that if not milliseconds
let dt = typeof value === 'number' ? DateTime.fromMillis(value) : DateTime.fromJSDate(value);
value = dt.toFormat("yyyy/MM/dd HH:mm:ss");

@@ -45,0 +45,0 @@ }

@@ -74,4 +74,4 @@ const Table = require('cli-table3');

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);
// ember-cli-deploy-revision-data provides a JS Date object, so fall back to that if not milliseconds
let dt = typeof timestamp === 'number' ? DateTime.fromMillis(timestamp) : DateTime.fromJSDate(timestamp);
let value = dt.toFormat('yyyy/MM/dd HH:mm:ss');

@@ -78,0 +78,0 @@ row.push(value);

{
"name": "ember-cli-deploy-display-revisions",
"version": "2.1.1",
"version": "2.1.2",
"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