Skip to content

Commit

Permalink
Fixes avsc library's types to not use unsafe function/eval executions
Browse files Browse the repository at this point in the history
  - Converts WrappedUnionTypes to avoid new Function syntax
  - Converts createConstructor under RecordType to avoid new Function syntax
  - Converts createReader under RecordType to avoid new Function syntax
  - Converts createSkipper under RecordType to avoid new Function syntax
  - Converts createWriter under RecordType to avoid new Function syntax
  - Converts update under RecordType to avoid new Function syntax
  - Adds appropriate modules for webpack build
  - Modifies webpack config + adds babelrc for babel options
  - Adds built bundle file
  - Bumps package json version
  • Loading branch information
ajainarayanan committed Feb 12, 2019
1 parent 7563e3c commit 398c724
Show file tree
Hide file tree
Showing 6 changed files with 6,750 additions and 165 deletions.
16 changes: 16 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"presets": [
[
"@babel/env",
{
"targets": {
"browsers": [
"last 10 versions",
"safari >= 7"
]
},
"modules": false
}
]
]
}
8 changes: 1 addition & 7 deletions dist/cdap-avsc-lib.js

Large diffs are not rendered by default.

Loading

0 comments on commit 398c724

Please sign in to comment.