@autorest/extension-base
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -5,12 +5,18 @@ { | ||
"packages/libs/extension-base/.npmignore": "855e366c97fdae0f3674a98ab7cb35d346f87816", | ||
"packages/libs/extension-base/CHANGELOG.json": "4fc0d0a7650973c64c10ae5c92c7f78ff939c761", | ||
"packages/libs/extension-base/CHANGELOG.md": "2384ec3572b10c67bb2983eb38bfccc6c6aeb984", | ||
"packages/libs/extension-base/CHANGELOG.json": "b7856fdd06364a58c487e9aaccdaa4a27bff48d7", | ||
"packages/libs/extension-base/CHANGELOG.md": "27c57c3c65cca646f34b77f3445f29b7bf227336", | ||
"packages/libs/extension-base/LICENSE": "21071075c24599ee98254f702bcfc504cdc275a6", | ||
"packages/libs/extension-base/code-model-v1.d.ts": "7b1ea0b62681a8c2f395180dbdaeb0b9c01c6ce5", | ||
"packages/libs/extension-base/package.json": "6be7d11c0406afcf384ee64ce528e948c7b38adb", | ||
"packages/libs/extension-base/package.json": "7664007468092d9509f4b5dda4e550ef03e359b7", | ||
"packages/libs/extension-base/readme.md": "f9e664f8dc4f8424b43ceae84772294f6c0cee76", | ||
"packages/libs/extension-base/src/convenience.ts": "3103890c8712ab7e6fae506bd269a23a4ed3e2d9", | ||
"packages/libs/extension-base/src/extension-base.ts": "f10ea70b4cde7b50263e74166145e6598b9c5d62", | ||
"packages/libs/extension-base/src/index.ts": "08c841d4758c6dbf8334b75882fb45ac01cdab6e", | ||
"packages/libs/extension-base/src/types.ts": "f852b4a1f173f6fc72ea997ea1eb70c98f296a71", | ||
"packages/libs/extension-base/src/autorest-extension.ts": "5bccc69f9369137effcd8e1508c46465c8975b27", | ||
"packages/libs/extension-base/src/extension-host.ts": "27629736b99984638c3e8eeb8045d39c5fcce5b6", | ||
"packages/libs/extension-base/src/extension-logger.ts": "61f91ab1faebfe2c1f4be66037292c07f47aedda", | ||
"packages/libs/extension-base/src/index.ts": "733142e356520d6fcd4878ae3a704def9f94413f", | ||
"packages/libs/extension-base/src/session.ts": "151e06d3cb9cce76455e41e8d10ddc55bb8ef95c", | ||
"packages/libs/extension-base/src/testing/index.ts": "e5612bb0ceade8dda39eb417dd95f7338bfe7441", | ||
"packages/libs/extension-base/src/testing/test-session.ts": "f02dceccfad40850191c098f1bfa204574ff45cd", | ||
"packages/libs/extension-base/src/types.ts": "2cef9c1f3cac729d5dace4185ec7a515bb74ce3f", | ||
"packages/libs/extension-base/testing.d.ts": "8427d286c532d168d3738771082049c4d87ecdab", | ||
"packages/libs/extension-base/testing.js": "ffa7536f811caef1e1328a2666a6bb2575638ec2", | ||
"packages/libs/extension-base/tsconfig.json": "38c8cfc6dc922f3bd42dd6dc6be58fd47c63a502", | ||
@@ -17,0 +23,0 @@ "packages/libs/extension-base/.rush/temp/shrinkwrap-deps.json": "0f3dc4bc792a2da53eff5aeda3bddbb6bd596473" |
@@ -7,6 +7,12 @@ { | ||
"tag": "@autorest/extension-base_v3.4.0", | ||
"date": "Tue, 16 Nov 2021 17:02:17 GMT", | ||
"date": "Fri, 19 Nov 2021 04:23:42 GMT", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"comment": "**BREAKING** Refactor host, session. Rename PascalCase methods, cleanup" | ||
}, | ||
{ | ||
"comment": "**Added** testing functionality for extension via @autorest/extension-base/testing import" | ||
}, | ||
{ | ||
"comment": "**Breaking** updated logging api to provide sourcemap support " | ||
@@ -13,0 +19,0 @@ } |
# Change Log - @autorest/extension-base | ||
This log was last generated on Tue, 16 Nov 2021 17:02:17 GMT and should not be manually modified. | ||
This log was last generated on Fri, 19 Nov 2021 04:23:42 GMT and should not be manually modified. | ||
## 3.4.0 | ||
Tue, 16 Nov 2021 17:02:17 GMT | ||
Fri, 19 Nov 2021 04:23:42 GMT | ||
### Minor changes | ||
- **BREAKING** Refactor host, session. Rename PascalCase methods, cleanup | ||
- **Added** testing functionality for extension via @autorest/extension-base/testing import | ||
- **Breaking** updated logging api to provide sourcemap support | ||
@@ -11,0 +13,0 @@ |
@@ -1,4 +0,6 @@ | ||
export { AutoRestExtension, IAutoRestPluginInitiator as Host } from "./extension-base"; | ||
export { ArtifactMessage, Message, Artifact, Channel, Mapping, RawSourceMap, SourceLocation, JsonPointerSegments, Position, } from "./types"; | ||
export * from "./convenience"; | ||
export { AutoRestExtension } from "./autorest-extension"; | ||
export * from "./extension-host"; | ||
export * from "./extension-logger"; | ||
export * from "./types"; | ||
export * from "./session"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,8 +13,9 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Channel = exports.AutoRestExtension = void 0; | ||
var extension_base_1 = require("./extension-base"); | ||
Object.defineProperty(exports, "AutoRestExtension", { enumerable: true, get: function () { return extension_base_1.AutoRestExtension; } }); | ||
var types_1 = require("./types"); | ||
Object.defineProperty(exports, "Channel", { enumerable: true, get: function () { return types_1.Channel; } }); | ||
__exportStar(require("./convenience"), exports); | ||
exports.AutoRestExtension = void 0; | ||
var autorest_extension_1 = require("./autorest-extension"); | ||
Object.defineProperty(exports, "AutoRestExtension", { enumerable: true, get: function () { return autorest_extension_1.AutoRestExtension; } }); | ||
__exportStar(require("./extension-host"), exports); | ||
__exportStar(require("./extension-logger"), exports); | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./session"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -27,21 +27,21 @@ import { ShadowedObject } from "@azure-tools/codegen"; | ||
/** Information is considered the mildest of responses; not necesarily actionable. */ | ||
Information, | ||
Information = "information", | ||
/** Warnings are considered important for best practices, but not catastrophic in nature. */ | ||
Warning, | ||
Warning = "warning", | ||
/** Errors are considered blocking issues that block a successful operation. */ | ||
Error, | ||
Error = "error", | ||
/** Debug messages are designed for the developer to communicate internal autorest implementation details. */ | ||
Debug, | ||
Debug = "debug", | ||
/** Verbose messages give the user additional clarity on the process. */ | ||
Verbose, | ||
Verbose = "verbose", | ||
/** Catastrophic failure, likely abending the process. */ | ||
Fatal, | ||
Fatal = "fatal", | ||
/** Hint messages offer guidance or support without forcing action. */ | ||
Hint, | ||
Hint = "hint", | ||
/** File represents a file output from an extension. Details are a Artifact and are required. */ | ||
File, | ||
File = "file", | ||
/** content represents an update/creation of a configuration file. The final uri will be in the same folder as the primary config file. */ | ||
Configuration, | ||
Configuration = "configuration", | ||
/** Protect is a path to not remove during a clear-output-folder. */ | ||
Protect | ||
Protect = "protect" | ||
} | ||
@@ -48,0 +48,0 @@ export interface Message { |
@@ -10,22 +10,22 @@ "use strict"; | ||
/** Information is considered the mildest of responses; not necesarily actionable. */ | ||
Channel[Channel["Information"] = "information"] = "Information"; | ||
Channel["Information"] = "information"; | ||
/** Warnings are considered important for best practices, but not catastrophic in nature. */ | ||
Channel[Channel["Warning"] = "warning"] = "Warning"; | ||
Channel["Warning"] = "warning"; | ||
/** Errors are considered blocking issues that block a successful operation. */ | ||
Channel[Channel["Error"] = "error"] = "Error"; | ||
Channel["Error"] = "error"; | ||
/** Debug messages are designed for the developer to communicate internal autorest implementation details. */ | ||
Channel[Channel["Debug"] = "debug"] = "Debug"; | ||
Channel["Debug"] = "debug"; | ||
/** Verbose messages give the user additional clarity on the process. */ | ||
Channel[Channel["Verbose"] = "verbose"] = "Verbose"; | ||
Channel["Verbose"] = "verbose"; | ||
/** Catastrophic failure, likely abending the process. */ | ||
Channel[Channel["Fatal"] = "fatal"] = "Fatal"; | ||
Channel["Fatal"] = "fatal"; | ||
/** Hint messages offer guidance or support without forcing action. */ | ||
Channel[Channel["Hint"] = "hint"] = "Hint"; | ||
Channel["Hint"] = "hint"; | ||
/** File represents a file output from an extension. Details are a Artifact and are required. */ | ||
Channel[Channel["File"] = "file"] = "File"; | ||
Channel["File"] = "file"; | ||
/** content represents an update/creation of a configuration file. The final uri will be in the same folder as the primary config file. */ | ||
Channel[Channel["Configuration"] = "configuration"] = "Configuration"; | ||
Channel["Configuration"] = "configuration"; | ||
/** Protect is a path to not remove during a clear-output-folder. */ | ||
Channel[Channel["Protect"] = "protect"] = "Protect"; | ||
Channel["Protect"] = "protect"; | ||
})(Channel = exports.Channel || (exports.Channel = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@autorest/extension-base", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Library for creating AutoRest extensions", | ||
"main": "dist/index.js", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./testing": "./dist/testing/index.js" | ||
}, | ||
"typings": "./dist/index.d.ts", | ||
@@ -7,0 +11,0 @@ "engines": { |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
100967
42
1380
1