File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,13 @@ <h3>Node.js</h3>
137137 < a href ="#browser " id ="browser " style ="color: inherit; text-decoration: none; ">
138138 < h3 > Browser</ h3 >
139139 </ a >
140- < p > For browser usage you can directly include < code > dist/index-browser-umd.js </ code > ; no Browserify
140+ < p > For browser usage you can directly include < code > dist/index-browser-umd.cjs </ code > ; no Browserify
141141 magic is necessary:</ p >
142142 < pre > < code class ="language-html "> < span style ="color: #008000 "> <!-- Polyfill recommended by Babel for items not covered for older</ span >
143143< span style ="color: #008000 "> browsers in dist --></ span >
144144< span style ="color: #800000 "> <script</ span > < span style ="color: #000000FF "> </ span > < span style ="color: #FF0000 "> src</ span > < span style ="color: #000000FF "> =</ span > < span style ="color: #0000FF "> "node_modules/core-js-bundle/minified.js"</ span > < span style ="color: #800000 "> ></script></ span >
145145
146- < span style ="color: #800000 "> <script</ span > < span style ="color: #000000FF "> </ span > < span style ="color: #FF0000 "> src</ span > < span style ="color: #000000FF "> =</ span > < span style ="color: #0000FF "> "node_modules/jsonpath-plus/dist/index-browser-umd.js "</ span > < span style ="color: #800000 "> ></script></ span >
146+ < span style ="color: #800000 "> <script</ span > < span style ="color: #000000FF "> </ span > < span style ="color: #FF0000 "> src</ span > < span style ="color: #000000FF "> =</ span > < span style ="color: #0000FF "> "node_modules/jsonpath-plus/dist/index-browser-umd.cjs "</ span > < span style ="color: #800000 "> ></script></ span >
147147
148148< span style ="color: #800000 "> <script></ span >
149149
@@ -646,4 +646,4 @@ <h2>Legend</h2>
646646< div class ="overlay "> </ div >
647647< script src ="assets/js/main.js "> </ script >
648648</ body >
649- </ html >
649+ </ html >
Original file line number Diff line number Diff line change 33 "name" : " jsonpath-plus" ,
44 "version" : " 6.0.0" ,
55 "type" : " module" ,
6- "main" : " dist/index-node-cjs.js " ,
6+ "main" : " dist/index-node-cjs.cjs " ,
77 "exports" : {
88 "./package.json" : " ./package.json" ,
99 "." : {
1414 "default" : " ./dist/index-browser-esm.js"
1515 }
1616 },
17- "module" : " dist/index-node-esm.mjs " ,
17+ "module" : " dist/index-node-esm.js " ,
1818 "browser" : " dist/index-browser-esm.js" ,
1919 "types" : " ./src/jsonpath.d.ts" ,
2020 "description" : " A JS implementation of JSONPath with some additional operators" ,
You can’t perform that action at this time.
0 commit comments