eslint-plugin-jsdoc 36.0.7 → 36.0.8
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.
- package/README.md +6 -4
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -4770,10 +4770,12 @@ footprint is a tiny little bit smaller, and the
|
|
|
4770
4770
|
[GC](https://en.wikipedia.org/wiki/Garbage_collection_(computer_science)) has
|
|
4771
4771
|
less work to do.
|
|
4772
4772
|
|
|
4773
|
-
So in a sense, there two types of strings in Javascript
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4773
|
+
So in a sense, there are two types of strings in Javascript:
|
|
4774
|
+
1. `{string}` literals, also called primitives
|
|
4775
|
+
2. `{String}` Objects.
|
|
4776
|
+
|
|
4777
|
+
We use the primitives because it's easier to write and uses less memory.
|
|
4778
|
+
`{String}` and `{string}` are technically both valid, but they are not the same.
|
|
4777
4779
|
|
|
4778
4780
|
```js
|
|
4779
4781
|
new String('lard') // String {0: "l", 1: "a", 2: "r", 3: "d", length: 4}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"url": "http://gajus.com"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@es-joy/jsdoccomment": "0.10.
|
|
9
|
-
"comment-parser": "1.2.
|
|
8
|
+
"@es-joy/jsdoccomment": "0.10.8",
|
|
9
|
+
"comment-parser": "1.2.4",
|
|
10
10
|
"debug": "^4.3.2",
|
|
11
11
|
"esquery": "^1.4.0",
|
|
12
12
|
"jsdoc-type-pratt-parser": "^1.1.1",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"description": "JSDoc linting rules for ESLint.",
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/cli": "^7.14.8",
|
|
21
|
-
"@babel/core": "^7.
|
|
22
|
-
"@babel/eslint-parser": "^7.
|
|
23
|
-
"@babel/node": "^7.14.
|
|
21
|
+
"@babel/core": "^7.15.0",
|
|
22
|
+
"@babel/eslint-parser": "^7.15.0",
|
|
23
|
+
"@babel/node": "^7.14.9",
|
|
24
24
|
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
|
25
25
|
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
|
|
26
|
-
"@babel/preset-env": "^7.
|
|
27
|
-
"@babel/register": "^7.
|
|
26
|
+
"@babel/preset-env": "^7.15.0",
|
|
27
|
+
"@babel/register": "^7.15.3",
|
|
28
28
|
"@hkdobrev/run-if-changed": "^0.3.1",
|
|
29
|
-
"@typescript-eslint/parser": "^4.
|
|
29
|
+
"@typescript-eslint/parser": "^4.29.3",
|
|
30
30
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
31
31
|
"babel-plugin-istanbul": "^6.0.0",
|
|
32
32
|
"chai": "^4.3.4",
|
|
33
33
|
"cross-env": "^7.0.3",
|
|
34
|
-
"eslint": "7.
|
|
34
|
+
"eslint": "7.32.0",
|
|
35
35
|
"eslint-config-canonical": "^26.2.3",
|
|
36
36
|
"gitdown": "^3.1.4",
|
|
37
37
|
"glob": "^7.1.7",
|
|
38
|
-
"husky": "^7.0.
|
|
39
|
-
"lint-staged": "^11.1.
|
|
40
|
-
"mocha": "^9.0
|
|
38
|
+
"husky": "^7.0.2",
|
|
39
|
+
"lint-staged": "^11.1.2",
|
|
40
|
+
"mocha": "^9.1.0",
|
|
41
41
|
"nyc": "^15.1.0",
|
|
42
42
|
"open-editor": "^3.0.0",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
|
-
"semantic-release": "^17.4.
|
|
44
|
+
"semantic-release": "^17.4.6",
|
|
45
45
|
"typescript": "^4.3.5"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": "^12
|
|
48
|
+
"node": "^12 || ^14 || ^16"
|
|
49
49
|
},
|
|
50
50
|
"lint-staged": {
|
|
51
51
|
".eslintignore": "npm run lint",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"functions": 100,
|
|
102
102
|
"statements": 100
|
|
103
103
|
},
|
|
104
|
-
"version": "36.0.
|
|
104
|
+
"version": "36.0.8"
|
|
105
105
|
}
|