imdone-core 1.49.0 → 1.49.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.
@@ -57,12 +57,7 @@ module.exports = class ArchivePlugin extends Plugin {
57
57
  ],
58
58
  task.content
59
59
  )
60
- // TODO This should use the CardContentParser to get the raw task
61
- // <!--
62
- // remind:2024-12-11T13:27:44-05:00
63
- // #imdone-1.47.0
64
- // order:-110
65
- // -->
60
+
66
61
  const { tokenPrefix } = config
67
62
  const { beforeText, list } = task
68
63
  const taskStart = getRawTask({tokenPrefix, beforeText, list, text: ''})
@@ -7,7 +7,7 @@ module.exports = class PersistTagsPlugin extends Plugin {
7
7
  }
8
8
 
9
9
  async onBoardUpdate() {
10
- await save(this.project.allTags, this.project.path)
10
+ await save(this.project.allTags.sort(), this.project.path)
11
11
  }
12
12
 
13
13
  }
package/lib/repository.js CHANGED
@@ -1,8 +1,6 @@
1
1
  'use strict'
2
2
 
3
- var _get = require('lodash.get'),
4
- _isObject = require('lodash.isobject'),
5
- _isFunction = require('lodash.isfunction'),
3
+ var _isFunction = require('lodash.isfunction'),
6
4
  _isUndefined = require('lodash.isundefined'),
7
5
  _isString = require('lodash.isstring'),
8
6
  _omit = require('lodash.omit'),
@@ -32,7 +30,6 @@ var _get = require('lodash.get'),
32
30
  sift = require('sift'),
33
31
  fastSort = require('fast-sort/dist/sort.js'),
34
32
  JSONfns = require('json-fns'),
35
- functionRegex = require('function-regex'),
36
33
  Task = require('./task'),
37
34
  newCard = require('./card'),
38
35
  { replaceDateLanguage } = require('./adapters/parsers/DateLanguageParser'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.49.0",
3
+ "version": "1.49.2",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -57,7 +57,6 @@
57
57
  "escape-string-regexp": "^1.0.5",
58
58
  "fast-sort": "^2.2.0",
59
59
  "find-up": "^5.0.0",
60
- "function-regex": "^1.0.2",
61
60
  "gray-matter": "^4.0.2",
62
61
  "ignore": "^5.2.0",
63
62
  "imdone-api": "^1.48.0",
@@ -106,7 +105,7 @@
106
105
  "rimraf": "^3.0.2",
107
106
  "sane": "^4.1.0",
108
107
  "sanitize-filename": "^1.6.3",
109
- "sift": "^13.4.0",
108
+ "sift": "^17.1.3",
110
109
  "simple-git": "^3.19.1",
111
110
  "uniqid": "^5.4.0",
112
111
  "xregexp": "^5.1.0"