You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@autorest/java

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autorest/java - npm Package Compare versions

Comparing version
4.1.21
to
4.1.22
+2
-0
fluentnamer/readme.md

@@ -65,2 +65,4 @@ #### Fluentnamer

client-flattened-annotation-target: none
null-byte-array-maps-to-empty-array: true
graal-vm-config: true
```
+1
-1
{
"name": "@autorest/java",
"version": "4.1.21",
"version": "4.1.22",
"description": "The Java extension for classic generators in AutoRest.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -74,3 +74,3 @@ # Overview

|`--generate-sync-async-clients`|Implies `--generate-client-as-impl` and generates sync and async convenience layer clients for all the "Impl"s. Default is false.|
|`--generate-builder-per-client`| Requires `--generate-sync-async-clients`, and generates one ClientBuilder for each Client. Default is false.|
|`--generate-builder-per-client`|Requires `--generate-sync-async-clients`, and generates one ClientBuilder for each Client. Default is false.|
|`--implementation-subpackage=STRING`|The sub-package that the Service client and Method Group client implementation classes will be put into. Default is `implementation`.|

@@ -85,3 +85,3 @@ |`--models-subpackage=STRING`|The sub-package that Enums, Exceptions, and Model types will be put into. Default is `models`.|

|`--require-x-ms-flattened-to-flatten`|Indicates whether `x-ms-flattened` is required to annotated a class with `@JsonFlatten` if the discriminator has `.` in its name. Default is false.|
|`--client-flattened-annotation-target=TYPE,FIELD,NONE`|Indicates the target of `@JsonFlatten` annotation for `x-ms-client-flatten`. Default is `TYPE`. If value is `FIELD`, it implies `require-x-ms-flattened-to-flatten=true`.|
|`--client-flattened-annotation-target=TYPE,FIELD,NONE,DISABLED`|Indicates the target of `@JsonFlatten` annotation for `x-ms-client-flatten`. Default is `TYPE`. If value is `FIELD`, it implies `require-x-ms-flattened-to-flatten=true`.|
|`--disable-client-builder`|Indicates whether to disable generating the `ClientBuilder` class. This is for SDK that already contains a hand-written `ClientBuilder` class. Default is false.|

@@ -103,2 +103,3 @@ |`--skip-formatting`|Indicates whether to skip formatting Java file. Default is false.|

|`--use-key-credential`|Indicates that builder uses `KeyCredential` for API key.|
|`--graal-vm-config`|Generates GraalVM config under `resources/META-INF/native-image`.|

@@ -383,3 +384,3 @@ ## Settings for minimal data-plane clients

type: string
description: \[TYPE,FIELD] Indicates the target of `@JsonFlatten` annotation for `x-ms-client-flatten`. Default is `TYPE`. If value is `FIELD`, it implies `require-x-ms-flattened-to-flatten=true`.
description: \[TYPE,FIELD,NONE,DISABLED] Indicates the target of `@JsonFlatten` annotation for `x-ms-client-flatten`. Default is `TYPE`. If value is `FIELD`, it implies `require-x-ms-flattened-to-flatten=true`.
- key: disable-client-builder

@@ -386,0 +387,0 @@ type: bool

{
"name": "@azure-tools/typespec-java",
"version": "0.9.0",
"version": "0.10.0",
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",

@@ -48,8 +48,8 @@ "keywords": [

"peerDependencies": {
"@typespec/compiler": ">=0.45.0 <1.0.0",
"@typespec/rest": ">=0.45.0 <1.0.0",
"@typespec/openapi": ">=0.45.0 <1.0.0",
"@typespec/versioning": ">=0.45.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.31.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.31.0 <1.0.0"
"@typespec/compiler": ">=0.49.0 <1.0.0",
"@typespec/rest": ">=0.49.0 <1.0.0",
"@typespec/openapi": ">=0.49.0 <1.0.0",
"@typespec/versioning": ">=0.49.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.35.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.35.0 <1.0.0"
},

@@ -62,16 +62,16 @@ "dependencies": {

"devDependencies": {
"@types/lodash": "~4.14.198",
"@types/js-yaml": "~4.0.5",
"@types/mocha": "~10.0.1",
"@types/node": "~20.6.0",
"@types/lodash": "~4.14.199",
"@types/js-yaml": "~4.0.7",
"@types/mocha": "~10.0.2",
"@types/node": "~20.8.4",
"@types/prettier": "~2.7.3",
"c8": "~8.0.1",
"eslint": "~8.49.0",
"eslint": "~8.51.0",
"mocha": "~10.2.0",
"rimraf": "~5.0.1",
"rimraf": "~5.0.5",
"typescript": "~5.2.2",
"@typescript-eslint/parser": "~6.7.0",
"@typescript-eslint/eslint-plugin": "~6.7.0",
"eslint-plugin-deprecation": "~1.5.0"
"@typescript-eslint/parser": "~6.7.5",
"@typescript-eslint/eslint-plugin": "~6.7.5",
"eslint-plugin-deprecation": "~2.0.0"
}
}

@@ -12,9 +12,9 @@ {

"dependencies": {
"@typespec/openapi": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.34.0 <1.0.0",
"@azure-tools/cadl-ranch-specs": "0.22.0",
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.9.0.tgz"
"@typespec/openapi": ">=0.49.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.35.0 <1.0.0",
"@azure-tools/cadl-ranch-specs": "0.24.0",
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.10.0.tgz"
},
"devDependencies": {
"@typespec/prettier-plugin-typespec": "~0.48.0",
"@typespec/prettier-plugin-typespec": "~0.49.0",
"prettier-plugin-organize-imports": "3.2.3",

@@ -24,10 +24,10 @@ "prettier": "~3.0.3"

"overrides": {
"@typespec/compiler": ">=0.48.0 <1.0.0",
"@typespec/http": ">=0.48.0 <1.0.0",
"@typespec/rest": ">=0.48.0 <1.0.0",
"@typespec/versioning": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.34.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.34.0 <1.0.0"
"@typespec/compiler": ">=0.49.0 <1.0.0",
"@typespec/http": ">=0.49.0 <1.0.0",
"@typespec/rest": ">=0.49.0 <1.0.0",
"@typespec/versioning": ">=0.49.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.35.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.35.0 <1.0.0"
},
"private": true
}

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 not supported yet

Sorry, the diff of this file is not supported yet