Skip to content

Commit

Permalink
removed lodash dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vstirbu committed Aug 13, 2020
1 parent a150ddd commit ae38aa9
Showing 5 changed files with 10 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
.vscode/**
typings/**
test/**
.github
.gitignore
.envrc
jsconfig.json
vsc-extension-quickstart.md
previewer/.cache
previewer/actions
previewer/dev
previewer/node_modules
previewer/src
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.5.5 / 2020-08-13

- removed `lodash` dependency

## 1.5.4 / 2020-08-13

- switched from using hardcoded `vscode-resource` scheme to `Webview.asWebviewUri`
17 changes: 0 additions & 17 deletions docs/2019-04-19-zoom-and-pan.md

This file was deleted.

4 changes: 2 additions & 2 deletions lib/uses-fontawesome.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const _ = require('lodash');
const isNil = (value) => value === nil;

module.exports = (diagram) => {
return !_.isNil(diagram) && !_.isNil(diagram.match(/fa:/));
return !isNil(diagram) && !isNil(diagram.match(/fa:/));
};
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"displayName": "Mermaid Preview",
"description": "Previews Mermaid diagrams in Visual Studio Code",
"license": "MIT",
"version": "1.5.4",
"version": "1.5.5",
"publisher": "vstirbu",
"bugs": {
"url": "https://github.com/vstirbu/vscode-mermaid-preview/issues"
@@ -252,9 +252,7 @@
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {
"lodash": "^4.17.4"
},
"dependencies": {},
"devDependencies": {
"vscode": "^1.1.30"
},

0 comments on commit ae38aa9

Please sign in to comment.