New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5 to 0.1.6

10

index.js
'use strict';
const Symbol = require('core-js/library/es6/symbol');
const Object = require('core-js/library/es6/object');
const _ = require('lodash');
const moment = require('moment');
const Symbol = require('es6-symbol/polyfill');
const getOwnPropertySymbols = require('get-own-property-symbols');
const TWO_DIGITS_MIN_NUMBER = 10;

@@ -139,3 +139,3 @@ const MAX_MONTH = 12;

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

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

exports.TIME_TYPES = getOwnPropertySymbols(TIME_TYPE_PATTERNS);
exports.TIME_TYPES = Object.getOwnPropertySymbols(TIME_TYPE_PATTERNS);
exports.TIME_TYPES_AS_STRINGS = exports.TIME_TYPES.map(Symbol.keyFor);
{
"name": "ddf-time-utils",
"version": "0.1.5",
"version": "0.1.6",
"description": "Gapminder DDF time utils",

@@ -27,4 +27,3 @@ "main": "index.js",

"dependencies": {
"es6-symbol": "3.1.0",
"get-own-property-symbols": "0.9.2",
"core-js": "2.4.1",
"lodash": "4.7.0",

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

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

const incorrectQueries = require('./fixtures/incorrect-queries');
const Symbol = require('es6-symbol/polyfill');

@@ -12,0 +11,0 @@ chai.use(sinonChai);

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