diff --git a/_src/_assets/javascripts/page-guides.js b/_src/_assets/javascripts/page-guides.js index af116cf..86aa77c 100644 --- a/_src/_assets/javascripts/page-guides.js +++ b/_src/_assets/javascripts/page-guides.js @@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', (event) => { const buttons = document.querySelectorAll('.highlight .btn--clipboard') buttons.forEach(button => { - const clipboard = new Clipboard(button, { + const clipboard = new ClipboardJS(button, { target: (trigger) => { return trigger.nextElementSibling; } diff --git a/package.json b/package.json index c52143e..30a237f 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ ], "dependencies": { "bigchaindb-driver": "^3.2.0", - "clipboard": "^1.7.1", + "clipboard": "^2.0.0", "gumshoe": "github:cferdinandi/gumshoe", "is-in-viewport": "^3.0.0", "jquery": "^3.3.1", "normalize-css": "^2.3.1", "normalize-opentype.css": "^0.2.4", - "parsleyjs": "^2.8.0", + "parsleyjs": "^2.8.1", "select2": "^4.0.5", "smooth-scroll": "^12.1.5", "svg4everybody": "^2.1.9", @@ -41,7 +41,7 @@ "whatwg-fetch": "^2.0.3" }, "devDependencies": { - "acorn": "^5.4.1", + "acorn": "^5.5.0", "babel-core": "^6.26.0", "babel-preset-env": "^1.6.1", "browser-sync": "^2.23.6", @@ -50,7 +50,7 @@ "cross-spawn": "^6.0.4", "del": "^3.0.0", "gulp": "github:gulpjs/gulp#4.0", - "gulp-autoprefixer": "^4.1.0", + "gulp-autoprefixer": "^5.0.0", "gulp-clean-css": "^3.9.2", "gulp-cli": "^2.0.1", "gulp-concat": "^2.6.1", @@ -63,7 +63,7 @@ "gulp-rename": "^1.2.2", "gulp-replace": "^0.6.1", "gulp-rev": "^8.1.1", - "gulp-rev-replace": "^0.4.3", + "gulp-rev-replace": "^0.4.4", "gulp-sass": "^3.1.0", "gulp-sourcemaps": "^2.6.4", "gulp-svg-sprite": "^1.3.7", @@ -72,9 +72,9 @@ "gulp-zip": "^4.1.0", "js-yaml": "^3.10.0", "request": "^2.83.0", - "stylelint": "^8.4.0", - "stylelint-config-bigchaindb": "^1.2.0", - "stylelint-config-standard": "^18.0.0", + "stylelint": "^9.1.1", + "stylelint-config-bigchaindb": "^1.2.1", + "stylelint-config-standard": "^18.1.0", "uglify-es": "^3.3.9" }, "engines": {