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>
137
137
< a href ="#browser " id ="browser " style ="color: inherit; text-decoration: none; ">
138
138
< h3 > Browser</ h3 >
139
139
</ 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
141
141
magic is necessary:</ p >
142
142
< pre > < code class ="language-html "> < span style ="color: #008000 "> <!-- Polyfill recommended by Babel for items not covered for older</ span >
143
143
< span style ="color: #008000 "> browsers in dist --></ span >
144
144
< 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 >
145
145
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 >
147
147
148
148
< span style ="color: #800000 "> <script></ span >
149
149
@@ -646,4 +646,4 @@ <h2>Legend</h2>
646
646
< div class ="overlay "> </ div >
647
647
< script src ="assets/js/main.js "> </ script >
648
648
</ body >
649
- </ html >
649
+ </ html >
Original file line number Diff line number Diff line change 3
3
"name" : " jsonpath-plus" ,
4
4
"version" : " 6.0.0" ,
5
5
"type" : " module" ,
6
- "main" : " dist/index-node-cjs.js " ,
6
+ "main" : " dist/index-node-cjs.cjs " ,
7
7
"exports" : {
8
8
"./package.json" : " ./package.json" ,
9
9
"." : {
14
14
"default" : " ./dist/index-browser-esm.js"
15
15
}
16
16
},
17
- "module" : " dist/index-node-esm.mjs " ,
17
+ "module" : " dist/index-node-esm.js " ,
18
18
"browser" : " dist/index-browser-esm.js" ,
19
19
"types" : " ./src/jsonpath.d.ts" ,
20
20
"description" : " A JS implementation of JSONPath with some additional operators" ,
You can’t perform that action at this time.
0 commit comments