From bcdc232a2536a40b81d0de81be78dbd3a8133ffd Mon Sep 17 00:00:00 2001 From: Sam Lin Date: Wed, 12 Jun 2019 17:35:11 -0500 Subject: [PATCH] fix: Backward compatibility issue with V7 #193 (#195) --- package.json | 36 ++++++++++++++--------------- projects/ngx-clipboard/package.json | 2 +- yarn.lock | 19 +++++---------- 3 files changed, 25 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 4286468..651e392 100644 --- a/package.json +++ b/package.json @@ -14,27 +14,27 @@ }, "private": true, "dependencies": { - "@angular/animations": "~8.0.0", - "@angular/common": "~8.0.0", - "@angular/compiler": "~8.0.0", - "@angular/core": "~8.0.0", - "@angular/forms": "~8.0.0", - "@angular/platform-browser": "~8.0.0", - "@angular/platform-browser-dynamic": "~8.0.0", - "@angular/router": "~8.0.0", + "@angular/animations": "~7.2.15", + "@angular/common": "~7.2.15", + "@angular/compiler": "~7.2.15", + "@angular/core": "~7.2.15", + "@angular/forms": "~7.2.15", + "@angular/platform-browser": "~7.2.15", + "@angular/platform-browser-dynamic": "~7.2.15", + "@angular/router": "~7.2.15", "core-js": "^2.5.4", - "ngx-clipboard": "12.1.1", - "ngx-window-token": "2.0.1", "rxjs": "~6.5.2", "tslib": "^1.9.0", - "zone.js": "~0.9.1" + "zone.js": "~0.8.26", + "ngx-clipboard": "12.1.2", + "ngx-window-token": "2.0.1" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.800.2", - "@angular-devkit/build-ng-packagr": "~0.800.2", - "@angular/cli": "~8.0.2", - "@angular/compiler-cli": "~8.0.0", - "@angular/language-service": "~8.0.0", + "@angular-devkit/build-angular": "~0.13.9", + "@angular-devkit/build-ng-packagr": "~0.13.9", + "@angular/cli": "~7.3.9", + "@angular/compiler-cli": "~7.2.15", + "@angular/language-service": "~7.2.15", "@types/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", @@ -46,13 +46,13 @@ "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", - "ng-packagr": "^5.3.0", + "ng-packagr": "^4.2.0", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tsickle": ">=0.34.0", "tslib": "^1.9.0", "tslint": "~5.11.0", - "typescript": "~3.4.5", + "typescript": "~3.2.4", "@webcomponents/custom-elements": "^1.2.1", "@clr/ui": "^0.13.6", "@clr/angular": "^0.13.6", diff --git a/projects/ngx-clipboard/package.json b/projects/ngx-clipboard/package.json index a7ffed1..c8451fd 100644 --- a/projects/ngx-clipboard/package.json +++ b/projects/ngx-clipboard/package.json @@ -1,7 +1,7 @@ { "name": "ngx-clipboard", "description": "angular 2 clipboard", - "version": "12.1.1", + "version": "12.1.2", "author": { "name": "Sam Lin", "email": "maxisam@gmail.com" diff --git a/yarn.lock b/yarn.lock index 7659029..58b4f8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5228,28 +5228,21 @@ ng-packagr@^4.2.0: uglify-js "^3.0.7" update-notifier "^2.3.0" -ngx-clipboard@12.0.0-beta.1: - version "12.0.0-beta.1" - resolved "https://registry.yarnpkg.com/ngx-clipboard/-/ngx-clipboard-12.0.0-beta.1.tgz#06638902a1da3378adc0ddc8e305db6186efb6c8" - integrity sha512-5Q0qgFesJWQhecXiswnEJNfftOB+e9Tmxk32GGDwomWIgqd/Xs/cQRBqcDnqVBLsGzJJx8rtRlOaP/Sf0z4Lfg== +ngx-clipboard@12.1.2: + version "12.1.2" + resolved "https://registry.yarnpkg.com/ngx-clipboard/-/ngx-clipboard-12.1.2.tgz#69077d928a20b061ef22b51bd871633bb4d6af0a" + integrity sha512-tctOooh9WWvK7tVKV+CAGN5nNAhnL7oqEoJmJO4TmkHHwVbL0QQFWdWB5yiMYTRQ/ZXV3bCpufiVM8F4clXthw== dependencies: - ngx-window-token "^2.0.0 || >=2.0.0-beta.1" + ngx-window-token "^2.0.0" tslib "^1.9.0" -ngx-window-token@2.0.1: +ngx-window-token@2.0.1, ngx-window-token@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/ngx-window-token/-/ngx-window-token-2.0.1.tgz#8f91221af4116aa9f49bb3f7a6f1111639884fba" integrity sha512-rvqdqJEfnWXQFU5fyfYt06E10tR/UtFOYdF3QebfcOh5VIJhnTKiprX8e4B9OrX7WEVFm9BT8uV72xXcEgsaKA== dependencies: tslib "^1.9.0" -"ngx-window-token@^2.0.0 || >=2.0.0-beta.1": - version "2.0.0-beta.1" - resolved "https://registry.yarnpkg.com/ngx-window-token/-/ngx-window-token-2.0.0-beta.1.tgz#ce775478e06bbc0e609b0c1e415dec74e6fabc9d" - integrity sha512-cbE2LjNS5o3JqL3MQa8dyo47Sk9PgoxTzG/KasLmywMpUJEXjluMmN1/P0yqTTkfaT5+eSFOTMriRwCNegC14w== - dependencies: - tslib "^1.9.0" - nice-try@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"