ewvjs 1.0.16 → 1.0.17

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/webview.js CHANGED
@@ -140,7 +140,7 @@ export class WebView {
140
140
  jsCallback: this._handle_message.bind(this),
141
141
  ...options,
142
142
  };
143
- const urlRegex = /^(http?|file?|data?):/i;
143
+ const urlRegex = /^(https?|file|data):/i;
144
144
  const isUrl = urlRegex.test(url_or_html) ||
145
145
  /^localhost(:\d+)?$/i.test(url_or_html) ||
146
146
  /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d+)?$/i.test(url_or_html);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ewvjs",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Embedded WebView for JavaScript - Edge WebView2 bindings for Node.js",
5
5
  "workspaces": [
6
6
  "packages/*"