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.4 to 0.1.5

5

index.js

@@ -7,2 +7,3 @@ 'use strict';

const Symbol = require('es6-symbol/polyfill');
const getOwnPropertySymbols = require('get-own-property-symbols');

@@ -139,3 +140,3 @@ const TWO_DIGITS_MIN_NUMBER = 10;

plainTimeQuery
.map(queryDetail => Object.getOwnPropertySymbols(TIME_TYPE_PATTERNS)
.map(queryDetail => getOwnPropertySymbols(TIME_TYPE_PATTERNS)
.filter(type => TIME_TYPE_PATTERNS[type].regularExp.test(queryDetail)))

@@ -214,3 +215,3 @@ ));

exports.TIME_TYPES = Object.getOwnPropertySymbols(TIME_TYPE_PATTERNS);
exports.TIME_TYPES = getOwnPropertySymbols(TIME_TYPE_PATTERNS);
exports.TIME_TYPES_AS_STRINGS = exports.TIME_TYPES.map(Symbol.keyFor);

3

package.json
{
"name": "ddf-time-utils",
"version": "0.1.4",
"version": "0.1.5",
"description": "Gapminder DDF time utils",

@@ -28,2 +28,3 @@ "main": "index.js",

"es6-symbol": "3.1.0",
"get-own-property-symbols": "0.9.2",
"lodash": "4.7.0",

@@ -30,0 +31,0 @@ "moment": "2.14.1"

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