@autorest/extension-base
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -5,10 +5,10 @@ { | ||
"packages/libs/extension-base/.npmignore": "855e366c97fdae0f3674a98ab7cb35d346f87816", | ||
"packages/libs/extension-base/CHANGELOG.json": "b7856fdd06364a58c487e9aaccdaa4a27bff48d7", | ||
"packages/libs/extension-base/CHANGELOG.md": "27c57c3c65cca646f34b77f3445f29b7bf227336", | ||
"packages/libs/extension-base/CHANGELOG.json": "8f6a809b31e77bcd1adf28c2379917b83832ef0d", | ||
"packages/libs/extension-base/CHANGELOG.md": "46995afdb8f7f0b8bc80ee13fcdc5496d3c8a7a7", | ||
"packages/libs/extension-base/LICENSE": "21071075c24599ee98254f702bcfc504cdc275a6", | ||
"packages/libs/extension-base/code-model-v1.d.ts": "7b1ea0b62681a8c2f395180dbdaeb0b9c01c6ce5", | ||
"packages/libs/extension-base/package.json": "7664007468092d9509f4b5dda4e550ef03e359b7", | ||
"packages/libs/extension-base/package.json": "1a34a351647bd9bf90da19973faf32cdc8715e7c", | ||
"packages/libs/extension-base/readme.md": "f9e664f8dc4f8424b43ceae84772294f6c0cee76", | ||
"packages/libs/extension-base/src/autorest-extension.ts": "5bccc69f9369137effcd8e1508c46465c8975b27", | ||
"packages/libs/extension-base/src/extension-host.ts": "27629736b99984638c3e8eeb8045d39c5fcce5b6", | ||
"packages/libs/extension-base/src/autorest-extension.ts": "bb0a2f9b877c29181dda3a3e0f06b1f38a457ca5", | ||
"packages/libs/extension-base/src/extension-host.ts": "cd181185e3d3a97e63ef0e75749b720e70570897", | ||
"packages/libs/extension-base/src/extension-logger.ts": "61f91ab1faebfe2c1f4be66037292c07f47aedda", | ||
@@ -18,3 +18,3 @@ "packages/libs/extension-base/src/index.ts": "733142e356520d6fcd4878ae3a704def9f94413f", | ||
"packages/libs/extension-base/src/testing/index.ts": "e5612bb0ceade8dda39eb417dd95f7338bfe7441", | ||
"packages/libs/extension-base/src/testing/test-session.ts": "f02dceccfad40850191c098f1bfa204574ff45cd", | ||
"packages/libs/extension-base/src/testing/test-session.ts": "6553f72e34dbbe572060110335870057bebea314", | ||
"packages/libs/extension-base/src/types.ts": "2cef9c1f3cac729d5dace4185ec7a515bb74ce3f", | ||
@@ -21,0 +21,0 @@ "packages/libs/extension-base/testing.d.ts": "8427d286c532d168d3738771082049c4d87ecdab", |
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "3.4.2", | ||
"tag": "@autorest/extension-base_v3.4.2", | ||
"date": "Mon, 22 Nov 2021 21:55:51 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "**Fix** bring back old methods(deprecated) that introduced breaking change to smooth out the transition" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "3.4.0", | ||
@@ -7,0 +19,0 @@ "tag": "@autorest/extension-base_v3.4.0", |
# Change Log - @autorest/extension-base | ||
This log was last generated on Fri, 19 Nov 2021 04:23:42 GMT and should not be manually modified. | ||
This log was last generated on Mon, 22 Nov 2021 21:55:51 GMT and should not be manually modified. | ||
## 3.4.2 | ||
Mon, 22 Nov 2021 21:55:51 GMT | ||
### Patches | ||
- **Fix** bring back old methods(deprecated) that introduced breaking change to smooth out the transition | ||
## 3.4.0 | ||
@@ -6,0 +13,0 @@ Fri, 19 Nov 2021 04:23:42 GMT |
@@ -8,3 +8,11 @@ /// <reference types="node" /> | ||
run(input?: NodeJS.ReadableStream, output?: NodeJS.WritableStream): Promise<void>; | ||
/** | ||
* @deprecated Use #add | ||
*/ | ||
Add(name: string, handler: AutoRestPluginHandler): void; | ||
/** | ||
* @deprecated Use #run | ||
*/ | ||
Run(input?: NodeJS.ReadableStream, output?: NodeJS.WritableStream): Promise<void>; | ||
} | ||
//# sourceMappingURL=autorest-extension.d.ts.map |
@@ -66,4 +66,16 @@ "use strict"; | ||
} | ||
/** | ||
* @deprecated Use #add | ||
*/ | ||
Add(name, handler) { | ||
return this.add(name, handler); | ||
} | ||
/** | ||
* @deprecated Use #run | ||
*/ | ||
Run(input = process.stdin, output = process.stdout) { | ||
return this.run(input, output); | ||
} | ||
} | ||
exports.AutoRestExtension = AutoRestExtension; | ||
//# sourceMappingURL=autorest-extension.js.map |
@@ -38,2 +38,14 @@ import { MessageConnection } from "vscode-jsonrpc"; | ||
GetConfigurationFile(filename: string): Promise<string>; | ||
/** | ||
* @deprecated use #writeFile | ||
*/ | ||
WriteFile(filename: string, content: string): void; | ||
/** | ||
* @deprecated use #getValue | ||
*/ | ||
GetValue(key: string): any; | ||
/** | ||
* @deprecated use #message | ||
*/ | ||
Message(message: Message): any; | ||
} | ||
@@ -75,2 +87,14 @@ export declare class AutorestExtensionRpcHost implements AutorestExtensionHost { | ||
*/ | ||
WriteFile(filename: string, content: string): void; | ||
/** | ||
* @deprecated | ||
*/ | ||
GetValue(key: string): Promise<unknown>; | ||
/** | ||
* @deprecated | ||
*/ | ||
Message(message: Message): void; | ||
/** | ||
* @deprecated | ||
*/ | ||
UpdateConfigurationFile(filename: string, content: string): void; | ||
@@ -77,0 +101,0 @@ /** |
@@ -80,2 +80,20 @@ "use strict"; | ||
*/ | ||
WriteFile(filename, content) { | ||
return this.writeFile({ filename, content }); | ||
} | ||
/** | ||
* @deprecated | ||
*/ | ||
GetValue(key) { | ||
return this.getValue(key); | ||
} | ||
/** | ||
* @deprecated | ||
*/ | ||
Message(message) { | ||
return this.message(message); | ||
} | ||
/** | ||
* @deprecated | ||
*/ | ||
UpdateConfigurationFile(filename, content) { | ||
@@ -82,0 +100,0 @@ this.channel.sendNotification(IAutoRestPluginInitiatorTypes.Message, this.sessionId, { |
{ | ||
"name": "@autorest/extension-base", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "Library for creating AutoRest extensions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
103842
1454