cdk-from-cfn 0.257.0 → 0.261.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 +4 -4
- 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[];
|
|
7
3
|
/**
|
|
8
4
|
* Transforms the provided template into a CDK application in the specified
|
|
9
5
|
* language.
|
|
10
6
|
*/
|
|
11
7
|
export function transmute(template: string, language: string, stack_name: string): string;
|
|
12
8
|
export function wasm_init(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Returns an array containing all supported language names.
|
|
11
|
+
*/
|
|
12
|
+
export function supported_languages(): any[];
|
package/index.js
CHANGED
|
@@ -91,27 +91,6 @@ function getDataViewMemory0() {
|
|
|
91
91
|
return cachedDataViewMemory0;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
95
|
-
ptr = ptr >>> 0;
|
|
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;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
94
|
function takeFromExternrefTable0(idx) {
|
|
116
95
|
const value = wasm.__wbindgen_export_3.get(idx);
|
|
117
96
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -154,6 +133,27 @@ module.exports.wasm_init = function() {
|
|
|
154
133
|
wasm.wasm_init();
|
|
155
134
|
};
|
|
156
135
|
|
|
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
|
+
};
|
|
156
|
+
|
|
157
157
|
module.exports.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
|
|
158
158
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
159
159
|
return ret;
|
package/index_bg.wasm
CHANGED
|
Binary file
|