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

acorn-jsx

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-jsx - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

inject.js

@@ -605,2 +605,5 @@ 'use strict';

node.children = children;
if (this.type === tt.relational && this.value === "<") {
this.raise(this.pos, "Adjacent JSX elements must be wrapped in an enclosing tag");
}
return this.finishNode(node, 'JSXElement');

@@ -607,0 +610,0 @@ };

2

package.json

@@ -6,3 +6,3 @@ {

"main": "acorn.js",
"version": "1.0.1",
"version": "1.0.2",
"maintainers": [

@@ -9,0 +9,0 @@ {

var driver = require("./driver.js");
require("..");
require("./tests-jsx.js");

@@ -24,3 +23,3 @@

config: {
parse: require("acorn").parse
parse: require("..").parse
}

@@ -27,0 +26,0 @@ }

Sorry, the diff of this file is too big to display

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