@azure-rest/ai-document-intelligence
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
200
package.json
{ | ||
"name": "@azure-rest/ai-document-intelligence", | ||
"sdk-type": "client", | ||
"author": "Microsoft Corporation", | ||
"version": "1.0.0-beta.2", | ||
"description": "Azure Document Intelligence Rest Client", | ||
"version": "1.0.0-beta.3", | ||
"description": "Document Intelligence Rest Client", | ||
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
"sideEffects": false, | ||
"autoPublish": false, | ||
"tshy": { | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
}, | ||
"dialects": [ | ||
"esm", | ||
"commonjs" | ||
], | ||
"esmDialects": [ | ||
"browser", | ||
"react-native" | ||
], | ||
"selfLink": false | ||
}, | ||
"type": "module", | ||
"keywords": [ | ||
@@ -15,102 +34,109 @@ "node", | ||
], | ||
"author": "Microsoft Corporation", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"module": "./dist-esm/src/index.js", | ||
"types": "./types/ai-document-intelligence.d.ts", | ||
"repository": "github:Azure/azure-sdk-for-js", | ||
"bugs": { | ||
"url": "https://github.com/Azure/azure-sdk-for-js/issues" | ||
}, | ||
"files": [ | ||
"dist/", | ||
"dist-esm/src/", | ||
"types/ai-document-intelligence.d.ts", | ||
"dist", | ||
"README.md", | ||
"LICENSE", | ||
"review/*" | ||
"review/*", | ||
"CHANGELOG.md" | ||
], | ||
"engines": { | ||
"node": ">=18.0.0" | ||
"sdk-type": "client", | ||
"repository": "github:Azure/azure-sdk-for-js", | ||
"bugs": { | ||
"url": "https://github.com/Azure/azure-sdk-for-js/issues" | ||
}, | ||
"scripts": { | ||
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", | ||
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1", | ||
"build:samples": "echo skipped.", | ||
"build:test": "tsc -p . && dev-tool run bundle", | ||
"build:debug": "tsc -p . && dev-tool run bundle && api-extractor run --local", | ||
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"*.{js,json}\" \"test/**/*.ts\"", | ||
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", | ||
"execute:samples": "echo skipped", | ||
"extract-api": "rimraf review && mkdirp ./review && api-extractor run --local", | ||
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"*.{js,json}\" \"test/**/*.ts\"", | ||
"generate:client": "echo skipped", | ||
"integration-test:browser": "echo skipped", | ||
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", | ||
"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", | ||
"pack": "npm pack 2>&1", | ||
"test:browser": "echo skipped", | ||
"test:node": "npm run clean && npm run build:test && npm run unit-test:node", | ||
"test": "npm run clean && npm run build:test && npm run unit-test", | ||
"unit-test": "npm run unit-test:node && npm run unit-test:browser", | ||
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'", | ||
"unit-test:browser": "echo skipped", | ||
"build": "npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local" | ||
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", | ||
"//metadata": { | ||
"constantPaths": [ | ||
{ | ||
"path": "src/documentIntelligence.ts", | ||
"prefix": "userAgentInfo" | ||
} | ||
] | ||
}, | ||
"sideEffects": false, | ||
"autoPublish": false, | ||
"dependencies": { | ||
"@azure-rest/core-client": "^2.1.0", | ||
"@azure/core-auth": "^1.6.0", | ||
"@azure-rest/core-client": "^1.2.0", | ||
"@azure/core-rest-pipeline": "^1.14.0", | ||
"@azure/core-rest-pipeline": "^1.5.0", | ||
"@azure/logger": "^1.0.0", | ||
"tslib": "^2.2.0", | ||
"@azure/core-paging": "^1.5.0", | ||
"@azure/core-lro": "^2.5.4", | ||
"@azure/abort-controller": "^1.0.0" | ||
"tslib": "^2.6.2", | ||
"@azure/core-lro": "^3.0.0", | ||
"@azure/abort-controller": "^2.1.2", | ||
"@azure/core-paging": "^1.5.0" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.31.1", | ||
"autorest": "latest", | ||
"dotenv": "^16.0.0", | ||
"@microsoft/api-extractor": "^7.40.3", | ||
"@types/node": "^18.0.0", | ||
"dotenv": "^16.0.0", | ||
"eslint": "^8.0.0", | ||
"mkdirp": "^2.1.2", | ||
"rimraf": "^5.0.0", | ||
"source-map-support": "^0.5.9", | ||
"typescript": "~5.3.3", | ||
"eslint": "^8.55.0", | ||
"prettier": "^3.2.5", | ||
"rimraf": "^5.0.5", | ||
"mkdirp": "^3.0.1", | ||
"typescript": "~5.5.3", | ||
"tshy": "^1.11.1", | ||
"@azure/core-util": "^1.0.0", | ||
"@azure/identity": "^4.2.1", | ||
"@vitest/browser": "^2.0.5", | ||
"@vitest/coverage-istanbul": "^2.0.5", | ||
"playwright": "^1.41.2", | ||
"vitest": "^2.0.5", | ||
"@azure-tools/test-credential": "^2.0.0", | ||
"@azure-tools/test-recorder": "^4.0.0", | ||
"@azure/dev-tool": "^1.0.0", | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0", | ||
"@azure-tools/test-credential": "^1.0.0", | ||
"@azure/identity": "^4.0.1", | ||
"@azure-tools/test-recorder": "^3.0.0", | ||
"mocha": "^10.0.0", | ||
"esm": "^3.2.18", | ||
"@types/mocha": "^10.0.0", | ||
"cross-env": "^7.0.2", | ||
"@types/chai": "^4.2.8", | ||
"chai": "^4.2.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
"karma-coverage": "^2.0.0", | ||
"karma-env-preprocessor": "^0.1.1", | ||
"karma-firefox-launcher": "^2.1.2", | ||
"karma-junit-reporter": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-mocha": "^2.0.1", | ||
"karma-source-map-support": "~1.4.0", | ||
"karma-sourcemap-loader": "^0.4.0", | ||
"karma": "^6.2.0", | ||
"c8": "^8.0.0", | ||
"ts-node": "^10.0.0" | ||
"@azure/eslint-plugin-azure-sdk": "^3.0.0" | ||
}, | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documentintelligence/ai-document-intelligence-rest/README.md", | ||
"//metadata": { | ||
"constantPaths": [ | ||
{ | ||
"path": "src/documentIntelligence.ts", | ||
"prefix": "userAgentInfo" | ||
"scripts": { | ||
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", | ||
"extract-api": "rimraf review && mkdirp ./review && dev-tool run extract-api", | ||
"pack": "npm pack 2>&1", | ||
"lint": "eslint package.json api-extractor.json src test", | ||
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", | ||
"unit-test": "npm run unit-test:node && npm run unit-test:browser", | ||
"unit-test:browser": "echo skipped", | ||
"unit-test:node": "dev-tool run test:vitest", | ||
"integration-test": "npm run integration-test:node && npm run integration-test:browser", | ||
"integration-test:browser": "echo skipped", | ||
"integration-test:node": "echo skipped", | ||
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", | ||
"build:samples": "dev-tool samples publish --force", | ||
"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}\"", | ||
"execute:samples": "dev-tool samples run samples-dev", | ||
"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}\"", | ||
"generate:client": "echo skipped", | ||
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", | ||
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", | ||
"build:test": "npm run clean && tshy && dev-tool run build-test", | ||
"build": "npm run clean && tshy && mkdirp ./review && dev-tool run extract-api", | ||
"test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node", | ||
"test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"browser": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.js" | ||
}, | ||
"react-native": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/react-native/index.d.ts", | ||
"default": "./dist/react-native/index.js" | ||
}, | ||
"import": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
] | ||
} | ||
}, | ||
"main": "./dist/commonjs/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"module": "./dist/esm/index.js", | ||
"//sampleConfiguration": { | ||
@@ -117,0 +143,0 @@ "productName": "Azure Document Intelligence Rest Client", |
@@ -18,3 +18,3 @@ # Azure DocumentIntelligence (formerly FormRecognizer) REST client library for JavaScript | ||
> This version of the client library defaults to the `"2024-02-29-preview"` version of the service. | ||
> This version of the client library defaults to the `"2024-07-31-preview"` version of the service. | ||
@@ -25,2 +25,3 @@ This table shows the relationship between SDK versions and supported API versions of the service: | ||
| ------------ | -------------------------------- | | ||
| 1.0.0-beta.3 | 2024-07-31-preview | | ||
| 1.0.0-beta.2 | 2024-02-29-preview | | ||
@@ -35,2 +36,3 @@ | 1.0.0-beta.1 | 2023-10-31-preview | | ||
| ------------------- | ------------------------------------------------------------ | ------------------------------------------------------------- | | ||
| 2024-07-31-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.3` | | ||
| 2024-02-29-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.2` | | ||
@@ -81,3 +83,3 @@ | 2023-10-31-preview | DocumentIntelligenceClient | `@azure-rest/ai-document-intelligence` version `1.0.0-beta.1` | | ||
process.env["DOCUMENT_INTELLIGENCE_ENDPOINT"], | ||
new DefaultAzureCredential() | ||
new DefaultAzureCredential(), | ||
); | ||
@@ -84,0 +86,0 @@ ``` |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
1393803
19
186
10694
309
Yes
2
1
+ Added@azure-rest/core-client@2.3.1(transitive)
+ Added@azure/core-lro@3.1.0(transitive)
- Removed@azure-rest/core-client@1.4.0(transitive)
- Removed@azure/abort-controller@1.1.0(transitive)
- Removed@azure/core-lro@2.7.2(transitive)
Updated@azure/core-lro@^3.0.0
Updatedtslib@^2.6.2