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

time-stamp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time-stamp - npm Package Compare versions

Comparing version 0.1.3 to 1.0.0

2

index.js

@@ -25,3 +25,3 @@ /*!

date = date || new Date();
return pattern.replace(/([YMDHms]{2,4})(:\/)?/g, function (_, key, sep) {
return pattern.replace(/([YMDHms]{2,4})(:\/)?/g, function(_, key, sep) {
var increment = method(key);

@@ -28,0 +28,0 @@ if (!increment) return _;

{
"name": "time-stamp",
"description": "Get a formatted timestamp.",
"version": "0.1.3",
"version": "1.0.0",
"homepage": "https://github.com/jonschlinkert/time-stamp",

@@ -24,3 +24,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"mocha": "*",
"should": "*"
"pad-left": "^2.0.1"
},

@@ -52,4 +52,5 @@ "keywords": [

]
}
},
"layout": "default"
}
}

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