@microsoft/kiota-abstractions
Advanced tools
Comparing version 1.0.0-preview.77 to 1.0.0-preview.78
# Changelog | ||
## [1.0.0-preview.78](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-abstractions@1.0.0-preview.77...@microsoft/kiota-abstractions@1.0.0-preview.78) (2024-12-19) | ||
### Bug Fixes | ||
* missing duration normalization ([d78a9cb](https://github.com/microsoft/kiota-typescript/commit/d78a9cb8602b07e96e430350ab4e84ec40681fe3)) | ||
* update std-uritemplate to v2.0.0 ([cf12831](https://github.com/microsoft/kiota-typescript/commit/cf128314d044b995cb5707570b73c552119722b2)) | ||
## [1.0.0-preview.77](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-abstractions@1.0.0-preview.76...@microsoft/kiota-abstractions@1.0.0-preview.77) (2024-11-22) | ||
@@ -4,0 +12,0 @@ |
@@ -243,3 +243,3 @@ /** | ||
normalizeValue(value) { | ||
if (value instanceof DateOnly || value instanceof TimeOnly) { | ||
if (value instanceof DateOnly || value instanceof TimeOnly || value instanceof Duration) { | ||
return value.toString(); | ||
@@ -273,3 +273,3 @@ } | ||
this.queryParameters[key] = v; | ||
else if (v instanceof DateOnly || v instanceof TimeOnly) | ||
else if (v instanceof DateOnly || v instanceof TimeOnly || v instanceof Duration) | ||
this.queryParameters[key] = v.toString(); | ||
@@ -276,0 +276,0 @@ else if (v instanceof Date) |
{ | ||
"name": "@microsoft/kiota-abstractions", | ||
"version": "1.0.0-preview.77", | ||
"version": "1.0.0-preview.78", | ||
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript", | ||
@@ -38,3 +38,3 @@ "main": "dist/es/src/index.js", | ||
"@opentelemetry/api": "^1.7.0", | ||
"@std-uritemplate/std-uritemplate": "^1.0.1", | ||
"@std-uritemplate/std-uritemplate": "^2.0.0", | ||
"tinyduration": "^3.3.0", | ||
@@ -50,3 +50,3 @@ "tslib": "^2.6.2", | ||
], | ||
"gitHead": "7c8d0f847a4c877a7b85ed044d0673b6dc148419" | ||
"gitHead": "ea650f48868b15deefd1fa358f687dad072e144f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407095
+ Added@std-uritemplate/std-uritemplate@2.0.1(transitive)
- Removed@std-uritemplate/std-uritemplate@1.0.6(transitive)