From 743b6640087cbafde98ca647b42154b376cb76aa Mon Sep 17 00:00:00 2001 From: Daniel Freytag Date: Sun, 22 Dec 2024 12:24:04 +0100 Subject: [PATCH] chore: update dependencies --- dates/CHANGELOG.md | 5 ++ dates/dates.ts | 1 + dates/deno.jsonc | 1 + deno.jsonc | 2 +- deno.lock | 112 +++++++++++++++++++++++++++--------------- storage-s3/deno.jsonc | 2 +- 6 files changed, 81 insertions(+), 42 deletions(-) diff --git a/dates/CHANGELOG.md b/dates/CHANGELOG.md index e1e6583..58cb7c3 100644 --- a/dates/CHANGELOG.md +++ b/dates/CHANGELOG.md @@ -1,5 +1,10 @@ # Dates Changelog +## 2024-12-22 - 0.1.1 + +- fix: added `@deno-types` to `DateTime` import +- fix: removed `jsr:` prefix from ts examples + ## 2024-12-12 - 0.1.0 - feat: added `formatDuration` function to format durations in milliseconds to a human readable string. diff --git a/dates/dates.ts b/dates/dates.ts index 230b959..179e6d6 100644 --- a/dates/dates.ts +++ b/dates/dates.ts @@ -1,5 +1,6 @@ // load package import { format as stdFormat } from '@std/fmt/duration' +// @deno-types="npm:@types/luxon" import { DateTime } from 'luxon' const LOCAL_TIMEZONE = 'Europe/Amsterdam' diff --git a/dates/deno.jsonc b/dates/deno.jsonc index 5287040..1b301ce 100644 --- a/dates/deno.jsonc +++ b/dates/deno.jsonc @@ -5,6 +5,7 @@ "exports": "./dates.ts", "imports": { "@std/fmt": "jsr:@std/fmt@^1.0.3", + "@types/luxon": "npm:@types/luxon@^3.4.2", "luxon": "npm:luxon@^3.5.0" }, "publish": { diff --git a/deno.jsonc b/deno.jsonc index 741f0a8..4afb0b8 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -36,7 +36,7 @@ "@biomejs/biome": "npm:@biomejs/biome@^1.9.4", "@types/node": "npm:@types/node@^22.10.2", "@cross/test": "jsr:@cross/test@^0.0.10", - "@std/assert": "jsr:@std/assert@^1.0.9", + "@std/assert": "jsr:@std/assert@^1.0.10", "sinon": "npm:sinon@^19.0.2" } } diff --git a/deno.lock b/deno.lock index 22a4a20..e649dc7 100644 --- a/deno.lock +++ b/deno.lock @@ -4,15 +4,16 @@ "jsr:@cross/runtime@1": "1.1.0", "jsr:@cross/test@^0.0.10": "0.0.10", "jsr:@frytg/logger@0.0.2": "0.0.2", - "jsr:@std/assert@^1.0.9": "1.0.9", + "jsr:@std/assert@^1.0.10": "1.0.10", "jsr:@std/fmt@^1.0.3": "1.0.3", "jsr:@std/internal@^1.0.5": "1.0.5", "npm:@biomejs/biome@1.9.4": "1.9.4", "npm:@biomejs/biome@^1.9.4": "1.9.4", + "npm:@types/luxon@^3.4.2": "3.4.2", "npm:@types/node@*": "22.5.4", "npm:@types/node@^22.10.2": "22.10.2", "npm:luxon@^3.5.0": "3.5.0", - "npm:minio@^8.0.2": "8.0.2", + "npm:minio@^8.0.3": "8.0.3", "npm:sinon@^19.0.2": "19.0.2", "npm:winston@^3.17.0": "3.17.0" }, @@ -32,8 +33,8 @@ "npm:winston" ] }, - "@std/assert@1.0.9": { - "integrity": "a9f0c611a869cc791b26f523eec54c7e187aab7932c2c8e8bea0622d13680dcd", + "@std/assert@1.0.10": { + "integrity": "59b5cbac5bd55459a19045d95cc7c2ff787b4f8527c0dd195078ff6f9481fbb3", "dependencies": [ "jsr:@std/internal" ] @@ -117,6 +118,9 @@ "@sinonjs/text-encoding@0.7.3": { "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==" }, + "@types/luxon@3.4.2": { + "integrity": "sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==" + }, "@types/node@22.10.2": { "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dependencies": [ @@ -156,16 +160,29 @@ "buffer-crc32@1.0.0": { "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==" }, - "call-bind@1.0.7": { - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "call-bind-apply-helpers@1.0.1": { + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", "dependencies": [ - "es-define-property", "es-errors", - "function-bind", + "function-bind" + ] + }, + "call-bind@1.0.8": { + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", + "dependencies": [ + "call-bind-apply-helpers", + "es-define-property", "get-intrinsic", "set-function-length" ] }, + "call-bound@1.0.3": { + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dependencies": [ + "call-bind-apply-helpers", + "get-intrinsic" + ] + }, "color-convert@1.9.3": { "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dependencies": [ @@ -210,23 +227,34 @@ "diff@7.0.0": { "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==" }, + "dunder-proto@1.0.1": { + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": [ + "call-bind-apply-helpers", + "es-errors", + "gopd" + ] + }, "enabled@2.0.0": { "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" }, - "es-define-property@1.0.0": { - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dependencies": [ - "get-intrinsic" - ] + "es-define-property@1.0.1": { + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==" }, "es-errors@1.3.0": { "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" }, + "es-object-atoms@1.0.0": { + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dependencies": [ + "es-errors" + ] + }, "eventemitter3@5.0.1": { "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" }, - "fast-xml-parser@4.5.0": { - "integrity": "sha512-/PlTQCI96+fZMAOLMZK4CWG1ItCbfZ/0jx7UIJFChPNrx7tcEgerUgWbeieCM9MfHInUDyK8DWYZ+YrywDJuTg==", + "fast-xml-parser@4.5.1": { + "integrity": "sha512-y655CeyUQ+jj7KBbYMc4FG01V8ZQqjN+gDYGJ50RtfsUB8iG9AmwmwoAgeKLJdmueKKMrH1RJ7yXHTSoczdv5w==", "dependencies": [ "strnum" ] @@ -249,21 +277,23 @@ "function-bind@1.1.2": { "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" }, - "get-intrinsic@1.2.4": { - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "get-intrinsic@1.2.6": { + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dependencies": [ + "call-bind-apply-helpers", + "dunder-proto", + "es-define-property", "es-errors", + "es-object-atoms", "function-bind", - "has-proto", + "gopd", "has-symbols", - "hasown" + "hasown", + "math-intrinsics" ] }, - "gopd@1.0.1": { - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dependencies": [ - "get-intrinsic" - ] + "gopd@1.2.0": { + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==" }, "has-flag@4.0.0": { "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" @@ -274,11 +304,8 @@ "es-define-property" ] }, - "has-proto@1.0.3": { - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==" - }, - "has-symbols@1.0.3": { - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "has-symbols@1.1.0": { + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==" }, "has-tostringtag@1.0.2": { "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", @@ -298,10 +325,10 @@ "ipaddr.js@2.2.0": { "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==" }, - "is-arguments@1.1.1": { - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "is-arguments@1.2.0": { + "integrity": "sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==", "dependencies": [ - "call-bind", + "call-bound", "has-tostringtag" ] }, @@ -320,8 +347,8 @@ "is-stream@2.0.1": { "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" }, - "is-typed-array@1.1.13": { - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "is-typed-array@1.1.15": { + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", "dependencies": [ "which-typed-array" ] @@ -352,6 +379,9 @@ "luxon@3.5.0": { "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==" }, + "math-intrinsics@1.1.0": { + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==" + }, "mime-db@1.52.0": { "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" }, @@ -361,8 +391,8 @@ "mime-db" ] }, - "minio@8.0.2": { - "integrity": "sha512-7ipWbtgzzboctf+McK+2cXwCrNOhuboTA/O1g9iWa0gH8R4GkeyFWwk12aVDEHdzjPiG8wxnjwfHS7pgraKuHw==", + "minio@8.0.3": { + "integrity": "sha512-+FIYQ+HZ5GrBjEmIYienRgEikqaTWAflXIV5lJOtUzfYxn3NvjQx7BsJSORXExlqgzWxKTWsqkyk2wiyFjs9/w==", "dependencies": [ "async", "block-stream2", @@ -536,11 +566,12 @@ "util" ] }, - "which-typed-array@1.1.15": { - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "which-typed-array@1.1.18": { + "integrity": "sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==", "dependencies": [ "available-typed-arrays", "call-bind", + "call-bound", "for-each", "gopd", "has-tostringtag" @@ -641,7 +672,7 @@ "workspace": { "dependencies": [ "jsr:@cross/test@^0.0.10", - "jsr:@std/assert@^1.0.9", + "jsr:@std/assert@^1.0.10", "npm:@biomejs/biome@^1.9.4", "npm:@types/node@^22.10.2", "npm:sinon@^19.0.2" @@ -655,6 +686,7 @@ "dates": { "dependencies": [ "jsr:@std/fmt@^1.0.3", + "npm:@types/luxon@^3.4.2", "npm:luxon@^3.5.0" ] }, @@ -665,7 +697,7 @@ }, "storage-s3": { "dependencies": [ - "npm:minio@^8.0.2" + "npm:minio@^8.0.3" ] } } diff --git a/storage-s3/deno.jsonc b/storage-s3/deno.jsonc index 0047695..c83696d 100644 --- a/storage-s3/deno.jsonc +++ b/storage-s3/deno.jsonc @@ -4,7 +4,7 @@ "version": "0.0.1", "exports": "./storage.ts", "imports": { - "minio": "npm:minio@^8.0.2" + "minio": "npm:minio@^8.0.3" }, "publish": { "exclude": ["*.test.ts"]