Comparing version 3.14.0 to 3.14.1
@@ -0,1 +1,5 @@ | ||
# 3.14.1 (2020-05-17) | ||
* Add support for `export type {T} from './T';` type-only export syntax. ([#533]) | ||
# 3.14.0 (2020-05-10) | ||
@@ -286,1 +290,2 @@ | ||
[#532]: https://github.com/alangpierce/sucrase/pull/532 | ||
[#533]: https://github.com/alangpierce/sucrase/pull/533 |
@@ -313,2 +313,11 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
this.tokens.removeToken(); | ||
// Remove type re-export `... } from './T'` | ||
if ( | ||
this.tokens.matchesContextual(_keywords.ContextualKeyword._from) && | ||
this.tokens.matches1AtIndex(this.tokens.currentIndex() + 1, _types.TokenType.string) | ||
) { | ||
this.tokens.removeToken(); | ||
this.tokens.removeToken(); | ||
} | ||
return true; | ||
@@ -315,0 +324,0 @@ } else { |
@@ -68,2 +68,11 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
this.tokens.removeToken(); | ||
// Remove type re-export `... } from './T'` | ||
if ( | ||
this.tokens.matchesContextual(_keywords.ContextualKeyword._from) && | ||
this.tokens.matches1AtIndex(this.tokens.currentIndex() + 1, _types.TokenType.string) | ||
) { | ||
this.tokens.removeToken(); | ||
this.tokens.removeToken(); | ||
} | ||
return true; | ||
@@ -70,0 +79,0 @@ } |
{ | ||
"name": "sucrase", | ||
"version": "3.14.0", | ||
"version": "3.14.1", | ||
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes", | ||
@@ -74,3 +74,3 @@ "author": "Alan Pierce <alangpierce@gmail.com>", | ||
"prettier": "^1.19.1", | ||
"sucrase": "^3.13.0", | ||
"sucrase": "^3.14.0", | ||
"test262-harness": "^6.5.0", | ||
@@ -77,0 +77,0 @@ "ts-interface-builder": "^0.2.1", |
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
939817
23891