@mearl/preset 3.0.12 → 3.1.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.
@@ -17,10 +17,10 @@ export function parseProfileSource(input) {
17
17
  url = new URL(input);
18
18
  }
19
19
  catch {
20
- throw new BundleError('BUNDLE_INVALID', 'Use a GitHub owner/repo or an HTTPS bundle manifest URL');
20
+ throw new BundleError('BUNDLE_INVALID', 'Use a GitHub owner/repo or an HTTPS Profile manifest URL');
21
21
  }
22
22
  if (url.protocol !== 'https:' || url.username || url.password || url.hash) {
23
- throw new BundleError('BUNDLE_INVALID', 'App profile bundle URLs require HTTPS without credentials or a fragment');
23
+ throw new BundleError('BUNDLE_INVALID', 'Profile URLs require HTTPS without credentials or a fragment');
24
24
  }
25
25
  return { origin: url.origin, url: url.href };
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mearl/preset",
3
- "version": "3.0.12",
3
+ "version": "3.1.1",
4
4
  "description": "Browser-compatible preset validation, inheritance and capability resolution for Mearl",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",