jsx-ast-utils
Advanced tools
Comparing version 3.3.2 to 3.3.3
@@ -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 @@ ================== |
@@ -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 @@ |
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
229918
5608
Updatedobject.assign@^4.1.3