Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

esrap

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esrap - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

13

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc