Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "esrap", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Parse in reverse", | ||
@@ -22,7 +22,8 @@ "repository": { | ||
"devDependencies": { | ||
"@vitest/ui": "^2.0.5", | ||
"acorn": "^8.10.0", | ||
"bun-types": "^1.0.9", | ||
"dts-buddy": "^0.2.4", | ||
"prettier": "^3.0.3", | ||
"typescript": "^5.2.2", | ||
"vitest": "^2.0.5", | ||
"zimmerframe": "^1.0.0" | ||
@@ -32,4 +33,5 @@ }, | ||
"check": "tsc", | ||
"prepublishOnly": "bun test && dts-buddy", | ||
"sandbox": "bun run test/sandbox/index.js" | ||
"prepublishOnly": "pnpm test && dts-buddy", | ||
"sandbox": "node test/sandbox/index.js", | ||
"test": "vitest --run" | ||
}, | ||
@@ -40,3 +42,4 @@ "license": "MIT", | ||
"@types/estree": "^1.0.1" | ||
} | ||
}, | ||
"packageManager": "pnpm@9.8.0" | ||
} |
@@ -53,3 +53,3 @@ # esrap | ||
This repo uses [Bun](https://bun.sh/). Once it's installed, do `bun install` to install dependencies, and `bun test` to run the tests. | ||
This repo uses [pnpm](https://pnpm.io). Once it's installed, do `pnpm install` to install dependencies, and `pnpm test` to run the tests. | ||
@@ -56,0 +56,0 @@ ## License |
@@ -788,4 +788,5 @@ /** @type {import('./types').Newline} */ | ||
if ( | ||
node.expression.type === 'AssignmentExpression' && | ||
node.expression.left.type === 'ObjectPattern' | ||
node.expression.type === 'ObjectExpression' || | ||
(node.expression.type === 'AssignmentExpression' && | ||
node.expression.left.type === 'ObjectPattern') | ||
) { | ||
@@ -792,0 +793,0 @@ // is an AssignmentExpression to an ObjectPattern |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38825
1234
7