@pi-r/android 0.5.2 → 0.5.3

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.
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const htmlparser2 = require("htmlparser2");
5
4
  const domhandler = require("domhandler");
@@ -178,9 +177,5 @@ function finalize(instance) {
178
177
  }
179
178
  }
180
179
  }
181
- exports.default = finalize;
182
180
 
183
- if (exports.default) {
184
- module.exports = exports.default;
185
- module.exports.default = exports.default;
186
- }
181
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const util_1 = require("@e-mc/document/util");
5
4
  const types_1 = require("@e-mc/types");
@@ -388,9 +387,5 @@ function finalize(instance) {
388
387
  }
389
388
  }
390
389
  }
391
- exports.default = finalize;
392
390
 
393
- if (exports.default) {
394
- module.exports = exports.default;
395
- module.exports.default = exports.default;
396
- }
391
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const util_1 = require("@e-mc/document/util");
5
4
  const parse_1 = require("@e-mc/document/parse");
@@ -77,9 +76,5 @@ function finalize(instance) {
77
76
  }
78
77
  }
79
78
  }
80
- exports.default = finalize;
81
79
 
82
- if (exports.default) {
83
- module.exports = exports.default;
84
- module.exports.default = exports.default;
85
- }
80
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const fs = require("fs");
5
4
  const child_process = require("child_process");
@@ -121,9 +120,5 @@ async function finalize(instance) {
121
120
  .catch(err => instance.writeFail(["Unable to perform task", command + ' ' + task], err, { type: 4, startTime }));
122
121
  }
123
122
  }
124
- exports.default = finalize;
125
123
 
126
- if (exports.default) {
127
- module.exports = exports.default;
128
- module.exports.default = exports.default;
129
- }
124
+ module.exports = finalize;
package/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const fs = require("fs");
4
3
  const path = require("path");
5
4
  const types_1 = require("@e-mc/types");
@@ -232,9 +231,5 @@ class AndroidDocument extends Document {
232
231
  return (_a = this.module).settings || (_a.settings = {});
233
232
  }
234
233
  }
235
- exports.default = AndroidDocument;
236
234
 
237
- if (exports.default) {
238
- module.exports = exports.default;
239
- module.exports.default = exports.default;
240
- }
235
+ module.exports = AndroidDocument;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/android",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Android document constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/pi-r#readme",
22
22
  "dependencies": {
23
- "@e-mc/document": "^0.7.2",
24
- "@e-mc/types": "^0.7.2",
23
+ "@e-mc/document": "^0.7.3",
24
+ "@e-mc/types": "^0.7.3",
25
25
  "htmlparser2": "^9.0.0",
26
26
  "which": "^2.0.2"
27
27
  }