@azure/eventgrid
Advanced tools
Comparing version 4.10.0-beta.1 to 4.10.0
@@ -23,3 +23,3 @@ /* | ||
}; | ||
const packageDetails = `azsdk-js-eventgrid/4.10.0-beta.1`; | ||
const packageDetails = `azsdk-js-eventgrid/4.10.0`; | ||
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix | ||
@@ -26,0 +26,0 @@ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` |
@@ -11,4 +11,4 @@ // Copyright (c) Microsoft Corporation. | ||
packageName: "@azure/event-grid", | ||
packageVersion: "4.9.0", | ||
packageVersion: "4.10.0", | ||
}); | ||
//# sourceMappingURL=tracing.js.map |
@@ -20,6 +20,6 @@ // Copyright (c) Microsoft Corporation. | ||
const year = d.getUTCFullYear(); | ||
const hour = d.getUTCHours() === 0 ? 12 : d.getUTCHours() % 12; // getUTCHours returns 0-23, and we want this in 12 hour format. | ||
const hour = d.getUTCHours() === 0 || d.getUTCHours() === 12 ? 12 : d.getUTCHours() % 12; // getUTCHours returns 0-23, and we want this in 12 hour format. | ||
const minute = d.getUTCMinutes().toString().padStart(2, "0"); | ||
const second = d.getUTCSeconds().toString().padStart(2, "0"); | ||
const am = d.getUTCHours() >= 13 ? "PM" : "AM"; | ||
const am = d.getUTCHours() >= 12 ? "PM" : "AM"; | ||
return `${month}/${day}/${year} ${hour}:${minute}:${second} ${am}`; | ||
@@ -26,0 +26,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"description": "An isomorphic client library for the Azure Event Grid service.", | ||
"version": "4.10.0-beta.1", | ||
"version": "4.10.0", | ||
"keywords": [ | ||
@@ -82,4 +82,4 @@ "node", | ||
"integration-test": "npm run integration-test:node && npm run integration-test:browser", | ||
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", | ||
"lint": "eslint package.json api-extractor.json src test --ext .ts", | ||
"lint:fix": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", | ||
"lint": "eslint package.json api-extractor.json README.md src test --ext .ts,.javascript,.js", | ||
"pack": "npm pack 2>&1", | ||
@@ -110,3 +110,3 @@ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", | ||
"@azure-tools/test-recorder": "^2.0.0", | ||
"@microsoft/api-extractor": "^7.18.11", | ||
"@microsoft/api-extractor": "7.18.11", | ||
"@types/chai": "^4.1.6", | ||
@@ -122,3 +122,3 @@ "@types/chai-as-promised": "^7.1.0", | ||
"dotenv": "^8.2.0", | ||
"eslint": "^7.15.0", | ||
"eslint": "^8.0.0", | ||
"karma": "^6.2.0", | ||
@@ -143,4 +143,4 @@ "karma-chrome-launcher": "^3.0.0", | ||
"ts-node": "^10.0.0", | ||
"typescript": "~4.2.0" | ||
"typescript": "~4.6.0" | ||
} | ||
} |
@@ -303,3 +303,3 @@ # Azure Event Grid client library for JavaScript | ||
```javascript | ||
import { setLogLevel } from "@azure/logger"; | ||
const { setLogLevel } = require("@azure/logger"); | ||
@@ -306,0 +306,0 @@ setLogLevel("info"); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1642045
46