meowjsx 0.1.0 → 0.1.1-alpha.0

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.
@@ -94,12 +94,13 @@ export function setDOMProperty(element, name, value) {
94
94
  !name.startsWith("aria") &&
95
95
  name in target) {
96
96
  try {
97
- target[name] = resolved;
98
- return () => { };
97
+ if (Reflect.set(target, name, resolved))
98
+ return () => { };
99
99
  }
100
100
  catch {
101
- // Read-only DOM properties fall through to an attribute.
101
+ // Some DOM setters reject values by throwing instead of returning false.
102
102
  }
103
+ // Getter-only DOM properties must also fall through in non-strict bundles.
103
104
  }
104
105
  element.setAttribute(attributeName, String(resolved));
105
106
  return () => { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meowjsx",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-alpha.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -44,5 +44,10 @@
44
44
  "types": "./dist/src/json/index.d.ts",
45
45
  "import": "./dist/src/json/index.js"
46
46
  }
47
+ },
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/lidessen/meowland.git",
51
+ "directory": "packages/meowjsx"
47
52
  }
48
53
  }