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

arlib

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arlib - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

2

package.json
{
"name": "arlib",
"version": "0.0.22",
"version": "0.0.23",
"description": "Andras' Utility Functions",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -67,10 +67,11 @@ # arlib

#### MongoId.parse( idString )
### MongoId.parse( idString )
return the mongoid string split into its component fields.
For example, "5451a297f7e0f13c3a000001" parses to `{ timestamp: 1414636183,
machineid: 16244977, pid: 15418, sequence: 1 }`
MongoId.parse("5451a297f7e0f13c3a000001")
// => { timestamp: 1414636183, machineid: 16244977, pid: 15418, sequence: 1 }
Note that the timestamp field is a Unix timestamp (seconds since epoch),
while getTimestamp() return a JavaScript timestamp (milliseconds since epoch).
while getTimestamp() returns a JavaScript timestamp (milliseconds since epoch).

@@ -77,0 +78,0 @@ ### phpdate( format, timestamp )

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