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

@antv/scale

Package Overview
Dependencies
Maintainers
23
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/scale - npm Package Compare versions

Comparing version 0.3.0-beta.3 to 0.3.0-beta.4

6

esm/util/time.js
import { isDate, isString, last } from '@antv/util';
import * as fecha from 'fecha';
import fecha from 'fecha';
import * as fecha1 from 'fecha';
import bisector from './bisector';
var FORMAT_METHOD = 'format';
export function timeFormat(time, mask) {
return fecha[FORMAT_METHOD](time, mask);
var method = fecha1[FORMAT_METHOD] || fecha[FORMAT_METHOD];
return method(time, mask);
}

@@ -8,0 +10,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = require("@antv/util");
var fecha = require("fecha");
var fecha_1 = require("fecha");
var fecha1 = require("fecha");
var bisector_1 = require("./bisector");
var FORMAT_METHOD = 'format';
function timeFormat(time, mask) {
return fecha[FORMAT_METHOD](time, mask);
var method = fecha1[FORMAT_METHOD] || fecha_1.default[FORMAT_METHOD];
return method(time, mask);
}

@@ -10,0 +12,0 @@ exports.timeFormat = timeFormat;

{
"name": "@antv/scale",
"version": "0.3.0-beta.3",
"version": "0.3.0-beta.4",
"description": "The scale module for G2",

@@ -5,0 +5,0 @@ "author": "https://github.com/orgs/antvis/people",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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