jsii-rosetta 1.98.0 → 1.100.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/lib/languages/go.d.ts +2 -2
- package/lib/submodule-reference.js +1 -1
- package/package.json +12 -12
package/lib/languages/go.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ interface GoLanguageContext {
|
|
|
20
20
|
*/
|
|
21
21
|
isPtrAssignmentRValue: boolean;
|
|
22
22
|
/**
|
|
23
|
-
* Whether the current element is a parameter
|
|
23
|
+
* Whether the current element is a parameter declaration name.
|
|
24
24
|
*/
|
|
25
25
|
isParameterName: boolean;
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ interface GoLanguageContext {
|
|
|
28
28
|
*/
|
|
29
29
|
isStruct: boolean;
|
|
30
30
|
/**
|
|
31
|
-
* Whether the context is within an interface
|
|
31
|
+
* Whether the context is within an interface declaration.
|
|
32
32
|
*/
|
|
33
33
|
isInterface: boolean;
|
|
34
34
|
/**
|
|
@@ -58,7 +58,7 @@ class SubmoduleReference {
|
|
|
58
58
|
exports.SubmoduleReference = SubmoduleReference;
|
|
59
59
|
/**
|
|
60
60
|
* Determines what symbols are imported by the given TypeScript import
|
|
61
|
-
*
|
|
61
|
+
* declaration, in the context of the specified file, using the provided type
|
|
62
62
|
* checker.
|
|
63
63
|
*
|
|
64
64
|
* @param decl an import declaration.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-rosetta",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.100.0",
|
|
4
4
|
"description": "Translate TypeScript code snippets to other languages",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "yarn tsc --build && npm run lint",
|
|
11
11
|
"watch": "yarn tsc --build -w",
|
|
12
|
-
"lint": "eslint . --ext .js,.ts --ignore-path=.gitignore --ignore-pattern=examples/* --ignore-pattern=test/translations/*",
|
|
12
|
+
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint . --ext .js,.ts --ignore-path=.gitignore --ignore-pattern=examples/* --ignore-pattern=test/translations/*",
|
|
13
13
|
"lint:fix": "yarn lint --fix",
|
|
14
14
|
"test": "jest",
|
|
15
15
|
"test:update": "jest -u",
|
|
@@ -18,26 +18,26 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/commonmark": "^0.27.9",
|
|
20
20
|
"@types/mock-fs": "^4.13.4",
|
|
21
|
-
"@types/stream-json": "^1.7.
|
|
22
|
-
"@types/workerpool": "^6.4.
|
|
23
|
-
"@types/semver": "^7.5.
|
|
24
|
-
"jsii-build-tools": "1.
|
|
21
|
+
"@types/stream-json": "^1.7.7",
|
|
22
|
+
"@types/workerpool": "^6.4.7",
|
|
23
|
+
"@types/semver": "^7.5.8",
|
|
24
|
+
"jsii-build-tools": "1.100.0",
|
|
25
25
|
"memory-streams": "^0.1.3",
|
|
26
26
|
"mock-fs": "^5.2.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@jsii/check-node": "1.
|
|
30
|
-
"@jsii/spec": "1.
|
|
31
|
-
"commonmark": "^0.
|
|
29
|
+
"@jsii/check-node": "1.100.0",
|
|
30
|
+
"@jsii/spec": "1.100.0",
|
|
31
|
+
"commonmark": "^0.31.0",
|
|
32
32
|
"typescript": "~3.9.10",
|
|
33
33
|
"@xmldom/xmldom": "^0.8.10",
|
|
34
34
|
"workerpool": "^6.5.1",
|
|
35
35
|
"yargs": "^16.2.0",
|
|
36
36
|
"stream-json": "^1.8.0",
|
|
37
|
-
"semver": "^7.
|
|
38
|
-
"semver-intersect": "^1.
|
|
37
|
+
"semver": "^7.6.0",
|
|
38
|
+
"semver-intersect": "^1.5.0",
|
|
39
39
|
"fast-glob": "^3.3.2",
|
|
40
|
-
"jsii": "1.
|
|
40
|
+
"jsii": "1.100.0"
|
|
41
41
|
},
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"author": {
|