esoftplay 0.0.152 → 0.0.154

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/bin/cli.js +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -291,7 +291,7 @@ function switchStatusAssets(status) {
291
291
  const data = oldscript.match(new RegExp(/^\/\/\s{0,}export\s{1}default/gm))
292
292
  let newData = data;
293
293
  if (data && data.length > 0) {
294
- newData = oldscript.replace((new RegExp(/^\/\//gm)), "")
294
+ newData = oldscript.replace((new RegExp(/^\/\/\s{0,1}/gm)), "")
295
295
  fs.writeFileSync(to, newData)
296
296
  } else {
297
297
  command('cp ' + from + ' ' + to)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.152",
3
+ "version": "0.0.154",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",