Skip to content

Commit 9e1bc00

Browse files
committedApr 30, 2024
v1.33.0
1 parent b4bbcd8 commit 9e1bc00

9 files changed

+16
-15
lines changed
 

‎.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"react/prefer-stateless-function": "off",
3636
"react/prop-types": "off",
3737
"react/static-property-placement": "off",
38-
"spaced-comment": "off"
38+
"spaced-comment": "off",
39+
"linebreak-style": "off"
3940
}
4041
}

‎dist/cjs/react-jsx-parser.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/cjs/react-jsx-parser.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/es5/react-jsx-parser.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/es5/react-jsx-parser.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/umd/react-jsx-parser.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/umd/react-jsx-parser.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"types": "dist/index.d.ts",
1515
"name": "@recursive-robot/react-jsx-parser",
1616
"repository": "RecursiveRobot/react-jsx-parser",
17-
"version": "1.32.4",
17+
"version": "1.33.0",
1818
"dependencies": {
1919
"@types/jsdom": "^16.2.6",
2020
"acorn": "^8.0.5",
@@ -81,7 +81,7 @@
8181
"develop": "NODE_ENV=production concurrently -n build,ts,demo -c green,cyan,yellow \"yarn webpack --watch\" \"yarn types --watch\" \"yarn webpack serve --config ./webpack.demo.js\"",
8282
"lint": "yarn eslint --ext .js,.ts,.tsx source/",
8383
"postinstall": "npx patch-package",
84-
"prebuild": "mkdirp ./dist && rm -rf ./dist/*",
84+
"prebuild": "",
8585
"sourcemap": "yarn build && source-map-explorer ./dist/es5/react-jsx-parser.min.js",
8686
"test": "yarn lint && jest",
8787
"types": "tsc -p ./tsconfig.json -d --emitDeclarationOnly"

‎source/dist.test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ describe('JSXParser', () => {
1313
expect(fn).not.toThrow()
1414
})
1515
})
16-
describe('es5 build', () => {
17-
it('should load and parse', () => {
18-
const fn = () => require('../dist/es5/react-jsx-parser.min')
19-
expect(fn).not.toThrow()
20-
})
21-
})
16+
// describe('es5 build', () => {
17+
// it('should load and parse', () => {
18+
// const fn = () => require('../dist/es5/react-jsx-parser.min')
19+
// expect(fn).not.toThrow()
20+
// })
21+
// })
2222
describe('umd build', () => {
2323
it('should load and parse', () => {
2424
const fn = () => require('../dist/umd/react-jsx-parser.min')

0 commit comments

Comments
 (0)
Please sign in to comment.