tpmkms_4wp 9.3.0-beta.54 → 9.3.0-beta.55

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 (77) hide show
  1. package/common/animals.js +3 -1
  2. package/common/articles.js +3 -1
  3. package/common/asking.js +3 -1
  4. package/common/avatar.js +3 -1
  5. package/common/characters.js +3 -1
  6. package/common/colors.instance.json +28 -0
  7. package/common/colors.js +3 -1
  8. package/common/comparable.js +3 -1
  9. package/common/concept.js +3 -1
  10. package/common/conjunction.js +3 -1
  11. package/common/countable.js +3 -1
  12. package/common/crew.instance.json +36 -0
  13. package/common/crew.js +3 -1
  14. package/common/currency.js +3 -1
  15. package/common/dateTimeSelectors.instance.json +30 -6
  16. package/common/dateTimeSelectors.js +9 -1
  17. package/common/dates.instance.json +324 -14
  18. package/common/dates.js +18 -6
  19. package/common/dialogues.js +3 -1
  20. package/common/dimension.js +3 -1
  21. package/common/edible.instance.json +56 -0
  22. package/common/edible.js +3 -1
  23. package/common/emotions.js +3 -1
  24. package/common/errors.js +3 -1
  25. package/common/evaluate.js +3 -1
  26. package/common/events.js +3 -1
  27. package/common/fastfood.instance.json +111 -571
  28. package/common/fastfood.js +3 -1
  29. package/common/formulas.js +3 -1
  30. package/common/gdefaults.js +3 -1
  31. package/common/help.js +3 -1
  32. package/common/helpers.js +15 -7
  33. package/common/hierarchy.js +3 -1
  34. package/common/javascript.js +3 -1
  35. package/common/kirk.js +3 -1
  36. package/common/length.js +3 -1
  37. package/common/listener.js +3 -1
  38. package/common/math.js +3 -1
  39. package/common/menus.js +3 -1
  40. package/common/meta.js +3 -1
  41. package/common/nameable.js +3 -1
  42. package/common/negation.js +3 -1
  43. package/common/numbers.js +7 -1
  44. package/common/ordering.js +3 -1
  45. package/common/ordinals.js +3 -1
  46. package/common/people.js +3 -1
  47. package/common/percentages.js +3 -1
  48. package/common/pipboy.instance.json +84 -0
  49. package/common/pipboy.js +1 -1
  50. package/common/pokemon.js +3 -1
  51. package/common/pos.js +3 -1
  52. package/common/pressure.js +3 -1
  53. package/common/properties.js +9 -1
  54. package/common/punctuation.js +3 -1
  55. package/common/reminders.js +1 -1
  56. package/common/reports.instance.json +2 -2
  57. package/common/reports.js +3 -1
  58. package/common/scorekeeper.js +3 -1
  59. package/common/sdefaults.js +3 -1
  60. package/common/self.js +3 -1
  61. package/common/sizeable.js +3 -1
  62. package/common/spock.js +3 -1
  63. package/common/stgame.js +3 -1
  64. package/common/stm.js +1 -1
  65. package/common/tell.js +3 -1
  66. package/common/temperature.instance.json +28 -56
  67. package/common/temperature.js +3 -1
  68. package/common/tester.js +0 -1
  69. package/common/testing.js +0 -1
  70. package/common/time.js +3 -1
  71. package/common/tokenize.js +3 -1
  72. package/common/ui.js +1 -1
  73. package/common/weight.js +3 -1
  74. package/common/wp.instance.json +41 -73
  75. package/common/wp.js +1 -1
  76. package/common/yesno.js +3 -1
  77. package/package.json +2 -2
@@ -5250,36 +5250,6 @@
5250
5250
  0
5251
5251
  ]
5252
5252
  ],
5253
- [
5254
- [
5255
- "celcius",
5256
- 0
5257
- ],
5258
- [
5259
- "divideByOperator",
5260
- 0
5261
- ],
5262
- [
5263
- "equals",
5264
- 0
5265
- ],
5266
- [
5267
- "fahrenheit",
5268
- 0
5269
- ],
5270
- [
5271
- "integer",
5272
- 0
5273
- ],
5274
- [
5275
- "plusOperator",
5276
- 0
5277
- ],
5278
- [
5279
- "timesOperator",
5280
- 0
5281
- ]
5282
- ],
5283
5253
  [
5284
5254
  [
5285
5255
  "celcius",
@@ -7850,6 +7820,10 @@
7850
7820
  "equals",
7851
7821
  0
7852
7822
  ],
7823
+ [
7824
+ "fahrenheit",
7825
+ 0
7826
+ ],
7853
7827
  [
7854
7828
  "integer",
7855
7829
  0
@@ -7896,6 +7870,10 @@
7896
7870
  "leftParenthesis",
7897
7871
  0
7898
7872
  ],
7873
+ [
7874
+ "minusOperator",
7875
+ 0
7876
+ ],
7899
7877
  [
7900
7878
  "plusOperator",
7901
7879
  0
@@ -7934,6 +7912,10 @@
7934
7912
  "plusOperator",
7935
7913
  0
7936
7914
  ],
7915
+ [
7916
+ "rightParenthesis",
7917
+ 0
7918
+ ],
7937
7919
  [
7938
7920
  "timesOperator",
7939
7921
  0
@@ -7956,6 +7938,10 @@
7956
7938
  "integer",
7957
7939
  0
7958
7940
  ],
7941
+ [
7942
+ "leftParenthesis",
7943
+ 0
7944
+ ],
7959
7945
  [
7960
7946
  "plusOperator",
7961
7947
  0
@@ -9459,10 +9445,22 @@
9459
9445
  "integer",
9460
9446
  0
9461
9447
  ],
9448
+ [
9449
+ "leftParenthesis",
9450
+ 0
9451
+ ],
9452
+ [
9453
+ "minusOperator",
9454
+ 0
9455
+ ],
9462
9456
  [
9463
9457
  "plusOperator",
9464
9458
  0
9465
9459
  ],
9460
+ [
9461
+ "rightParenthesis",
9462
+ 0
9463
+ ],
9466
9464
  [
9467
9465
  "timesOperator",
9468
9466
  0
@@ -9652,32 +9650,6 @@
9652
9650
  0
9653
9651
  ]
9654
9652
  ],
9655
- [
9656
- [
9657
- "celcius",
9658
- 0
9659
- ],
9660
- [
9661
- "divideByOperator",
9662
- 0
9663
- ],
9664
- [
9665
- "equals",
9666
- 0
9667
- ],
9668
- [
9669
- "integer",
9670
- 0
9671
- ],
9672
- [
9673
- "plusOperator",
9674
- 0
9675
- ],
9676
- [
9677
- "timesOperator",
9678
- 0
9679
- ]
9680
- ],
9681
9653
  [
9682
9654
  [
9683
9655
  "celcius",
@@ -23,7 +23,9 @@ knowledgeModule({
23
23
  test: {
24
24
  name: './temperature.test.json',
25
25
  contents: temperature_tests,
26
- checks: defaultContextCheck(),
26
+ checks: {
27
+ context: [defaultContextCheck()],
28
+ },
27
29
  },
28
30
  template: {
29
31
  template,
package/common/tester.js CHANGED
@@ -1,5 +1,4 @@
1
1
  const { knowledgeModule, where } = require('./runtime').theprogrammablemind
2
- const { defaultContextCheck } = require('./helpers')
3
2
  const tester_tests = require('./tester.test.json')
4
3
  const ArgumentParser = require('argparse').ArgumentParser
5
4
 
package/common/testing.js CHANGED
@@ -1,5 +1,4 @@
1
1
  const { knowledgeModule, where } = require('./runtime').theprogrammablemind
2
- const { defaultContextCheck } = require('./helpers')
3
2
  const testing_tests = require('./testing.test.json')
4
3
  const gdefaults = require('./gdefaults')
5
4
 
package/common/time.js CHANGED
@@ -220,6 +220,8 @@ knowledgeModule({
220
220
  test: {
221
221
  name: './time.test.json',
222
222
  contents: time_tests,
223
- checks: defaultContextCheck(['one', 'two', 'events', 'time', 'ampm']),
223
+ checks: {
224
+ context: [defaultContextCheck({ extra: ['one', 'two', 'events', 'time', 'ampm'] })],
225
+ }
224
226
  },
225
227
  })
@@ -40,6 +40,8 @@ knowledgeModule( {
40
40
  test: {
41
41
  name: './tokenize.test.json',
42
42
  contents: tokenize_tests,
43
- checks: defaultContextCheck(),
43
+ checks: {
44
+ context: [defaultContextCheck()],
45
+ },
44
46
  },
45
47
  })
package/common/ui.js CHANGED
@@ -190,7 +190,7 @@ knowledgeModule({
190
190
  contents: ui_tests,
191
191
  checks: {
192
192
  objects: ['move', 'select', 'unselect', 'cancel', 'stop'],
193
- ...defaultContextCheck(['operator', 'direction', 'moveable']),
193
+ context: [defaultContextCheck({ extra: ['operator', 'direction', 'moveable'] })],
194
194
  },
195
195
  },
196
196
  template: {
package/common/weight.js CHANGED
@@ -44,7 +44,9 @@ knowledgeModule({
44
44
  test: {
45
45
  name: './weight.test.json',
46
46
  contents: weight_tests,
47
- checks: defaultContextCheck(),
47
+ checks: {
48
+ context: [defaultContextCheck()],
49
+ }
48
50
  },
49
51
  template: {
50
52
  template,
@@ -6629,28 +6629,6 @@
6629
6629
  0
6630
6630
  ]
6631
6631
  ],
6632
- [
6633
- [
6634
- "countable",
6635
- 0
6636
- ],
6637
- [
6638
- "distributable",
6639
- 0
6640
- ],
6641
- [
6642
- "is",
6643
- 0
6644
- ],
6645
- [
6646
- "list",
6647
- 1
6648
- ],
6649
- [
6650
- "unknown",
6651
- 0
6652
- ]
6653
- ],
6654
6632
  [
6655
6633
  [
6656
6634
  "countable",
@@ -14044,28 +14022,6 @@
14044
14022
  0
14045
14023
  ]
14046
14024
  ],
14047
- [
14048
- [
14049
- "countable",
14050
- 0
14051
- ],
14052
- [
14053
- "distributable",
14054
- 0
14055
- ],
14056
- [
14057
- "is",
14058
- 0
14059
- ],
14060
- [
14061
- "list",
14062
- 1
14063
- ],
14064
- [
14065
- "unknown",
14066
- 0
14067
- ]
14068
- ],
14069
14025
  [
14070
14026
  [
14071
14027
  "countable",
@@ -24824,6 +24780,20 @@
24824
24780
  0
24825
24781
  ]
24826
24782
  ],
24783
+ [
24784
+ [
24785
+ "is",
24786
+ 0
24787
+ ],
24788
+ [
24789
+ "list",
24790
+ 1
24791
+ ],
24792
+ [
24793
+ "unknown",
24794
+ 0
24795
+ ]
24796
+ ],
24827
24797
  [
24828
24798
  [
24829
24799
  "is",
@@ -48286,6 +48256,20 @@
48286
48256
  0
48287
48257
  ]
48288
48258
  ],
48259
+ [
48260
+ [
48261
+ "is",
48262
+ 0
48263
+ ],
48264
+ [
48265
+ "list",
48266
+ 1
48267
+ ],
48268
+ [
48269
+ "unknown",
48270
+ 0
48271
+ ]
48272
+ ],
48289
48273
  [
48290
48274
  [
48291
48275
  "is",
@@ -54730,10 +54714,6 @@
54730
54714
  "countable",
54731
54715
  0
54732
54716
  ],
54733
- [
54734
- "distributable",
54735
- 0
54736
- ],
54737
54717
  [
54738
54718
  "is",
54739
54719
  0
@@ -54752,10 +54732,6 @@
54752
54732
  "countable",
54753
54733
  0
54754
54734
  ],
54755
- [
54756
- "distributable",
54757
- 0
54758
- ],
54759
54735
  [
54760
54736
  "is",
54761
54737
  0
@@ -54789,16 +54765,20 @@
54789
54765
  ],
54790
54766
  [
54791
54767
  [
54792
- "countable",
54768
+ "is",
54793
54769
  0
54794
54770
  ],
54795
54771
  [
54796
- "is",
54772
+ "italicized_wp",
54797
54773
  0
54798
54774
  ],
54799
54775
  [
54800
54776
  "list",
54801
- 1
54777
+ 0
54778
+ ],
54779
+ [
54780
+ "underlined_wp",
54781
+ 0
54802
54782
  ],
54803
54783
  [
54804
54784
  "unknown",
@@ -54807,16 +54787,16 @@
54807
54787
  ],
54808
54788
  [
54809
54789
  [
54810
- "countable",
54790
+ "is",
54811
54791
  0
54812
54792
  ],
54813
54793
  [
54814
- "is",
54794
+ "list",
54815
54795
  0
54816
54796
  ],
54817
54797
  [
54818
- "list",
54819
- 1
54798
+ "underlined_wp",
54799
+ 0
54820
54800
  ],
54821
54801
  [
54822
54802
  "unknown",
@@ -54828,17 +54808,9 @@
54828
54808
  "is",
54829
54809
  0
54830
54810
  ],
54831
- [
54832
- "italicized_wp",
54833
- 0
54834
- ],
54835
54811
  [
54836
54812
  "list",
54837
- 0
54838
- ],
54839
- [
54840
- "underlined_wp",
54841
- 0
54813
+ 1
54842
54814
  ],
54843
54815
  [
54844
54816
  "unknown",
@@ -54852,11 +54824,7 @@
54852
54824
  ],
54853
54825
  [
54854
54826
  "list",
54855
- 0
54856
- ],
54857
- [
54858
- "underlined_wp",
54859
- 0
54827
+ 1
54860
54828
  ],
54861
54829
  [
54862
54830
  "unknown",
package/common/wp.js CHANGED
@@ -423,7 +423,7 @@ knowledgeModule({
423
423
  name: './wp.test.json',
424
424
  contents: wp_tests,
425
425
  checks: {
426
- ...defaultContextCheck(['distributer', 'subject', 'element', 'letters', 'target', 'conditions' ]),
426
+ context: [defaultContextCheck({ extra: ['distributer', 'subject', 'element', 'letters', 'target', 'conditions' ] })],
427
427
  objects: [
428
428
  'changeState',
429
429
  { km: 'ui' },
package/common/yesno.js CHANGED
@@ -31,7 +31,9 @@ knowledgeModule( {
31
31
  test: {
32
32
  name: './yesno.test.json',
33
33
  contents: yesno_tests,
34
- checks: defaultContextCheck(),
34
+ checks: {
35
+ context: [defaultContextCheck()],
36
+ }
35
37
  },
36
38
  })
37
39
 
package/package.json CHANGED
@@ -341,8 +341,8 @@
341
341
  "scriptjs": "^2.5.9",
342
342
  "table": "^6.7.1",
343
343
  "uuid": "^9.0.0",
344
- "theprogrammablemind_4wp": "9.3.0-beta.54"
344
+ "theprogrammablemind_4wp": "9.3.0-beta.55"
345
345
  },
346
- "version": "9.3.0-beta.54",
346
+ "version": "9.3.0-beta.55",
347
347
  "license": "UNLICENSED"
348
348
  }