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

jsx-ast-utils

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-ast-utils - npm Package Compare versions

Comparing version 3.3.2 to 3.3.3

11

__tests__/src/getPropLiteralValue-babelparser-test.js

@@ -171,2 +171,13 @@ /* eslint-env mocha */

describeIfNotBabylon('Chain Expression', () => {
it('should return null', () => {
const prop = extractProp('<div foo={abc?.def} />');
const expected = null;
const actual = getLiteralPropValue(prop);
assert.equal(actual, expected);
});
});
describe('Template literal', () => {

@@ -173,0 +184,0 @@ it('should return template literal with vars wrapped in curly braces', () => {

Unreleased
==================
3.3.3 / 2022-08-08
==================
- [Fix] Mark ChainExpression as a noop (#109)
- [Deps] update `object.assign`
- [Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `@babel/parser`, `eslint`
3.3.2 / 2022-07-06

@@ -5,0 +11,0 @@ ==================

3

lib/values/expressions/index.js

@@ -261,3 +261,4 @@ 'use strict';

TypeCastExpression: noop,
SequenceExpression: noop
SequenceExpression: noop,
ChainExpression: noop
});

@@ -264,0 +265,0 @@

{
"name": "jsx-ast-utils",
"version": "3.3.2",
"version": "3.3.3",
"description": "AST utility module for statically analyzing JSX",

@@ -21,5 +21,5 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/parser": "^7.18.6",
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@babel/parser": "^7.18.11",
"aud": "^2.0.0",

@@ -34,3 +34,3 @@ "babel-cli": "^6.26.0",

"babylon": "^6.18.0",
"eslint": "^8.19.0",
"eslint": "^8.21.0",
"eslint-config-airbnb-base": "^15.0.0",

@@ -65,3 +65,3 @@ "eslint-plugin-import": "^2.26.0",

"array-includes": "^3.1.5",
"object.assign": "^4.1.2"
"object.assign": "^4.1.3"
},

@@ -68,0 +68,0 @@ "publishConfig": {

@@ -159,2 +159,3 @@ import Literal from '../Literal';

SequenceExpression: noop,
ChainExpression: noop,
};

@@ -161,0 +162,0 @@

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