sugar-high 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -434,7 +434,7 @@ function tokenize(code) {
434
434
  }
435
435
  }
436
436
  // `=` in property=<value>
437
- if (next === '=') {
437
+ if (next === '=' && !inStringContent()) {
438
438
  const prop = current ? (current + curr) : curr
439
439
  if (isIdentifier(prop)) {
440
440
  current = prop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sugar-high",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "types": "./lib/index.d.ts",
6
6
  "exports": {
@@ -14,9 +14,9 @@
14
14
  "license": "MIT",
15
15
  "devDependencies": {
16
16
  "codice": "^0.2.0",
17
- "next": "14.1.0",
18
- "react": "^18.2.0",
19
- "react-dom": "^18.2.0",
17
+ "next": "14.2.3",
18
+ "react": "^18.3.1",
19
+ "react-dom": "^18.3.1",
20
20
  "sugar-high": "link:./",
21
21
  "vitest": "^1.2.2"
22
22
  },