cdk-from-cfn 0.266.0 → 0.267.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;
|
|
8
|
+
/**
|
|
9
|
+
* Returns an array containing all supported language names.
|
|
10
|
+
*/
|
|
11
|
+
export function supported_languages(): any[];
|
|
12
12
|
export function wasm_init(): void;
|
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);
|
|
@@ -150,6 +129,27 @@ module.exports.transmute = function(template, language, stack_name) {
|
|
|
150
129
|
}
|
|
151
130
|
};
|
|
152
131
|
|
|
132
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
133
|
+
ptr = ptr >>> 0;
|
|
134
|
+
const mem = getDataViewMemory0();
|
|
135
|
+
const result = [];
|
|
136
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
137
|
+
result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));
|
|
138
|
+
}
|
|
139
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
140
|
+
return result;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Returns an array containing all supported language names.
|
|
144
|
+
* @returns {any[]}
|
|
145
|
+
*/
|
|
146
|
+
module.exports.supported_languages = function() {
|
|
147
|
+
const ret = wasm.supported_languages();
|
|
148
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
149
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
150
|
+
return v1;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
153
|
module.exports.wasm_init = function() {
|
|
154
154
|
wasm.wasm_init();
|
|
155
155
|
};
|
package/index_bg.wasm
CHANGED
|
Binary file
|