tpmkms_4wp 8.9.1-beta.6 → 8.9.1-beta.7

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/common/wp.js +4 -2
  2. package/package.json +11 -6
package/common/wp.js CHANGED
@@ -16,9 +16,12 @@ const instance = require('./wp.instance.json')
16
16
 
17
17
  after
18
18
  bold the first word of every paragraph
19
+ bold the first word of the second and third paragraph
20
+ bold the first word of the second paragraph and third paragraph
19
21
  bold the first letter of every word
20
22
  bold the first letter of every word that starts with t
21
23
  bold the first letter of the words that start with t in the third paragraph
24
+ bold the paragraph that contains words that start with t
22
25
 
23
26
  after
24
27
  make the words that start with t blue
@@ -119,10 +122,10 @@ let config = {
119
122
 
120
123
  const changeState = ({api, isA, context, toArray, element, state}) => {
121
124
  let scope
122
- let conditions = []
123
125
 
124
126
  const getElement = (selector, update) => {
125
127
  const unit = root(selector.marker)
128
+ let conditions = []
126
129
  let scope;
127
130
  const condition = []
128
131
  if (selector.ordinal) {
@@ -154,7 +157,6 @@ const changeState = ({api, isA, context, toArray, element, state}) => {
154
157
  }
155
158
 
156
159
  if (selector.context) {
157
- debugger
158
160
  for (const context of toArray(selector.context)) {
159
161
  getElement(context, update)
160
162
  }
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "devDependencies": {
3
+ "@eslint/js": "^9.21.0",
3
4
  "argparse": "^2.0.1",
5
+ "eslint": "^9.21.0",
6
+ "globals": "^16.0.0",
4
7
  "jest": "^29.7.0"
5
8
  },
6
9
  "scripts": {
10
+ "lint:fix": "eslint \"**/*.js\" --fix",
11
+ "lint": "eslint \"**/*.js\"",
7
12
  "tod": "node inspect node_modules/.bin/jest --runInBand -t NEO23",
8
13
  "test:debug": "node inspect node_modules/.bin/jest --runInBand --config ./jest.config.json",
9
14
  "to": "node node_modules/.bin/jest --runInBand -t NEO23",
@@ -305,18 +310,18 @@
305
310
  ],
306
311
  "author": "dev@thinktelligence.com",
307
312
  "dependencies": {
308
- "object-path": "^0.11.8",
313
+ "argparse": "^2.0.1",
314
+ "base-64": "^1.0.0",
309
315
  "deep-equal": "^2.0.5",
310
- "uuid": "^9.0.0",
311
316
  "lodash": "^4.17.21",
312
317
  "node-fetch": "^2.6.1",
318
+ "object-path": "^0.11.8",
313
319
  "pluralize": "^8.0.0",
314
320
  "scriptjs": "^2.5.9",
315
321
  "table": "^6.7.1",
316
- "base-64": "^1.0.0",
317
- "argparse": "^2.0.1",
318
- "theprogrammablemind_4wp": "8.9.1-beta.6"
322
+ "uuid": "^9.0.0",
323
+ "theprogrammablemind_4wp": "8.9.1-beta.7"
319
324
  },
320
- "version": "8.9.1-beta.6",
325
+ "version": "8.9.1-beta.7",
321
326
  "license": "UNLICENSED"
322
327
  }