zet-lib 1.0.28 → 1.0.29

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.
@@ -450,7 +450,7 @@ const generate = async (req, res) => {
450
450
  let compilesJS = ['createjs.ejs', 'updatejs.ejs', 'importjs.ejs'];
451
451
 
452
452
  let resultJSON = Object.prototype.hasOwnProperty.call(result,'json') ? result.json : {};
453
- if(resultJSON && resultJSON.hasOwnProperty('dummy')) {
453
+ if(Object.prototype.hasOwnProperty.call(resultJSON,'dummy')){
454
454
  dummy = resultJSON.dummy;
455
455
  }
456
456
  if(!dummy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"