@wp-playground/blueprints 3.0.21 → 3.0.22

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/index.js CHANGED
@@ -311,7 +311,7 @@ class ut extends fr {
311
311
  constructor(t, n, d) {
312
312
  if (super(n, d == null ? void 0 : d.corsProxy), this.resource = t, this.options = d, this.resource.url.startsWith("https://github.com/")) {
313
313
  const u = this.resource.url.match(
314
- /^https:\/\/github\.com\/(?<owner>[^/]+)\/(?<repo>[^/]+)\/blob\/(?<branch>[^/]+)\/(?<path>.+[^/])$/
314
+ /^https:\/\/github\.com\/(?<owner>[^/]+)\/(?<repo>[^/]+)\/(?:blob|raw)\/(?<branch>[^/]+)\/(?<path>.+[^/])$/
315
315
  );
316
316
  u != null && u.groups && (this.resource = {
317
317
  ...this.resource,