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

brisky-stamp

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brisky-stamp - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

7

dist/index.es.js

@@ -27,3 +27,2 @@ if (!global.briskystamp) {

exports.create = (type, src, override) => {
if (override) override = override - ts;
if (type) {

@@ -40,3 +39,3 @@ return [ override || ms(), src || 0, parseInt(type, 36) ]

exports.val = stamp => stamp && ((stamp[0] || stamp) + ts);
exports.val = stamp => stamp && ((stamp[0] || stamp));

@@ -65,3 +64,3 @@ exports.type = stamp => stamp[2] && stamp[2].toString(36);

if (typeof stamp === 'object') {
const parsed = { val: stamp[0] + ts };
const parsed = { val: stamp[0] };
const src = stamp[1];

@@ -73,3 +72,3 @@ const type = exports.type(stamp);

} else {
return { val: stamp + ts }
return { val: stamp }
}

@@ -76,0 +75,0 @@ };

@@ -29,3 +29,2 @@ 'use strict';

exports.create = (type, src, override) => {
if (override) override = override - ts;
if (type) {

@@ -42,3 +41,3 @@ return [ override || ms(), src || 0, parseInt(type, 36) ]

exports.val = stamp => stamp && ((stamp[0] || stamp) + ts);
exports.val = stamp => stamp && ((stamp[0] || stamp));

@@ -67,3 +66,3 @@ exports.type = stamp => stamp[2] && stamp[2].toString(36);

if (typeof stamp === 'object') {
const parsed = { val: stamp[0] + ts };
const parsed = { val: stamp[0] };
const src = stamp[1];

@@ -75,3 +74,3 @@ const type = exports.type(stamp);

} else {
return { val: stamp + ts }
return { val: stamp }
}

@@ -78,0 +77,0 @@ };

{
"name": "brisky-stamp",
"version": "3.0.3",
"version": "3.0.4",
"description": "Generate unique meta information for change in a system",

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

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