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

tickbin-entry-parser

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tickbin-entry-parser - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

build/index.js

@@ -86,5 +86,5 @@ 'use strict';

this.start = opts.start;
this.startArr = (0, _moment2.default)(this.start).toArray();
this.startArr = (0, _moment2.default)(this.start).utc().toArray();
this.end = opts.end;
this.endArr = (0, _moment2.default)(this.end).toArray();
this.endArr = (0, _moment2.default)(this.end).utc().toArray();
this.time = opts.text;

@@ -91,0 +91,0 @@ this.duration = new _duration2.default(this.start, this.end);

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

t.deepEquals(json.tags, [].concat(_toConsumableArray(e.tags)), 'tags array');
t.ok((0, _moment2.default)(json.startArr).isSame(json.start), 'start and startArr are same date');
t.ok((0, _moment2.default)(json.endArr).isSame(json.end), 'end and endArr are same date');
t.ok(_moment2.default.utc(json.startArr).isSame(json.start), 'start and startArr are same date');
t.ok(_moment2.default.utc(json.endArr).isSame(json.end), 'end and endArr are same date');
t.ok(json.startArr instanceof Array, 'startArr is an array');

@@ -256,0 +256,0 @@ t.ok(json.endArr instanceof Array, 'endArr is an array');

{
"name": "tickbin-entry-parser",
"version": "0.0.2",
"version": "0.0.3",
"description": "parse strings into entries",

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

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