@gatekeeper_technology/excel-utils 1.0.5 → 1.0.7

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
@@ -1,6 +1,9 @@
1
1
  # Gatekeeper's Excel Utils
2
2
 
3
3
  ## Changelog
4
+ ### [1.00.07] 24-08-2022
5
+ ### Fixed
6
+ - Fixed bug where workbook_creator class was not exported properly.
4
7
  ### [1.00.05] 18-03-2022
5
8
  ### Changed
6
9
  - Fixed import bug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gatekeeper_technology/excel-utils",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Gatekeeper's excel Utils - shared in NPM",
5
5
  "author": "David Holtzhausen",
6
6
  "main": "index.js",
package/utils.js CHANGED
@@ -25,7 +25,7 @@ async function getWorkbookData(data) {
25
25
  return rows_data;
26
26
  }
27
27
 
28
- modules.export = {
28
+ module.exports = {
29
29
  generateXLSXBuffer,
30
30
  getWorkbookData
31
31
  }
@@ -1,6 +1,6 @@
1
1
  const ExcelJS = require("exceljs");
2
2
 
3
- class WorkbookCreator {
3
+ let WorkbookCreator = class {
4
4
  constructor() {
5
5
 
6
6
  }
@@ -125,3 +125,5 @@ class WorkbookCreator {
125
125
  }
126
126
 
127
127
  }
128
+
129
+ module.exports = WorkbookCreator;