cdk-from-cfn 0.266.0 → 0.268.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/index.d.ts +5 -5
- package/index.js +21 -21
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
* Returns an array containing all supported language names.
|
|
5
|
-
*/
|
|
6
|
-
export function supported_languages(): any[];
|
|
3
|
+
export function wasm_init(): void;
|
|
7
4
|
/**
|
|
8
5
|
* Transforms the provided template into a CDK application in the specified
|
|
9
6
|
* language.
|
|
10
7
|
*/
|
|
11
8
|
export function transmute(template: string, language: string, stack_name: string): string;
|
|
12
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Returns an array containing all supported language names.
|
|
11
|
+
*/
|
|
12
|
+
export function supported_languages(): any[];
|
package/index.js
CHANGED
|
@@ -91,25 +91,8 @@ function getDataViewMemory0() {
|
|
|
91
91
|
return cachedDataViewMemory0;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
function
|
|
95
|
-
|
|
96
|
-
const mem = getDataViewMemory0();
|
|
97
|
-
const result = [];
|
|
98
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
99
|
-
result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));
|
|
100
|
-
}
|
|
101
|
-
wasm.__externref_drop_slice(ptr, len);
|
|
102
|
-
return result;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Returns an array containing all supported language names.
|
|
106
|
-
* @returns {any[]}
|
|
107
|
-
*/
|
|
108
|
-
module.exports.supported_languages = function() {
|
|
109
|
-
const ret = wasm.supported_languages();
|
|
110
|
-
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
111
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
112
|
-
return v1;
|
|
94
|
+
module.exports.wasm_init = function() {
|
|
95
|
+
wasm.wasm_init();
|
|
113
96
|
};
|
|
114
97
|
|
|
115
98
|
function takeFromExternrefTable0(idx) {
|
|
@@ -150,8 +133,25 @@ module.exports.transmute = function(template, language, stack_name) {
|
|
|
150
133
|
}
|
|
151
134
|
};
|
|
152
135
|
|
|
153
|
-
|
|
154
|
-
|
|
136
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
137
|
+
ptr = ptr >>> 0;
|
|
138
|
+
const mem = getDataViewMemory0();
|
|
139
|
+
const result = [];
|
|
140
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
141
|
+
result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));
|
|
142
|
+
}
|
|
143
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
144
|
+
return result;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Returns an array containing all supported language names.
|
|
148
|
+
* @returns {any[]}
|
|
149
|
+
*/
|
|
150
|
+
module.exports.supported_languages = function() {
|
|
151
|
+
const ret = wasm.supported_languages();
|
|
152
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
153
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
154
|
+
return v1;
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
module.exports.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
|
package/index_bg.wasm
CHANGED
|
Binary file
|