Comparing version 3.18.0 to 3.18.1
@@ -0,1 +1,6 @@ | ||
# 3.18.1 (2021-04-12) | ||
* Fix regression causing incomplete nullish coalescing and optional chaining in | ||
some cases. ([#610]) | ||
# 3.18.0 (2021-04-11) | ||
@@ -337,1 +342,2 @@ | ||
[#604]: https://github.com/alangpierce/sucrase/pull/604 | ||
[#610]: https://github.com/alangpierce/sucrase/pull/610 |
@@ -171,9 +171,7 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
removeInitialToken() { | ||
this.resultCode += this.previousWhitespaceAndComments(); | ||
this.tokenIndex++; | ||
this.replaceToken(""); | ||
} | ||
removeToken() { | ||
this.resultCode += this.previousWhitespaceAndComments().replace(/[^\r\n]/g, ""); | ||
this.tokenIndex++; | ||
this.replaceTokenTrimmingLeftWhitespace(""); | ||
} | ||
@@ -180,0 +178,0 @@ |
{ | ||
"name": "sucrase", | ||
"version": "3.18.0", | ||
"version": "3.18.1", | ||
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes", | ||
@@ -64,3 +64,3 @@ "author": "Alan Pierce <alangpierce@gmail.com>", | ||
"prettier": "^2.0.5", | ||
"sucrase": "^3.17.1", | ||
"sucrase": "^3.18.0", | ||
"test262-harness": "^6.5.0", | ||
@@ -67,0 +67,0 @@ "ts-interface-builder": "^0.2.1", |
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
965388
24453