New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esrap

Package Overview
Dependencies
Maintainers
2
Versions
22
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.4.3 to 1.4.4

2

package.json
{
"name": "esrap",
"version": "1.4.3",
"version": "1.4.4",
"description": "Parse in reverse",

@@ -5,0 +5,0 @@ "repository": {

@@ -1509,2 +1509,18 @@ /** @import { TSESTree } from '@typescript-eslint/types' */

TSModuleBlock(node, state) {
state.commands.push(' {', indent, newline);
sequence(node.body, state, false, handle);
state.commands.push(dedent, newline, '}');
},
TSModuleDeclaration(node, state) {
if (node.declare) state.commands.push('declare ');
else state.commands.push('namespace ');
handle(node.id, state);
if (!node.body) return;
handle(node.body, state);
},
TSNonNullExpression(node, state) {

@@ -1511,0 +1527,0 @@ handle(node.expression, state);

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