@flourish/interpreter
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -952,3 +952,3 @@ (function (global, factory) { | ||
createDatetimeInterpretation("%d %B %y"), // 27 April 72 | ||
createDatetimeInterpretation("%d-%B-%Y", function(str) { // 27-Apr-1972 | ||
createDatetimeInterpretation("%d-%b-%Y", function(str) { // 27-Apr-1972 | ||
var arr = str.split("-").map(parseFloat); | ||
@@ -955,0 +955,0 @@ return (arr[0] > 0 && arr[0] <= 31) && (arr[2] >= 1000); |
{ | ||
"name": "@flourish/interpreter", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Does a best guess at the type of data supplied", | ||
@@ -5,0 +5,0 @@ "main": "interpreter.js", |
@@ -0,1 +1,4 @@ | ||
# 6.0.1 | ||
* Remove duplicate test for %d-%B-%Y | ||
# 6.0.0 | ||
@@ -2,0 +5,0 @@ * Add human-readable example to each type |
@@ -82,3 +82,3 @@ import { timeFormat, timeParse } from "d3-time-format"; | ||
createDatetimeInterpretation("%d %B %y"), // 27 April 72 | ||
createDatetimeInterpretation("%d-%B-%Y", function(str) { // 27-Apr-1972 | ||
createDatetimeInterpretation("%d-%b-%Y", function(str) { // 27-Apr-1972 | ||
var arr = str.split("-").map(parseFloat); | ||
@@ -85,0 +85,0 @@ return (arr[0] > 0 && arr[0] <= 31) && (arr[2] >= 1000); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
86070
0