@forge/bundler 4.1.1-next.8 → 4.2.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +82 -16
  3. package/out/config/common.d.ts +25 -0
  4. package/out/config/common.d.ts.map +1 -0
  5. package/out/config/common.js +131 -0
  6. package/out/{bundler-config/nativeui-webpack-config.d.ts → config/nativeui.d.ts} +3 -3
  7. package/out/config/nativeui.d.ts.map +1 -0
  8. package/out/{bundler-config/nativeui-webpack-config.js → config/nativeui.js} +0 -0
  9. package/out/config/node.d.ts +4 -0
  10. package/out/config/node.d.ts.map +1 -0
  11. package/out/config/node.js +38 -0
  12. package/out/config/sandbox.d.ts +4 -0
  13. package/out/config/sandbox.d.ts.map +1 -0
  14. package/out/config/sandbox.js +106 -0
  15. package/out/index.d.ts +3 -2
  16. package/out/index.d.ts.map +1 -1
  17. package/out/index.js +7 -5
  18. package/out/{console.d.ts → stubs/console.d.ts} +0 -0
  19. package/out/stubs/console.d.ts.map +1 -0
  20. package/out/{console.js → stubs/console.js} +2 -1
  21. package/out/{http-impl.d.ts → stubs/http-impl.d.ts} +0 -0
  22. package/out/stubs/http-impl.d.ts.map +1 -0
  23. package/out/{http-impl.js → stubs/http-impl.js} +0 -0
  24. package/out/{http.d.ts → stubs/http.d.ts} +0 -0
  25. package/out/stubs/http.d.ts.map +1 -0
  26. package/out/{http.js → stubs/http.js} +0 -0
  27. package/out/{unsupported.d.ts → stubs/unsupported.d.ts} +0 -0
  28. package/out/{unsupported.d.ts.map → stubs/unsupported.d.ts.map} +1 -1
  29. package/out/{unsupported.js → stubs/unsupported.js} +1 -1
  30. package/out/stubs/wrapper.d.ts +2 -0
  31. package/out/stubs/wrapper.d.ts.map +1 -0
  32. package/out/{wrapper.js → stubs/wrapper.js} +28 -17
  33. package/out/types.d.ts +4 -4
  34. package/out/types.d.ts.map +1 -1
  35. package/out/webpack.d.ts +7 -24
  36. package/out/webpack.d.ts.map +1 -1
  37. package/out/webpack.js +29 -182
  38. package/package.json +5 -4
  39. package/out/__PLACEHOLDER_MODULE__.d.ts +0 -1
  40. package/out/__PLACEHOLDER_MODULE__.d.ts.map +0 -1
  41. package/out/__PLACEHOLDER_MODULE__.js +0 -1
  42. package/out/bundler-config/nativeui-webpack-config.d.ts.map +0 -1
  43. package/out/bundler-config/node-webpack-config.d.ts +0 -4
  44. package/out/bundler-config/node-webpack-config.d.ts.map +0 -1
  45. package/out/bundler-config/node-webpack-config.js +0 -21
  46. package/out/bundler-config/sandboxed-webpack-config.d.ts +0 -5
  47. package/out/bundler-config/sandboxed-webpack-config.d.ts.map +0 -1
  48. package/out/bundler-config/sandboxed-webpack-config.js +0 -107
  49. package/out/console.d.ts.map +0 -1
  50. package/out/http-impl.d.ts.map +0 -1
  51. package/out/http.d.ts.map +0 -1
  52. package/out/wrapper.d.ts +0 -80
  53. package/out/wrapper.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../src/console.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,cAAc,QAAS,GAAG,KAAG,GAsBzC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"http-impl.d.ts","sourceRoot":"","sources":["../src/http-impl.ts"],"names":[],"mappings":";;;AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAY,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAkC,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAe,YAAY,EAAS,MAAM,YAAY,CAAC;AAsB9D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAMD,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,OAAO,CAAW;IAC1B,OAAO,CAAC,gBAAgB,CAAmB;gBAE/B,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI;IAatF,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAM/C,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO;IAQhE,OAAO,CAAC,KAAK;IAsBN,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI;IAe3F,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM;IAmCjD,MAAM,CAAC,uBAAuB,CAC5B,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,GAAG,EACtC,gBAAgB,EAAE,gBAAgB,GACjC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,YAAY,CAAA;KAAE;CA8BvC;AAID,qBAAa,KAAK;gBACJ,OAAO,EAAE,YAAY;CAOlC"}
package/out/http.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":""}
package/out/wrapper.d.ts DELETED
@@ -1,80 +0,0 @@
1
- declare function createInstallationContext({ contextAri }: {
2
- contextAri: any;
3
- }): {
4
- projectId: string | undefined;
5
- installContext: any;
6
- repositoryId?: undefined;
7
- } | {
8
- repositoryId: string | undefined;
9
- installContext: any;
10
- projectId?: undefined;
11
- } | {
12
- installContext: any;
13
- projectId?: undefined;
14
- repositoryId?: undefined;
15
- };
16
- declare function isAccountIdDefined(accountId: any): boolean;
17
- declare function createPrincipal({ aaid: accountId }: {
18
- aaid: any;
19
- }): {
20
- accountId: any;
21
- } | undefined;
22
- declare function createLicenseContext({ license }: {
23
- license: {
24
- isActive: boolean;
25
- };
26
- }): {
27
- license: {
28
- isActive: boolean;
29
- };
30
- } | undefined;
31
- declare function setupRequestContext(meta: any): {
32
- projectId: string | undefined;
33
- installContext: any;
34
- repositoryId?: undefined;
35
- license?: {
36
- isActive: boolean;
37
- } | undefined;
38
- principal: {
39
- accountId: any;
40
- } | undefined;
41
- } | {
42
- repositoryId: string | undefined;
43
- installContext: any;
44
- projectId?: undefined;
45
- license?: {
46
- isActive: boolean;
47
- } | undefined;
48
- principal: {
49
- accountId: any;
50
- } | undefined;
51
- } | {
52
- installContext: any;
53
- projectId?: undefined;
54
- repositoryId?: undefined;
55
- license?: {
56
- isActive: boolean;
57
- } | undefined;
58
- principal: {
59
- accountId: any;
60
- } | undefined;
61
- };
62
- declare function serializeThrownObjects(arg: any): any;
63
- declare function invocationHeaderLogs(lambdaEvent: any): Record<string, any>;
64
- declare function invocationFooterLogs(successfulInvocation: boolean): Record<string, any>;
65
- declare enum BunyanCoreLogEventTypes {
66
- HEADER = "header",
67
- FOOTER = "footer",
68
- LOG = "log"
69
- }
70
- declare enum BunyanCoreLogEventLevels {
71
- ERROR = 50,
72
- INFO = 30
73
- }
74
- declare function simpleBunyanLogEvent(eventType: BunyanCoreLogEventTypes, eventLevel: BunyanCoreLogEventLevels, invocationId: string, data: any): void;
75
- declare function emitHeaderEvent(lambdaEvent: any): void;
76
- declare function emitSuccessfulFooterEvent(): void;
77
- declare function emitFailedFooterEvent(): void;
78
- declare function emitErrorEvent(caughtObject: any): void;
79
- declare const adapter: (name: string | symbol) => any;
80
- //# sourceMappingURL=wrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../src/wrapper.ts"],"names":[],"mappings":"AAUA,iBAAS,yBAAyB,CAAC,E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