@design-token-kit/core 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -164,8 +164,8 @@ var Source = class Source {
164
164
  constructor(input) {
165
165
  this.#input = input;
166
166
  if (input === "-") this.#type = SourceType.STDIN;
167
- else if (Source.#isUrl(input)) this.#type = SourceType.URL;
168
167
  else if (existsSync(input)) this.#type = SourceType.FILE;
168
+ else if (Source.#isUrl(input)) this.#type = SourceType.URL;
169
169
  else this.#type = SourceType.CONTENT;
170
170
  }
171
171
  static #isUrl(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-token-kit/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Core library for Design Token Kit: validate, convert, showcase.",
5
5
  "keywords": [
6
6
  "design-tokens",