@microsoft/m365-spec-parser 0.1.1-alpha.fb5afedc0.0 → 0.1.1-alpha.fbb412c19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm2017.js +617 -319
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +1058 -621
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +617 -319
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +1070 -629
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/src/adaptiveCardWrapper.d.ts +2 -0
- package/dist/src/constants.d.ts +8 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/interfaces.d.ts +72 -2
- package/dist/src/manifestUpdater.d.ts +7 -4
- package/dist/src/specParser.browser.d.ts +3 -2
- package/dist/src/specParser.d.ts +5 -3
- package/dist/src/utils.d.ts +9 -27
- package/package.json +3 -4
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { ResponseSemanticsObject } from "@microsoft/teams-manifest";
|
|
1
2
|
import { AdaptiveCard, PreviewCardTemplate, WrappedAdaptiveCard } from "./interfaces";
|
|
2
3
|
export declare function wrapAdaptiveCard(card: AdaptiveCard, jsonPath: string): WrappedAdaptiveCard;
|
|
4
|
+
export declare function wrapResponseSemantics(card: AdaptiveCard, jsonPath: string): ResponseSemanticsObject;
|
|
3
5
|
/**
|
|
4
6
|
* Infers the preview card template from an Adaptive Card and a JSON path.
|
|
5
7
|
* The preview card template includes a title and an optional subtitle and image.
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class ConstantString {
|
|
|
5
5
|
static readonly MissingOperationId = "Missing operationIds: %s.";
|
|
6
6
|
static readonly NoSupportedApi = "No supported API is found in the OpenAPI description document: only GET and POST methods are supported, additionally, there can be at most one required parameter, and no auth is allowed.";
|
|
7
7
|
static readonly AdditionalPropertiesNotSupported = "'additionalProperties' is not supported, and will be ignored.";
|
|
8
|
-
static readonly SchemaNotSupported = "'oneOf', 'anyOf', and 'not' schema are not supported: %s.";
|
|
8
|
+
static readonly SchemaNotSupported = "'oneOf', 'allOf', 'anyOf', and 'not' schema are not supported: %s.";
|
|
9
9
|
static readonly UnknownSchema = "Unknown schema: %s.";
|
|
10
10
|
static readonly UrlProtocolNotSupported = "Server url is not correct: protocol %s is not supported, you should use https protocol instead.";
|
|
11
11
|
static readonly RelativeServerUrlNotSupported = "Server url is not correct: relative server url is not supported.";
|
|
@@ -13,6 +13,7 @@ export declare class ConstantString {
|
|
|
13
13
|
static readonly OperationOnlyContainsOptionalParam = "Operation %s contains multiple optional parameters. The first optional parameter is used for this command.";
|
|
14
14
|
static readonly ConvertSwaggerToOpenAPI = "The Swagger 2.0 file has been converted to OpenAPI 3.0.";
|
|
15
15
|
static readonly SwaggerNotSupported = "Swagger 2.0 is not supported. Please convert to OpenAPI 3.0 manually before proceeding.";
|
|
16
|
+
static readonly SpecVersionNotSupported = "Unsupported OpenAPI version %s. Please use version 3.0.x.";
|
|
16
17
|
static readonly MultipleAuthNotSupported = "Multiple authentication methods are unsupported. Ensure all selected APIs use identical authentication.";
|
|
17
18
|
static readonly UnsupportedSchema = "Unsupported schema in %s %s: %s";
|
|
18
19
|
static readonly WrappedCardVersion = "devPreview";
|
|
@@ -24,9 +25,11 @@ export declare class ConstantString {
|
|
|
24
25
|
static readonly AdaptiveCardSchema = "http://adaptivecards.io/schemas/adaptive-card.json";
|
|
25
26
|
static readonly AdaptiveCardType = "AdaptiveCard";
|
|
26
27
|
static readonly TextBlockType = "TextBlock";
|
|
28
|
+
static readonly ImageType = "Image";
|
|
27
29
|
static readonly ContainerType = "Container";
|
|
28
|
-
static readonly RegistrationIdPostfix
|
|
29
|
-
|
|
30
|
+
static readonly RegistrationIdPostfix: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
30
33
|
static readonly ResponseCodeFor20X: string[];
|
|
31
34
|
static readonly AllOperationMethods: string[];
|
|
32
35
|
static readonly WellknownResultNames: string[];
|
|
@@ -37,7 +40,9 @@ export declare class ConstantString {
|
|
|
37
40
|
static readonly FullDescriptionMaxLens = 4000;
|
|
38
41
|
static readonly CommandDescriptionMaxLens = 128;
|
|
39
42
|
static readonly ParameterDescriptionMaxLens = 128;
|
|
43
|
+
static readonly ConversationStarterMaxLens = 50;
|
|
40
44
|
static readonly CommandTitleMaxLens = 32;
|
|
41
45
|
static readonly ParameterTitleMaxLens = 32;
|
|
42
46
|
static readonly SMERequiredParamsMaxNum = 5;
|
|
47
|
+
static readonly DefaultPluginId = "plugin_1";
|
|
43
48
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { SpecParser } from "./specParser";
|
|
2
2
|
export { SpecParserError } from "./specParserError";
|
|
3
|
-
export { ValidationStatus, WarningType, ErrorType, WarningResult, ErrorResult, ListAPIResult, APIInfo, ValidateResult, ParseOptions, AdaptiveCard, ProjectType, } from "./interfaces";
|
|
3
|
+
export { ValidationStatus, WarningType, ErrorType, WarningResult, ErrorResult, ListAPIResult, APIInfo, ValidateResult, ParseOptions, AdaptiveCard, ProjectType, InvalidAPIInfo, } from "./interfaces";
|
|
4
4
|
export { ConstantString } from "./constants";
|
|
5
5
|
export { Utils } from "./utils";
|
|
6
6
|
export { AdaptiveCardGenerator } from "./adaptiveCardGenerator";
|
package/dist/src/interfaces.d.ts
CHANGED
|
@@ -17,6 +17,16 @@ export interface ValidateResult {
|
|
|
17
17
|
*/
|
|
18
18
|
errors: ErrorResult[];
|
|
19
19
|
}
|
|
20
|
+
export interface SpecValidationResult {
|
|
21
|
+
/**
|
|
22
|
+
* An array of warning results generated during validation.
|
|
23
|
+
*/
|
|
24
|
+
warnings: WarningResult[];
|
|
25
|
+
/**
|
|
26
|
+
* An array of error results generated during validation.
|
|
27
|
+
*/
|
|
28
|
+
errors: ErrorResult[];
|
|
29
|
+
}
|
|
20
30
|
/**
|
|
21
31
|
* An interface that represents a warning result generated during validation.
|
|
22
32
|
*/
|
|
@@ -69,6 +79,7 @@ export declare enum ErrorType {
|
|
|
69
79
|
ResolveServerUrlFailed = "resolve-server-url-failed",
|
|
70
80
|
SwaggerNotSupported = "swagger-not-supported",
|
|
71
81
|
MultipleAuthNotSupported = "multiple-auth-not-supported",
|
|
82
|
+
SpecVersionNotSupported = "spec-version-not-supported",
|
|
72
83
|
ListFailed = "list-failed",
|
|
73
84
|
listSupportedAPIInfoFailed = "list-supported-api-info-failed",
|
|
74
85
|
FilterSpecFailed = "filter-spec-failed",
|
|
@@ -77,6 +88,21 @@ export declare enum ErrorType {
|
|
|
77
88
|
GenerateFailed = "generate-failed",
|
|
78
89
|
ValidateFailed = "validate-failed",
|
|
79
90
|
GetSpecFailed = "get-spec-failed",
|
|
91
|
+
AuthTypeIsNotSupported = "auth-type-is-not-supported",
|
|
92
|
+
MissingOperationId = "missing-operation-id",
|
|
93
|
+
PostBodyContainMultipleMediaTypes = "post-body-contain-multiple-media-types",
|
|
94
|
+
ResponseContainMultipleMediaTypes = "response-contain-multiple-media-types",
|
|
95
|
+
ResponseJsonIsEmpty = "response-json-is-empty",
|
|
96
|
+
PostBodySchemaIsNotJson = "post-body-schema-is-not-json",
|
|
97
|
+
PostBodyContainsRequiredUnsupportedSchema = "post-body-contains-required-unsupported-schema",
|
|
98
|
+
ParamsContainRequiredUnsupportedSchema = "params-contain-required-unsupported-schema",
|
|
99
|
+
ParamsContainsNestedObject = "params-contains-nested-object",
|
|
100
|
+
RequestBodyContainsNestedObject = "request-body-contains-nested-object",
|
|
101
|
+
ExceededRequiredParamsLimit = "exceeded-required-params-limit",
|
|
102
|
+
NoParameter = "no-parameter",
|
|
103
|
+
NoAPIInfo = "no-api-info",
|
|
104
|
+
MethodNotAllowed = "method-not-allowed",
|
|
105
|
+
UrlPathNotExist = "url-path-not-exist",
|
|
80
106
|
Cancelled = "cancelled",
|
|
81
107
|
Unknown = "unknown"
|
|
82
108
|
}
|
|
@@ -140,6 +166,7 @@ export interface CheckParamResult {
|
|
|
140
166
|
requiredNum: number;
|
|
141
167
|
optionalNum: number;
|
|
142
168
|
isValid: boolean;
|
|
169
|
+
reason: ErrorType[];
|
|
143
170
|
}
|
|
144
171
|
export interface ParseOptions {
|
|
145
172
|
/**
|
|
@@ -170,11 +197,27 @@ export interface ParseOptions {
|
|
|
170
197
|
* An array of HTTP methods that the parser will allow in the spec file.
|
|
171
198
|
*/
|
|
172
199
|
allowMethods?: string[];
|
|
200
|
+
/**
|
|
201
|
+
* If true, the parser will allow conversation starters in plugin file. Only take effect in Copilot project
|
|
202
|
+
*/
|
|
203
|
+
allowConversationStarters?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* If true, the parser will allow response semantics in plugin file. Only take effect in Copilot project
|
|
206
|
+
*/
|
|
207
|
+
allowResponseSemantics?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* If true, the paser will allow confirmation in plugin file. Only take effect in Copilot project
|
|
210
|
+
*/
|
|
211
|
+
allowConfirmation?: boolean;
|
|
173
212
|
/**
|
|
174
213
|
* The type of project that the parser is being used for.
|
|
175
214
|
* Project can be SME/Copilot/TeamsAi
|
|
176
215
|
*/
|
|
177
216
|
projectType?: ProjectType;
|
|
217
|
+
/**
|
|
218
|
+
* If true, we will generate files of plugin for GPT (Declarative Extensions in a Copilot Extension). Otherwise, we will generate files of plugin for Copilot.
|
|
219
|
+
*/
|
|
220
|
+
isGptPlugin?: boolean;
|
|
178
221
|
}
|
|
179
222
|
export declare enum ProjectType {
|
|
180
223
|
Copilot = 0,
|
|
@@ -190,13 +233,40 @@ export interface APIInfo {
|
|
|
190
233
|
description: string;
|
|
191
234
|
warning?: WarningResult;
|
|
192
235
|
}
|
|
193
|
-
export interface
|
|
236
|
+
export interface ListAPIInfo {
|
|
194
237
|
api: string;
|
|
195
238
|
server: string;
|
|
196
239
|
operationId: string;
|
|
197
|
-
|
|
240
|
+
isValid: boolean;
|
|
241
|
+
reason: ErrorType[];
|
|
242
|
+
auth?: AuthInfo;
|
|
243
|
+
}
|
|
244
|
+
export interface APIMap {
|
|
245
|
+
[key: string]: {
|
|
246
|
+
operation: OpenAPIV3.OperationObject;
|
|
247
|
+
isValid: boolean;
|
|
248
|
+
reason: ErrorType[];
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
export interface APIValidationResult {
|
|
252
|
+
isValid: boolean;
|
|
253
|
+
reason: ErrorType[];
|
|
254
|
+
}
|
|
255
|
+
export interface ListAPIResult {
|
|
256
|
+
allAPICount: number;
|
|
257
|
+
validAPICount: number;
|
|
258
|
+
APIs: ListAPIInfo[];
|
|
198
259
|
}
|
|
199
260
|
export interface AuthInfo {
|
|
200
261
|
authScheme: OpenAPIV3.SecuritySchemeObject;
|
|
201
262
|
name: string;
|
|
202
263
|
}
|
|
264
|
+
export interface InvalidAPIInfo {
|
|
265
|
+
api: string;
|
|
266
|
+
reason: ErrorType[];
|
|
267
|
+
}
|
|
268
|
+
export interface InferredProperties {
|
|
269
|
+
title?: string;
|
|
270
|
+
subtitle?: string;
|
|
271
|
+
imageUrl?: string;
|
|
272
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { OpenAPIV3 } from "openapi-types";
|
|
2
2
|
import { AuthInfo, ParseOptions, WarningResult } from "./interfaces";
|
|
3
|
-
import { IMessagingExtensionCommand, TeamsAppManifest, PluginManifestSchema
|
|
3
|
+
import { IMessagingExtensionCommand, TeamsAppManifest, PluginManifestSchema } from "@microsoft/teams-manifest";
|
|
4
4
|
export declare class ManifestUpdater {
|
|
5
|
-
static updateManifestWithAiPlugin(manifestPath: string, outputSpecPath: string, apiPluginFilePath: string, spec: OpenAPIV3.Document, options: ParseOptions): Promise<[TeamsAppManifest, PluginManifestSchema]>;
|
|
5
|
+
static updateManifestWithAiPlugin(manifestPath: string, outputSpecPath: string, apiPluginFilePath: string, spec: OpenAPIV3.Document, options: ParseOptions, authInfo?: AuthInfo): Promise<[TeamsAppManifest, PluginManifestSchema]>;
|
|
6
6
|
static updateManifestDescription(manifest: TeamsAppManifest, spec: OpenAPIV3.Document): void;
|
|
7
|
-
static
|
|
8
|
-
static generatePluginManifestSchema(spec: OpenAPIV3.Document, specRelativePath: string, options: ParseOptions): PluginManifestSchema
|
|
7
|
+
static checkSchema(schema: OpenAPIV3.SchemaObject, method: string, pathUrl: string): void;
|
|
8
|
+
static generatePluginManifestSchema(spec: OpenAPIV3.Document, specRelativePath: string, apiPluginFilePath: string, appName: string, authInfo: AuthInfo | undefined, options: ParseOptions): Promise<PluginManifestSchema>;
|
|
9
9
|
static updateManifest(manifestPath: string, outputSpecPath: string, spec: OpenAPIV3.Document, options: ParseOptions, adaptiveCardFolder?: string, authInfo?: AuthInfo): Promise<[TeamsAppManifest, WarningResult[]]>;
|
|
10
10
|
static generateCommands(spec: OpenAPIV3.Document, manifestPath: string, options: ParseOptions, adaptiveCardFolder?: string): Promise<[IMessagingExtensionCommand[], WarningResult[]]>;
|
|
11
11
|
static getRelativePath(from: string, to: string): string;
|
|
12
|
+
static removeEnvs(str: string): string;
|
|
13
|
+
static removeAllSpecialCharacters(str: string): string;
|
|
14
|
+
static getConfirmationBodyItem(paramName: string): string;
|
|
12
15
|
}
|
|
@@ -8,8 +8,8 @@ export declare class SpecParser {
|
|
|
8
8
|
readonly pathOrSpec: string | OpenAPIV3.Document;
|
|
9
9
|
readonly parser: SwaggerParser;
|
|
10
10
|
readonly options: Required<ParseOptions>;
|
|
11
|
-
private apiMap;
|
|
12
11
|
private spec;
|
|
12
|
+
private validator;
|
|
13
13
|
private unResolveSpec;
|
|
14
14
|
private isSwaggerFile;
|
|
15
15
|
private defaultOptions;
|
|
@@ -55,5 +55,6 @@ export declare class SpecParser {
|
|
|
55
55
|
*/
|
|
56
56
|
generate(manifestPath: string, filter: string[], outputSpecPath: string, adaptiveCardFolder?: string, signal?: AbortSignal): Promise<GenerateResult>;
|
|
57
57
|
private loadSpec;
|
|
58
|
-
private
|
|
58
|
+
private getAPIs;
|
|
59
|
+
private getValidator;
|
|
59
60
|
}
|
package/dist/src/specParser.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class SpecParser {
|
|
|
8
8
|
readonly pathOrSpec: string | OpenAPIV3.Document;
|
|
9
9
|
readonly parser: SwaggerParser;
|
|
10
10
|
readonly options: Required<ParseOptions>;
|
|
11
|
-
private
|
|
11
|
+
private validator;
|
|
12
12
|
private spec;
|
|
13
13
|
private unResolveSpec;
|
|
14
14
|
private isSwaggerFile;
|
|
@@ -31,7 +31,7 @@ export declare class SpecParser {
|
|
|
31
31
|
* @returns A string array that represents the HTTP method and path of each operation, such as ['GET /pets/{petId}', 'GET /user/{userId}']
|
|
32
32
|
* according to copilot plugin spec, only list get and post method without auth
|
|
33
33
|
*/
|
|
34
|
-
list(): Promise<ListAPIResult
|
|
34
|
+
list(): Promise<ListAPIResult>;
|
|
35
35
|
/**
|
|
36
36
|
* Generate specs according to the filters.
|
|
37
37
|
* @param filter An array of strings that represent the filters to apply when generating the artifacts. If filter is empty, it would process nothing.
|
|
@@ -54,5 +54,7 @@ export declare class SpecParser {
|
|
|
54
54
|
*/
|
|
55
55
|
generate(manifestPath: string, filter: string[], outputSpecPath: string, adaptiveCardFolder?: string, signal?: AbortSignal): Promise<GenerateResult>;
|
|
56
56
|
private loadSpec;
|
|
57
|
-
private
|
|
57
|
+
private getAPIs;
|
|
58
|
+
private getValidator;
|
|
59
|
+
private saveFilterSpec;
|
|
58
60
|
}
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -1,47 +1,29 @@
|
|
|
1
1
|
import { OpenAPIV3 } from "openapi-types";
|
|
2
|
-
import
|
|
3
|
-
import { AuthInfo, CheckParamResult, ErrorResult, ParseOptions, ValidateResult, WarningResult } from "./interfaces";
|
|
2
|
+
import { AuthInfo, ErrorResult, ParseOptions } from "./interfaces";
|
|
4
3
|
import { IMessagingExtensionCommand, IParameter } from "@microsoft/teams-manifest";
|
|
5
4
|
export declare class Utils {
|
|
6
5
|
static hasNestedObjectInSchema(schema: OpenAPIV3.SchemaObject): boolean;
|
|
7
|
-
static checkParameters(paramObject: OpenAPIV3.ParameterObject[], isCopilot: boolean): CheckParamResult;
|
|
8
|
-
static checkPostBody(schema: OpenAPIV3.SchemaObject, isRequired?: boolean, isCopilot?: boolean): CheckParamResult;
|
|
9
6
|
static containMultipleMediaTypes(bodyObject: OpenAPIV3.RequestBodyObject | OpenAPIV3.ResponseObject): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Checks if the given API is supported.
|
|
12
|
-
* @param {string} method - The HTTP method of the API.
|
|
13
|
-
* @param {string} path - The path of the API.
|
|
14
|
-
* @param {OpenAPIV3.Document} spec - The OpenAPI specification document.
|
|
15
|
-
* @returns {boolean} - Returns true if the API is supported, false otherwise.
|
|
16
|
-
* @description The following APIs are supported:
|
|
17
|
-
* 1. only support Get/Post operation without auth property
|
|
18
|
-
* 2. parameter inside query or path only support string, number, boolean and integer
|
|
19
|
-
* 3. parameter inside post body only support string, number, boolean, integer and object
|
|
20
|
-
* 4. request body + required parameters <= 1
|
|
21
|
-
* 5. response body should be “application/json” and not empty, and response code should be 20X
|
|
22
|
-
* 6. only support request body with “application/json” content type
|
|
23
|
-
*/
|
|
24
|
-
static isSupportedApi(method: string, path: string, spec: OpenAPIV3.Document, options: ParseOptions): boolean;
|
|
25
|
-
static isSupportedAuth(authSchemeArray: AuthInfo[][], options: ParseOptions): boolean;
|
|
26
7
|
static isBearerTokenAuth(authScheme: OpenAPIV3.SecuritySchemeObject): boolean;
|
|
27
8
|
static isAPIKeyAuth(authScheme: OpenAPIV3.SecuritySchemeObject): boolean;
|
|
28
9
|
static isOAuthWithAuthCodeFlow(authScheme: OpenAPIV3.SecuritySchemeObject): boolean;
|
|
29
10
|
static getAuthArray(securities: OpenAPIV3.SecurityRequirementObject[] | undefined, spec: OpenAPIV3.Document): AuthInfo[][];
|
|
11
|
+
static getAuthInfo(spec: OpenAPIV3.Document): AuthInfo | undefined;
|
|
30
12
|
static updateFirstLetter(str: string): string;
|
|
31
|
-
static getResponseJson(operationObject: OpenAPIV3.OperationObject | undefined
|
|
13
|
+
static getResponseJson(operationObject: OpenAPIV3.OperationObject | undefined): {
|
|
14
|
+
json: OpenAPIV3.MediaTypeObject;
|
|
15
|
+
multipleMediaType: boolean;
|
|
16
|
+
};
|
|
32
17
|
static convertPathToCamelCase(path: string): string;
|
|
33
18
|
static getUrlProtocol(urlString: string): string | undefined;
|
|
34
|
-
static
|
|
19
|
+
static resolveEnv(str: string): string;
|
|
35
20
|
static checkServerUrl(servers: OpenAPIV3.ServerObject[]): ErrorResult[];
|
|
36
21
|
static validateServer(spec: OpenAPIV3.Document, options: ParseOptions): ErrorResult[];
|
|
37
22
|
static isWellKnownName(name: string, wellknownNameList: string[]): boolean;
|
|
38
23
|
static generateParametersFromSchema(schema: OpenAPIV3.SchemaObject, name: string, allowMultipleParameters: boolean, isRequired?: boolean): [IParameter[], IParameter[]];
|
|
39
24
|
static updateParameterWithInputType(schema: OpenAPIV3.SchemaObject, param: IParameter): void;
|
|
40
|
-
static parseApiInfo(operationItem: OpenAPIV3.OperationObject, options: ParseOptions):
|
|
41
|
-
static listSupportedAPIs(spec: OpenAPIV3.Document, options: ParseOptions): {
|
|
42
|
-
[key: string]: OpenAPIV3.OperationObject;
|
|
43
|
-
};
|
|
44
|
-
static validateSpec(spec: OpenAPIV3.Document, parser: SwaggerParser, isSwaggerFile: boolean, options: ParseOptions): ValidateResult;
|
|
25
|
+
static parseApiInfo(operationItem: OpenAPIV3.OperationObject, options: ParseOptions): IMessagingExtensionCommand;
|
|
45
26
|
static format(str: string, ...args: string[]): string;
|
|
46
27
|
static getSafeRegistrationIdEnvName(authName: string): string;
|
|
28
|
+
static getServerObject(spec: OpenAPIV3.Document, method: string, path: string): OpenAPIV3.ServerObject | undefined;
|
|
47
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/m365-spec-parser",
|
|
3
|
-
"version": "0.1.1-alpha.
|
|
3
|
+
"version": "0.1.1-alpha.fbb412c19.0",
|
|
4
4
|
"description": "OpenAPI specification files Parser for M365 Apps",
|
|
5
5
|
"main": "dist/index.node.cjs.js",
|
|
6
6
|
"browser": "dist/index.esm2017.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
42
|
-
"@microsoft/teams-manifest": "0.1.4-alpha.
|
|
42
|
+
"@microsoft/teams-manifest": "0.1.4-alpha.fbb412c19.0",
|
|
43
43
|
"fs-extra": "^11.2.0",
|
|
44
44
|
"js-yaml": "^4.1.0",
|
|
45
45
|
"openapi-types": "^7.2.3",
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
"has-symbols": "1.0.3",
|
|
95
95
|
"has-tostringtag": "1.0.2",
|
|
96
96
|
"he": "1.2.0",
|
|
97
|
-
"http": "^0.0.1-security",
|
|
98
97
|
"https-browserify": "^1.0.0",
|
|
99
98
|
"is-arguments": "1.1.1",
|
|
100
99
|
"is-callable": "1.2.7",
|
|
@@ -148,5 +147,5 @@
|
|
|
148
147
|
"npx eslint --cache --fix --quiet"
|
|
149
148
|
]
|
|
150
149
|
},
|
|
151
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "b65de4899cdf58aa21de20488da251b55e69bb37"
|
|
152
151
|
}
|