New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flourish/interpreter

Package Overview
Dependencies
Maintainers
18
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/interpreter - npm Package Compare versions

Comparing version 8.2.0 to 8.3.0

2

interpreter.js

@@ -990,2 +990,4 @@ (function (global, factory) {

createDatetimeInterpretation("%Y-%m-%d %H:%M:%S"), // 1972-04-27 07:45:05
createDatetimeInterpretation("%Y-%m-%dT%H:%M:%S"), // 1972-04-27T07:45:05
createDatetimeInterpretation("%Y-%m-%dT%H:%M:%SZ"), // 1972-04-27T10:10:10Z

@@ -992,0 +994,0 @@ createDatetimeInterpretation("%d/%m/%Y", function(str, passed_primary_test) { // 27/04/1972

2

package.json
{
"name": "@flourish/interpreter",
"version": "8.2.0",
"version": "8.3.0",
"private": false,

@@ -5,0 +5,0 @@ "description": "Does a best guess at the type of data supplied",

@@ -0,1 +1,4 @@

# 8.3.0
* Add "%Y-%m-%dT%H:%M:%SZ" and "%Y-%m-%dT%H:%M:%S" datetime formats
# 8.2.0

@@ -2,0 +5,0 @@ * Add "%b %d %Y", "%b %d %Y, %-I.%M%p", "%-I.%M%p", and "%Y-%m-%d %H:%M:%S" datetime formats.

@@ -84,2 +84,4 @@ import { utcParse, utcFormat } from "d3-time-format";

createDatetimeInterpretation("%Y-%m-%d %H:%M:%S"), // 1972-04-27 07:45:05
createDatetimeInterpretation("%Y-%m-%dT%H:%M:%S"), // 1972-04-27T07:45:05
createDatetimeInterpretation("%Y-%m-%dT%H:%M:%SZ"), // 1972-04-27T10:10:10Z

@@ -86,0 +88,0 @@ createDatetimeInterpretation("%d/%m/%Y", function(str, passed_primary_test) { // 27/04/1972

@@ -178,3 +178,5 @@ const { expect } = require("chai");

checkMatch("%Y-%m-%dT%H:%M:%S.%LZ", "2016-12-03T08:19:56.000Z", 2016);
checkMatch("%Y-%m-%dT%H:%M:%SZ", "2016-12-03T08:19:56Z", 2016);
checkMatch("%Y-%m-%d %H:%M:%S", "2016-12-03 08:19:56", 2016);
checkMatch("%Y-%m-%dT%H:%M:%S", "2016-12-03T08:19:56", 2016);
checkMatch("%Y-%m-%d", "2016-12-03", 2016);

@@ -181,0 +183,0 @@ checkMatch("%Y-%m", "2016-12", 2016);

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