You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(debug): debug package was added and was exposed through API
BREAKING CHANGE: The first non-default `export` (`export {debug}`) was added.
It causes `default export` to be accessible under `.default`:
`const StaticServer = require('simplatic-http-server').default`
Copy file name to clipboardExpand all lines: package.json
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "simplatic-http-server",
3
-
"version": "0.0.4",
3
+
"version": "1.0.0",
4
4
"description": "A very light-weight and very simple static HTTP server based on node's built-in http module",
5
5
"main": "dist/main.umd.js",
6
6
"scripts": {
@@ -37,7 +37,7 @@
37
37
],
38
38
"check-coverage": true,
39
39
"branches": 90,
40
-
"functions": 90,
40
+
"functions": 95,
41
41
"lines": 90,
42
42
"statements": 90,
43
43
"temp-dir": "./coverage/.nyc_output"
@@ -71,6 +71,7 @@
71
71
},
72
72
"//": "devDependencies: `@types/...` is needed to be in dependencies due to some notes in IntelliJ IDEs. See: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206324989/comments/360000603579",
0 commit comments