You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@takeshape/util

Package Overview
Dependencies
14
Maintainers
4
Versions
710
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.15.0 to 10.16.0

1

dist/billing.d.ts

@@ -327,3 +327,2 @@ /// <reference types="stripe/types/crypto/crypto" />

export declare function isStripeChargeObject(charge: string | Stripe.Charge | null): charge is Stripe.Charge;
export type ProductsMapping = Record<string, Stripe.Product>;
export type PaymentAmount = {

@@ -330,0 +329,0 @@ total: number;

1

dist/unix-to-iso.d.ts

@@ -0,3 +1,4 @@

export declare function isoToISODateOnly(iso: string): string;
export declare function unixToISO(unix: number): string;
export declare function unixToISODateOnly(unix: number): string;
//# sourceMappingURL=unix-to-iso.d.ts.map

@@ -6,4 +6,8 @@ "use strict";

});
exports.isoToISODateOnly = isoToISODateOnly;
exports.unixToISO = unixToISO;
exports.unixToISODateOnly = unixToISODateOnly;
function isoToISODateOnly(iso) {
return iso.slice(0, 10);
}
function unixToISO(unix) {

@@ -13,3 +17,3 @@ return new Date(unix * 1000).toISOString();

function unixToISODateOnly(unix) {
return unixToISO(unix).slice(0, 10);
return isoToISODateOnly(unixToISO(unix));
}

@@ -0,1 +1,4 @@

export function isoToISODateOnly(iso) {
return iso.slice(0, 10);
}
export function unixToISO(unix) {

@@ -5,3 +8,3 @@ return new Date(unix * 1000).toISOString();

export function unixToISODateOnly(unix) {
return unixToISO(unix).slice(0, 10);
return isoToISODateOnly(unixToISO(unix));
}
{
"name": "@takeshape/util",
"version": "10.15.0",
"version": "10.16.0",
"description": "Shared utilities",

@@ -36,3 +36,3 @@ "homepage": "https://www.takeshape.io",

"url-parse": "^1.5.3",
"@takeshape/routing": "10.15.0"
"@takeshape/routing": "10.16.0"
},

@@ -50,3 +50,3 @@ "devDependencies": {

"stripe": "13.8.0",
"@takeshape/typescript-jest-junit-reporter": "10.15.0"
"@takeshape/typescript-jest-junit-reporter": "10.16.0"
},

@@ -53,0 +53,0 @@ "engines": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc