lieko-express 1.0.2 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lieko-express.js +4 -0
  2. package/package.json +1 -1
package/lieko-express.js CHANGED
@@ -1610,6 +1610,10 @@ ${cyan} (req, res, next) => {
1610
1610
  return res.status(201).json({ data, message });
1611
1611
  };
1612
1612
 
1613
+ res.notModified = () => {
1614
+ return res.status(304).end();
1615
+ };
1616
+
1613
1617
  res.noContent = () => {
1614
1618
  return res.status(204).end();
1615
1619
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lieko-express",
3
- "version": "1.0.2",
3
+ "version": "1.0.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/eiwSrvt/lieko-express"