diff --git a/package-lock.json b/package-lock.json index d75274c..ab46b0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "license": "MIT", "devDependencies": { "@babel/preset-typescript": "^7.18.6", - "@types/jest": "^29.2.2", + "@types/jest": "^29.2.3", "jest": "^29.3.1", - "prettier": "^2.7.1", + "prettier": "^2.8.0", "ts-jest": "^29.0.3", - "typescript": "^4.8.4" + "typescript": "^4.9.3" }, "peerDependencies": { "prettier": "^2.0.0" @@ -1150,9 +1150,9 @@ } }, "node_modules/@types/jest": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.2.tgz", - "integrity": "sha512-og1wAmdxKoS71K2ZwSVqWPX6OVn3ihZ6ZT2qvZvZQm90lJVDyXIjYcu4Khx2CNIeaFv12rOU/YObOsI3VOkzog==", + "version": "29.2.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.3.tgz", + "integrity": "sha512-6XwoEbmatfyoCjWRX7z0fKMmgYKe9+/HrviJ5k0X/tjJWHGAezZOfYaxqQKuzG/TvQyr+ktjm4jgbk0s4/oF2w==", "dev": true, "dependencies": { "expect": "^29.0.0", @@ -3029,9 +3029,9 @@ } }, "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.0.tgz", + "integrity": "sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -3452,9 +3452,9 @@ } }, "node_modules/typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", + "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -4508,9 +4508,9 @@ } }, "@types/jest": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.2.tgz", - "integrity": "sha512-og1wAmdxKoS71K2ZwSVqWPX6OVn3ihZ6ZT2qvZvZQm90lJVDyXIjYcu4Khx2CNIeaFv12rOU/YObOsI3VOkzog==", + "version": "29.2.3", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.2.3.tgz", + "integrity": "sha512-6XwoEbmatfyoCjWRX7z0fKMmgYKe9+/HrviJ5k0X/tjJWHGAezZOfYaxqQKuzG/TvQyr+ktjm4jgbk0s4/oF2w==", "dev": true, "requires": { "expect": "^29.0.0", @@ -5926,9 +5926,9 @@ } }, "prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.0.tgz", + "integrity": "sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA==", "dev": true }, "pretty-format": { @@ -6215,9 +6215,9 @@ "dev": true }, "typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz", + "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==", "dev": true }, "update-browserslist-db": { diff --git a/package.json b/package.json index 671cf71..ef69ab6 100644 --- a/package.json +++ b/package.json @@ -27,16 +27,15 @@ "watch": "npm run build -- --watch", "test": "jest --verbose", "test:watch": "jest --watch --verbose", - "publish:release": "npm run test && npm run build && npm publish", - "publish:beta": "npm run test && npm run build && npm publish --tag beta" + "publish:release": "npm run test && npm run build && npm publish" }, "devDependencies": { "@babel/preset-typescript": "^7.18.6", - "@types/jest": "^29.2.2", + "@types/jest": "^29.2.3", "jest": "^29.3.1", - "prettier": "^2.7.1", + "prettier": "^2.8.0", "ts-jest": "^29.0.3", - "typescript": "^4.8.4" + "typescript": "^4.9.3" }, "peerDependencies": { "prettier": "^2.0.0" diff --git a/test/cases/statement_broken/expected.html b/test/cases/statement_broken/expected.html index 81b78db..0431414 100644 --- a/test/cases/statement_broken/expected.html +++ b/test/cases/statement_broken/expected.html @@ -1 +1 @@ -Error('Error: No opening statement found for closing statement "endif"') +Error('No opening statement found for closing statement "endif"') diff --git a/test/cases/statement_broken_2/expected.html b/test/cases/statement_broken_2/expected.html index a3d0ebc..3cdd73d 100644 --- a/test/cases/statement_broken_2/expected.html +++ b/test/cases/statement_broken_2/expected.html @@ -1 +1 @@ -Error('Error: No closing statement found for opening statement "if title".') +Error('No closing statement found for opening statement "if title".')