inferred-types 0.50.20 → 0.50.21
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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-guards/repos.d.ts +1 -1
- package/dist/runtime/type-guards/repos.d.ts.map +1 -1
- package/dist/runtime/type-guards/repos.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3732,7 +3732,7 @@ var isSemanticVersion = (v, allowPrefix = false) => {
|
|
|
3732
3732
|
};
|
|
3733
3733
|
var isRepoUrl = (val) => {
|
|
3734
3734
|
const baseUrls = valuesOf(REPO_SOURCE_LOOKUP).flat();
|
|
3735
|
-
return isString(val) && baseUrls.
|
|
3735
|
+
return isString(val) && baseUrls.some(
|
|
3736
3736
|
(u) => val === u || val.startsWith(`${u}/`)
|
|
3737
3737
|
);
|
|
3738
3738
|
};
|
package/dist/index.js
CHANGED
|
@@ -3131,7 +3131,7 @@ var isSemanticVersion = (v, allowPrefix = false) => {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
var isRepoUrl = (val) => {
|
|
3133
3133
|
const baseUrls = valuesOf(REPO_SOURCE_LOOKUP).flat();
|
|
3134
|
-
return isString(val) && baseUrls.
|
|
3134
|
+
return isString(val) && baseUrls.some(
|
|
3135
3135
|
(u) => val === u || val.startsWith(`${u}/`)
|
|
3136
3136
|
);
|
|
3137
3137
|
};
|