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

ddf-time-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddf-time-utils - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

index.js

@@ -19,7 +19,7 @@ 'use strict';

const YEAR_PATTERN = /^(\d{4})$/;
const QUARTER_PATTERN = /^(\d{4})q(\d{1})$/;
const MONTH_PATTERN = /^(\d{4})(\d{2})$/;
const WEEK_PATTERN = /^(\d{4})w(\d{1,2})$/;
const DATE_PATTERN = /^(\d{4})(\d{2})(\d{2})$/;
const YEAR_PATTERN = /^(\d{3,4})$/;
const QUARTER_PATTERN = /^(\d{3,4})q(\d{1})$/;
const MONTH_PATTERN = /^(\d{3,4})(\d{2})$/;
const WEEK_PATTERN = /^(\d{3,4})w(\d{1,2})$/;
const DATE_PATTERN = /^(\d{3,4})(\d{2})(\d{2})$/;

@@ -26,0 +26,0 @@ const TIME_TYPE_PATTERNS = {

{
"name": "ddf-time-utils",
"version": "0.1.0",
"version": "0.1.1",
"description": "Gapminder DDF time utils",

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

@@ -9,4 +9,4 @@ 'use strict';

multiple: {
query: ['1800', ['2013', '2015'], '2017'],
result: ['1800', '2013', '2014', '2015', '2017']
query: ['1800', ['2013', '2015'], '2017', '980'],
result: ['1800', '2013', '2014', '2015', '2017', '980']
}

@@ -13,0 +13,0 @@ },

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