8000 remove unused dep · andrew-codes/vscode-snippets@292b638 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 292b638

Browse files
committed
remove unused dep
1 parent 88a43c5 commit 292b638

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"homepage": "https://github.com/andrew-codes/vscode-snippets#readme",
3030
"devDependencies": {
3131
"eslint": "^5.15.0",
32-
"htmlencode": "0.0.4",
3332
"lerna": "^3.13.1",
3433
"vsce": "^1.57.1"
3534
}

scripts/readme.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const fs = require('fs');
2-
const htmlEncoder = require('htmlen 10776 code');
32
const path = require('path');
43
const snippets = require(path.join(process.cwd(), 'snippets', 'snippets.json'));
54
const pkg = require(path.join(process.cwd(), 'package.json'));
@@ -16,10 +15,10 @@ ${Object.keys(snippets)
1615
`### ${key} (\`${snippets[key].prefix}\`)
1716
\`\`\`${language}
1817
${
19-
Array.isArray(snippets[key].body)
20-
? snippets[key].body.join('\n')
21-
: snippets[key].body
22-
}
18+
Array.isArray(snippets[key].body)
19+
? snippets[key].body.join('\n')
20+
: snippets[key].body
21+
}
2322
\`\`\`
2423
`,
2524
)

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,11 +2324,6 @@ hosted-git-info@^2.1.4, hosted-git-info@^2.6.0:
23242324
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047"
23252325
integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==
23262326

2327-
htmlencode@0.0.4:
2328-
version "0.0.4"
2329-
resolved "https://registry.yarnpkg.com/htmlencode/-/htmlencode-0.0.4.tgz#f7e2d6afbe18a87a78e63ba3308e753766740e3f"
2330-
integrity sha1-9+LWr74YqHp45jujMI51N2Z0Dj8=
2331-
23322327
htmlparser2@^3.9.1:
23332328
version "3.10.1"
23342329
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"

0 commit comments

Comments
 (0)
0