@jsreport/jsreport-core 3.7.0 → 3.8.0

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.
package/README.md CHANGED
@@ -282,6 +282,10 @@ jsreport.documentStore.collection('templates')
282
282
 
283
283
  ## Changelog
284
284
 
285
+ ### 3.8.0
286
+
287
+ - make "config.json" a reserved name for entities
288
+
285
289
  ### 3.7.0
286
290
 
287
291
  - add support for multiple source entities when copying and moving
@@ -58,5 +58,11 @@ module.exports = (name) => {
58
58
  })
59
59
  }
60
60
 
61
+ if (name === 'config.json') {
62
+ throw createError('Entity name "config.json" is reserved and can\'t be used', {
63
+ statusCode: 400
64
+ })
65
+ }
66
+
61
67
  return true
62
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsreport/jsreport-core",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "javascript based business reporting",
5
5
  "keywords": [
6
6
  "report",