@octopusdeploy/ocl
Advanced tools
Comparing version 0.1.1 to 0.2.0
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -114,3 +114,3 @@ "use strict"; | ||
if (char !== '<') { | ||
return this.tokenizeValue(value, tokenType, "Expected <; Got " + this.currentChar); | ||
return this.tokenizeValue(value, tokenType, "Expected <; Got ".concat(this.currentChar)); | ||
} | ||
@@ -144,3 +144,3 @@ value += this.currentChar; | ||
if (char !== '\n') { | ||
return this.tokenizeValue(value, tokenType, "Expected new line; Got " + char); | ||
return this.tokenizeValue(value, tokenType, "Expected new line; Got ".concat(char)); | ||
} | ||
@@ -168,3 +168,3 @@ value += this.currentChar; | ||
if (!foundEndTag) { | ||
return this.tokenizeValue(value, tokenType, "expected end tag \"" + tag + "\"; Got EOF"); | ||
return this.tokenizeValue(value, tokenType, "expected end tag \"".concat(tag, "\"; Got EOF")); | ||
} | ||
@@ -181,3 +181,3 @@ return this.tokenizeValue(value, tokenType); | ||
if (Number.isNaN(parseInt(this.currentChar))) { | ||
return this.tokenizeValue(value, tokenType, "Expected number; Got " + this.currentChar); | ||
return this.tokenizeValue(value, tokenType, "Expected number; Got ".concat(this.currentChar)); | ||
} | ||
@@ -196,3 +196,3 @@ } | ||
if (decimalTally > 1) { | ||
return this.tokenizeValue(value, tokenType, "Expected 1 decimal; Got " + decimalTally); | ||
return this.tokenizeValue(value, tokenType, "Expected 1 decimal; Got ".concat(decimalTally)); | ||
} | ||
@@ -199,0 +199,0 @@ return this.tokenizeValue(value, tokenType); |
@@ -8,11 +8,15 @@ { | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.11.1", | ||
"@typescript-eslint/eslint-plugin": "^5.1.0", | ||
"@typescript-eslint/parser": "^5.1.0", | ||
"eslint": "^8.0.1", | ||
"jest": "^27.3.0", | ||
"ts-jest": "^27.0.7", | ||
"ts-node-dev": "^1.1.8", | ||
"typescript": "^4.4.4" | ||
"@types/deep-equal": "^1.0.4", | ||
"@types/jest": "^28.1.4", | ||
"@types/lodash": "^4.14.201", | ||
"@types/node": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.30.0", | ||
"@typescript-eslint/parser": "^5.30.0", | ||
"deep-equal": "^2.2.2", | ||
"eslint": "^8.18.0", | ||
"jest": "^28.1.2", | ||
"ts-jest": "^28.0.5", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^4.7.4", | ||
"lodash": "^4.17.21" | ||
}, | ||
@@ -39,3 +43,3 @@ "files": [ | ||
"scripts": { | ||
"build": "tsc --p tsconfig.json", | ||
"build": "tsc", | ||
"prepare": "npm run build", | ||
@@ -45,3 +49,3 @@ "test": "jest" | ||
"types": "dist/index.d.ts", | ||
"version": "0.1.1" | ||
"version": "0.2.0" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
65692
21
1018
13
1