@lcap/nasl-translator
Advanced tools
Comparing version 3.9.1-beta.33 to 3.9.1-beta.101
@@ -94,3 +94,3 @@ "use strict"; | ||
yield; | ||
let code = yield* oldMethod.call(this, state, ...args); | ||
const code = yield* oldMethod.call(this, state, ...args); | ||
yield; | ||
@@ -101,5 +101,4 @@ const start = { | ||
if (this.concept === 'BusinessComponent') { | ||
let lines = code.split('\n'); | ||
const lines = code.split('\n'); | ||
const lineOffset = lines.findIndex((item) => item.startsWith('export class ')); | ||
lines = null; | ||
if (lineOffset) { | ||
@@ -106,0 +105,0 @@ start.line = start.line + lineOffset + 1; |
{ | ||
"name": "@lcap/nasl-translator", | ||
"description": "NetEase Application Specific Language", | ||
"version": "3.9.1-beta.33", | ||
"version": "3.9.1-beta.101", | ||
"author": "Forrest <rainforest92@126.com>", | ||
@@ -18,5 +18,5 @@ "main": "./out", | ||
"@lcap/nasl-test-toolkit": "1.0.0", | ||
"@lcap/nasl-types": "3.9.1-beta.101", | ||
"@lcap/nasl-tsconfig": "1.0.1", | ||
"@lcap/nasl-types": "3.9.1-beta.33", | ||
"@lcap/nasl-utils": "3.9.1-beta.33" | ||
"@lcap/nasl-utils": "3.9.1-beta.101" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26306
350
+ Added@lcap/nasl-types@3.9.1-beta.101(transitive)
+ Added@lcap/nasl-utils@3.9.1-beta.101(transitive)
- Removed@lcap/nasl-types@3.9.1-beta.33(transitive)
- Removed@lcap/nasl-utils@3.9.1-beta.33(transitive)