theprogrammablemind_4wp 7.5.8-beta.84 → 7.5.8-beta.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/config.js +8 -1
package/package.json CHANGED
@@ -64,6 +64,6 @@
64
64
  "json-stable-stringify": "^1.0.1",
65
65
  "node-fetch": "^2.6.1"
66
66
  },
67
- "version": "7.5.8-beta.84",
67
+ "version": "7.5.8-beta.86",
68
68
  "license": "ISC"
69
69
  }
package/src/config.js CHANGED
@@ -990,6 +990,13 @@ class Config {
990
990
  // things like webpack rewrite the functions if there are constants so this compare does not work
991
991
  delete config.generators
992
992
  delete config.semantics
993
+ (config.bridges || []).forEach((bridge) => {
994
+ delete bridge.generatorp
995
+ delete bridge.generatorr
996
+ delete bridge.generatorpr
997
+ delete bridge.evaluator
998
+ delete bridge.semantic
999
+ })
993
1000
  } else {
994
1001
  config.generators = (config.generators || []).map((generator) => {
995
1002
  generator = {...generator}
@@ -1009,7 +1016,7 @@ class Config {
1009
1016
  bridge = {...bridge}
1010
1017
  delete bridge.where
1011
1018
  if (bridge.generatorp) {
1012
- bridge.generatorp = bridge.generatorp.toString()
1019
+ bridge.generatorp = bridge.generatorp.toString().replace(/(\r\n|\n|\r| )/gm, "");
1013
1020
  }
1014
1021
  if (bridge.generatorr) {
1015
1022
  bridge.generatorr = bridge.generatorr.toString()