Skip to content

Commit

Permalink
[core-xml] add react-native mapping (#21610)
Browse files Browse the repository at this point in the history
- for entry point
- and xml building/parsing using `fast-xml-parser`
  • Loading branch information
jeremymeng authored Apr 27, 2022
1 parent 90a4e1c commit 46f72fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/core/core-xml/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Bugs Fixed

- Add a `react-native` mapping to use `fast-xml-parser` for xml building/parsing as it is already in our dependency list. With this customers don't need to polyfill the DOM api for XML processing.

### Other Changes

## 1.2.0 (2022-02-03)
Expand Down
4 changes: 4 additions & 0 deletions sdk/core/core-xml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"browser": {
"./dist-esm/src/xml.js": "./dist-esm/src/xml.browser.js"
},
"react-native": {
"./dist/index.js": "./dist-esm/src/index.js",
"./dist-esm/src/xml.js": "./dist-esm/src/xml.js"
},
"types": "types/latest/core-xml.d.ts",
"typesVersions": {
"<3.6": {
Expand Down

0 comments on commit 46f72fd

Please sign in to comment.