mockba 0.3.1 → 0.3.2

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 (3) hide show
  1. package/MOCKBA +1 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/MOCKBA CHANGED
@@ -26,7 +26,7 @@ if(json) {
26
26
  ...(ru?{
27
27
  skip:['страна','регион','местоположение'],
28
28
  translate:'ru',
29
- }:void 0),
29
+ }:null),
30
30
  })
31
31
  }
32
32
 
package/index.js CHANGED
@@ -63,7 +63,7 @@ class MOCKBA extends Moskva {
63
63
  printObj(o,prefix){
64
64
  // период_осреднения =
65
65
  for(var k in o){
66
- if(this.skip.includes(k)) {
66
+ if(this.skip&&this.skip.includes(k)) {
67
67
  continue
68
68
  }
69
69
  var logNl=console.log
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mockba",
3
3
  "homepage": "https://рантайм.москва",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "license": "CC-BY-ND-4.0",
6
6
  "dependencies": {
7
7
  "indicatrix": "^1.4.1",