Comparing version 0.7.0 to 0.7.1
@@ -8,2 +8,6 @@ # Changelog | ||
## [0.7.1](https://github.com/IBM/carbon-icons-svelte/releases/tag/v0.7.1) - 2021-02-20 | ||
- only parse files with the `.svelte` file extension | ||
## [0.7.0](https://github.com/IBM/carbon-icons-svelte/releases/tag/v0.7.0) - 2021-02-06 | ||
@@ -10,0 +14,0 @@ |
@@ -92,3 +92,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var dir, entry, exports, components, parser, _i, _a, _b, moduleName, entry_1, filePath, source; | ||
var dir, entry, exports, components, parser, _i, _a, _b, moduleName, entry_1, filePath, ext, source; | ||
return __generator(this, function (_c) { | ||
@@ -116,3 +116,4 @@ switch (_c.label) { | ||
_b = _a[_i], moduleName = _b[0], entry_1 = _b[1]; | ||
filePath = entry_1.source; | ||
filePath = entry_1.source, ext = path.parse(filePath).ext; | ||
if (!(ext === '.svelte')) return [3 /*break*/, 3]; | ||
return [4 /*yield*/, fs.readFile(path.resolve(dir, filePath), "utf-8")]; | ||
@@ -119,0 +120,0 @@ case 2: |
{ | ||
"name": "sveld", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "description": "Generate TypeScript definitions for your Svelte components.", |
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
105612
1767