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

tardis-machine

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tardis-machine - npm Package Compare versions

Comparing version 3.3.11 to 3.3.12

9

dist/helpers.js

@@ -186,2 +186,11 @@ "use strict";

exports.wait = wait;
const oldToISOString = Date.prototype.toISOString;
// if Date provides microseconds add those to ISO date
Date.prototype.toISOString = function () {
if (this.μs !== undefined) {
const isoString = oldToISOString.apply(this);
return isoString.slice(0, isoString.length - 1) + this.μs.toString().padStart(3, '0') + 'Z';
}
return oldToISOString.apply(this);
};
//# sourceMappingURL=helpers.js.map

2

package.json
{
"name": "tardis-machine",
"version": "3.3.11",
"version": "3.3.12",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=12"

@@ -243,1 +243,13 @@ import {

export const wait = (delayMS: number) => new Promise((resolve) => setTimeout(resolve, delayMS))
const oldToISOString = Date.prototype.toISOString
// if Date provides microseconds add those to ISO date
Date.prototype.toISOString = function () {
if (this.μs !== undefined) {
const isoString = oldToISOString.apply(this)
return isoString.slice(0, isoString.length - 1) + this.μs.toString().padStart(3, '0') + 'Z'
}
return oldToISOString.apply(this)
}

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