New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@azure/core-lro

Package Overview
Dependencies
Maintainers
2
Versions
393
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-lro - npm Package Compare versions

Comparing version 3.1.1-alpha.20240924.1 to 3.1.1-alpha.20240925.5

15

package.json

@@ -5,3 +5,3 @@ {

"sdk-type": "client",
"version": "3.1.1-alpha.20240924.1",
"version": "3.1.1-alpha.20240925.5",
"type": "module",

@@ -72,7 +72,7 @@ "description": "Isomorphic client library for supporting long-running operations in node.js and browser.",

"build:test": "echo skipped. actual commands inlined in browser test scripts",
"build": "npm run clean && tshy && dev-tool run extract-api",
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
"clean": "rimraf --glob dist dist-* types *.log browser statistics.html coverage src/**/*.js test/**/*.js",
"execute:samples": "echo skipped",
"extract-api": "tshy && dev-tool run extract-api",
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",

@@ -88,5 +88,6 @@ "integration-test:browser": "echo skipped",

"test": "npm run unit-test",
"unit-test:browser": "npm run clean && tshy && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
"unit-test:node": "dev-tool run test:vitest --no-test-proxy",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"update-snippets": "dev-tool run update-snippets"
},

@@ -101,4 +102,5 @@ "dependencies": {

"@azure/core-rest-pipeline": "^1.1.0",
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
"@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
"@microsoft/api-extractor": "^7.40.3",

@@ -111,3 +113,2 @@ "@types/node": "^18.0.0",

"rimraf": "^5.0.5",
"tshy": "^2.0.0",
"typescript": "~5.6.2",

@@ -114,0 +115,0 @@ "vitest": "^2.0.5"

@@ -45,8 +45,8 @@ # Azure Core LRO client library for JavaScript

```typescript
switch(poller.getOperationState().status) {
case "succeeded": // return poller.getResult();
case "failed": // throw poller.getOperationState().error;
case "canceled": // throw new Error("Operation was canceled");
case "running": // ...
```typescript snippet:operation_state
switch (poller.getOperationState().status) {
case "succeeded": // return poller.getResult();
case "failed": // throw poller.getOperationState().error;
case "canceled": // throw new Error("Operation was canceled");
case "running": // ...
case "notStarted": // ...

@@ -53,0 +53,0 @@ }

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