Closed stellarhoof closed 1 year ago
Warnings | |
---|---|
:warning: | :exclamation: This PR is BIG (+577 -47) Please keep it below 500 net changes |
:+1: Test coverage is looking good.
Files | % Stmts | % Branch | % Funcs | % Lines | Uncovered Lines | |
---|---|---|---|---|---|---|
src/dataStrategies.js | 85 | 100 | 83.33 | 85 | 28, 29, 30, 31, 32, 33, 34, 35, 36 | :white_check_mark: |
src/exampleTypes.js | 87.76 | 80 | 100 | 87.76 | 10, 11, 12, 13, 14, 15 | :white_check_mark: |
src/index.js | 94.74 | 93.33 | 100 | 94.74 | 48, 49, 58, 59 | :white_check_mark: |
Generated by :no_entry_sign: dangerJS against 15c21a0cb84fe574bedf254ffdff079e87919ccc
This library is being used by contexture-react in a browser setting, so we have to ship a version that works in the browser as well as in node.
./dist/cjs
) and esm (./dist/esm
) versions of the code.js
suffix as required by node'stype: module
.js
extensionIf anyone is curious, here's a good article explaining the situation: https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html