Skip to content

Commit

Permalink
Upgrade dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodvc committed Jun 13, 2019
1 parent 4e99c3c commit ba1c81c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bower_components/
node_modules/
*.iml
8 changes: 6 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "angular-markdown-directive",
"version": "0.3.1",
"version": "0.4.0",
"main": "markdown.js",
"dependencies": {
"angular": "^1.0.8",
"angular-sanitize": "^1.0.8",
"showdown": "~0.3.1"
"showdown": "~1.2.2",
"showdown-twitter": "~1.0.1"
},
"devDependencies": {
"angular-mocks": "^1.0.8"
},
"resolutions": {
"showdown": "~1.2.2"
}
}
3 changes: 1 addition & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module.exports = function (config) {
'bower_components/angular/angular.js',
'bower_components/angular-sanitize/angular-sanitize.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/showdown/src/showdown.js',
'bower_components/showdown/src/extensions/*.js',
'bower_components/showdown/dist/showdown.js',
'markdown.js',
'*.spec.js'
],
Expand Down
4 changes: 2 additions & 2 deletions markdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* angular-markdown-directive v0.3.1
* angular-markdown-directive v0.4.0
* (c) 2013-2014 Brian Ford http://briantford.com
* License: MIT
*/
Expand All @@ -14,7 +14,7 @@ angular.module('btford.markdown', ['ngSanitize']).
opts = newOpts;
},
$get: function () {
return new Showdown.converter(opts);
return new showdown.Converter(opts);
}
};
}).
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-markdown-directive",
"version": "0.3.1",
"version": "0.4.0",
"description": "simple AngularJS markdown directive with showdown",
"main": "markdown.js",
"scripts": {
Expand All @@ -23,9 +23,10 @@
},
"homepage": "https://github.com/btford/angular-markdown-directive",
"devDependencies": {
"karma": "^0.12.9",
"karma-jasmine": "^0.1.5",
"karma": "^0.13.9",
"jasmine-core": "^2.3.4",
"karma-jasmine": "^0.3.6",
"karma-firefox-launcher": "^0.1.3",
"karma-chrome-launcher": "^0.1.3"
"karma-chrome-launcher": "^0.2.0"
}
}

0 comments on commit ba1c81c

Please sign in to comment.