@forge/manifest 2.3.1-next.2 → 2.4.0-next.6
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/CHANGELOG.md +29 -0
- package/out/builder/processor-builder.d.ts.map +1 -1
- package/out/builder/processor-builder.js +3 -0
- package/out/mapping/product-event-to-scope-mapping.json +6 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts +6 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts.map +1 -0
- package/out/processor/deprecated-csp-method-validation-processor.js +18 -0
- package/out/schema/manifest-schema.json +381 -377
- package/out/schema/manifest.d.ts +403 -393
- package/out/text/errors.d.ts +1 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +1 -0
- package/out/types/validation-types.d.ts +2 -1
- package/out/types/validation-types.d.ts.map +1 -1
- package/out/types/validation-types.js +1 -0
- package/out/validators/resources-validator.d.ts.map +1 -1
- package/out/validators/resources-validator.js +26 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 2.4.0-next.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f08a9cb: Updated bearerMethod to use 'OneOf' instead of a type array
|
|
8
|
+
- 873f913: Update manifest definitions
|
|
9
|
+
|
|
10
|
+
## 2.4.0-next.5
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- fbcb4a3: Add linter detection & auto-fix of deprecated CSP
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- a9bdd4f: Update manifest definitions
|
|
19
|
+
|
|
20
|
+
## 2.3.1-next.4
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 0bc8683: Added new product event to scope mapping
|
|
25
|
+
|
|
26
|
+
## 2.3.1-next.3
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 1d7f9f1: Update manifest definitions
|
|
31
|
+
|
|
3
32
|
## 2.3.1-next.2
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAGL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAGL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,cAAc,CAAkB;IAExC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAclE"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProcessorBuilder = void 0;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
const processor_1 = require("../processor");
|
|
6
|
+
const deprecated_csp_method_validation_processor_1 = require("../processor/deprecated-csp-method-validation-processor");
|
|
6
7
|
class ProcessorBuilder {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.validationType = types_1.ValidationTypes.FULL;
|
|
@@ -22,6 +23,8 @@ class ProcessorBuilder {
|
|
|
22
23
|
return new processor_1.FullValidationProcessor();
|
|
23
24
|
case types_1.ValidationTypes.PRODUCT_TRIGGER:
|
|
24
25
|
return new processor_1.ProductTriggerValidationProcessor();
|
|
26
|
+
case types_1.ValidationTypes.DEPRECATED_CSP_METHOD:
|
|
27
|
+
return new deprecated_csp_method_validation_processor_1.DeprecatedCspMethodValidationProcessor();
|
|
25
28
|
default:
|
|
26
29
|
throw new Error('Unsupported validation type');
|
|
27
30
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractValidationProcessor } from './abstract-validation-processor';
|
|
2
|
+
import { ManifestSchema } from '../schema/manifest';
|
|
3
|
+
export declare class DeprecatedCspMethodValidationProcessor extends AbstractValidationProcessor<ManifestSchema> {
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=deprecated-csp-method-validation-processor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecated-csp-method-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/deprecated-csp-method-validation-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,sCAAuC,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAStG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeprecatedCspMethodValidationProcessor = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const validators_1 = require("../validators");
|
|
6
|
+
const abstract_validation_processor_1 = require("./abstract-validation-processor");
|
|
7
|
+
const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
|
|
8
|
+
class DeprecatedCspMethodValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
|
|
9
|
+
constructor() {
|
|
10
|
+
super([
|
|
11
|
+
new validators_1.FileValidator(),
|
|
12
|
+
new validators_1.YamlValidator(),
|
|
13
|
+
new validators_1.SchemaValidator(FULL_SCHEMA),
|
|
14
|
+
new validators_1.ResourcesValidator()
|
|
15
|
+
]);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.DeprecatedCspMethodValidationProcessor = DeprecatedCspMethodValidationProcessor;
|