From 207b431ccedf4166c9560737e41f9b3e292b7f7a Mon Sep 17 00:00:00 2001 From: Garret Alfert Date: Fri, 3 Dec 2021 23:06:18 +0100 Subject: [PATCH] Use fixed version of ember-gestures addon Fixes a deprecation warning when used with Ember 3.24. Taken from https://github.com/html-next/ember-gestures/pull/137 --- package-lock.json | 329 +++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 299 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index 829219c7..6f321f83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "ember-concurrency": "^2.1.0", "ember-export-application-global": "^2.0.1", "ember-fetch": "^8.1.0", - "ember-gestures": "^2.0.1", + "ember-gestures": "github:lupestro/ember-gestures#ee4bf441c304b7f183b04a28d127dba8c3221f34", "ember-hammertime": "1.6.0", "ember-keyboard-shortcuts": "github:67P/ember-keyboard-shortcuts#feature/octane_classes", "ember-load-initializers": "^2.1.2", @@ -9874,19 +9874,6 @@ "node": "10.* || >= 12" } }, - "node_modules/ember-class-based-modifier": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/ember-class-based-modifier/-/ember-class-based-modifier-0.10.0.tgz", - "integrity": "sha512-GPPOCYmRibGBUfiuq7oHQAGXgM6X8LK2I2crvQadqwbft5PjXDbR6x1xnOQ8TDWeOE0EluahXXOgWgdUVcmaMQ==", - "dev": true, - "dependencies": { - "ember-cli-babel": "^7.10.0", - "ember-modifier-manager-polyfill": "^1.2.0" - }, - "engines": { - "node": "8.* || >= 10.*" - } - }, "node_modules/ember-cli": { "version": "3.24.0", "resolved": "https://registry.npmjs.org/ember-cli/-/ember-cli-3.24.0.tgz", @@ -12009,18 +11996,19 @@ }, "node_modules/ember-gestures": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ember-gestures/-/ember-gestures-2.0.1.tgz", - "integrity": "sha512-f1HU1H3b+lo+W8RGHTMo9pqTNmOaSpf+pC76JkKp0dJJtjfwZ9q78wLfCmC6zZF+gbXginz14Falcsu3/5KsNg==", + "resolved": "git+ssh://git@github.com/lupestro/ember-gestures.git#ee4bf441c304b7f183b04a28d127dba8c3221f34", + "integrity": "sha512-rd1gw1x7sNhtae7CYOxWgKKlA06b+YfNQmiYsuWhFOY8aeEJeEFLCFKlhLtLlYZ2X9V85Ltj/TN24i7UB+l0sA==", "dev": true, + "license": "MIT", "dependencies": { "animation-frame": "~0.2.4", "broccoli-funnel": "^2.0.2", "broccoli-merge-trees": "^3.0.2", - "ember-class-based-modifier": "^0.10.0", "ember-cli-babel": "^7.7.0", "ember-cli-htmlbars": "^2.0.1", "ember-cli-version-checker": "^2.1.0", "ember-copy": "^1.0.0", + "ember-modifier": "^2.1.1", "fastboot-transform": "^0.1.3", "hammerjs": "^2.0.8", "resolve": "^1.10.0" @@ -12029,6 +12017,20 @@ "node": ">= 10.*" } }, + "node_modules/ember-gestures/node_modules/@babel/plugin-transform-typescript": { + "version": "7.8.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.8.7.tgz", + "integrity": "sha512-7O0UsPQVNKqpHeHLpfvOG4uXmlw+MOxYvUv6Otc9uH5SYMIxvF6eBdjkWvC3f9G+VXe0RsNExyAQBeTRug/wqQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-typescript": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/ember-gestures/node_modules/broccoli-persistent-filter": { "version": "1.4.6", "resolved": "https://registry.npmjs.org/broccoli-persistent-filter/-/broccoli-persistent-filter-1.4.6.tgz", @@ -12050,6 +12052,23 @@ "walk-sync": "^0.3.1" } }, + "node_modules/ember-gestures/node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, "node_modules/ember-gestures/node_modules/ember-cli-htmlbars": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/ember-cli-htmlbars/-/ember-cli-htmlbars-2.0.5.tgz", @@ -12065,6 +12084,64 @@ "node": ">= 4.0.0" } }, + "node_modules/ember-gestures/node_modules/ember-cli-typescript": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/ember-cli-typescript/-/ember-cli-typescript-3.1.4.tgz", + "integrity": "sha512-HJ73kL45OGRmIkPhBNFt31I1SGUvdZND+LCH21+qpq3pPlFpJG8GORyXpP+2ze8PbnITNLzwe5AwUrpyuRswdQ==", + "dev": true, + "dependencies": { + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", + "@babel/plugin-proposal-optional-chaining": "^7.6.0", + "@babel/plugin-transform-typescript": "~7.8.0", + "ansi-to-html": "^0.6.6", + "broccoli-stew": "^3.0.0", + "debug": "^4.0.0", + "ember-cli-babel-plugin-helpers": "^1.0.0", + "execa": "^3.0.0", + "fs-extra": "^8.0.0", + "resolve": "^1.5.0", + "rsvp": "^4.8.1", + "semver": "^6.3.0", + "stagehand": "^1.0.0", + "walk-sync": "^2.0.0" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, + "node_modules/ember-gestures/node_modules/ember-cli-typescript/node_modules/rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true, + "engines": { + "node": "6.* || >= 7.*" + } + }, + "node_modules/ember-gestures/node_modules/ember-cli-typescript/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/ember-gestures/node_modules/ember-cli-typescript/node_modules/walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, "node_modules/ember-gestures/node_modules/ember-cli-version-checker": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ember-cli-version-checker/-/ember-cli-version-checker-2.2.0.tgz", @@ -12078,6 +12155,72 @@ "node": ">= 4" } }, + "node_modules/ember-gestures/node_modules/ember-modifier": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ember-modifier/-/ember-modifier-2.1.2.tgz", + "integrity": "sha512-3Lsu1fV1sIGa66HOW07RZc6EHISwKt5VA5AUnFss2HX6OTfpxTJ2qvPctt2Yt0XPQXJ4G6BQasr/F35CX7UGJA==", + "dev": true, + "dependencies": { + "ember-cli-babel": "^7.22.1", + "ember-cli-normalize-entity-name": "^1.0.0", + "ember-cli-string-utils": "^1.1.0", + "ember-cli-typescript": "^3.1.3", + "ember-compatibility-helpers": "^1.2.4", + "ember-destroyable-polyfill": "^2.0.2", + "ember-modifier-manager-polyfill": "^1.2.0" + }, + "engines": { + "node": "10.* || >= 12" + } + }, + "node_modules/ember-gestures/node_modules/execa": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz", + "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "p-finally": "^2.0.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": "^8.12.0 || >=9.7.0" + } + }, + "node_modules/ember-gestures/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/ember-gestures/node_modules/matcher-collection": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/matcher-collection/-/matcher-collection-2.0.1.tgz", + "integrity": "sha512-daE62nS2ZQsDg9raM0IlZzLmI2u+7ZapXBwdoeBUKAYERPDDIc0qNqA8E0Rp2D+gspKR7BgIFP52GeujaGXWeQ==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "minimatch": "^3.0.2" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/ember-gestures/node_modules/mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", @@ -12090,6 +12233,12 @@ "mkdirp": "bin/cmd.js" } }, + "node_modules/ember-gestures/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, "node_modules/ember-gestures/node_modules/rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", @@ -35790,16 +35939,6 @@ "ember-cli-babel-plugin-helpers": "^1.1.1" } }, - "ember-class-based-modifier": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/ember-class-based-modifier/-/ember-class-based-modifier-0.10.0.tgz", - "integrity": "sha512-GPPOCYmRibGBUfiuq7oHQAGXgM6X8LK2I2crvQadqwbft5PjXDbR6x1xnOQ8TDWeOE0EluahXXOgWgdUVcmaMQ==", - "dev": true, - "requires": { - "ember-cli-babel": "^7.10.0", - "ember-modifier-manager-polyfill": "^1.2.0" - } - }, "ember-cli": { "version": "3.24.0", "resolved": "https://registry.npmjs.org/ember-cli/-/ember-cli-3.24.0.tgz", @@ -37543,24 +37682,35 @@ } }, "ember-gestures": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ember-gestures/-/ember-gestures-2.0.1.tgz", - "integrity": "sha512-f1HU1H3b+lo+W8RGHTMo9pqTNmOaSpf+pC76JkKp0dJJtjfwZ9q78wLfCmC6zZF+gbXginz14Falcsu3/5KsNg==", + "version": "git+ssh://git@github.com/lupestro/ember-gestures.git#ee4bf441c304b7f183b04a28d127dba8c3221f34", + "integrity": "sha512-rd1gw1x7sNhtae7CYOxWgKKlA06b+YfNQmiYsuWhFOY8aeEJeEFLCFKlhLtLlYZ2X9V85Ltj/TN24i7UB+l0sA==", "dev": true, + "from": "ember-gestures@github:lupestro/ember-gestures#ee4bf441c304b7f183b04a28d127dba8c3221f34", "requires": { "animation-frame": "~0.2.4", "broccoli-funnel": "^2.0.2", "broccoli-merge-trees": "^3.0.2", - "ember-class-based-modifier": "^0.10.0", "ember-cli-babel": "^7.7.0", "ember-cli-htmlbars": "^2.0.1", "ember-cli-version-checker": "^2.1.0", "ember-copy": "^1.0.0", + "ember-modifier": "^2.1.1", "fastboot-transform": "^0.1.3", "hammerjs": "^2.0.8", "resolve": "^1.10.0" }, "dependencies": { + "@babel/plugin-transform-typescript": { + "version": "7.8.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.8.7.tgz", + "integrity": "sha512-7O0UsPQVNKqpHeHLpfvOG4uXmlw+MOxYvUv6Otc9uH5SYMIxvF6eBdjkWvC3f9G+VXe0RsNExyAQBeTRug/wqQ==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-typescript": "^7.8.3" + } + }, "broccoli-persistent-filter": { "version": "1.4.6", "resolved": "https://registry.npmjs.org/broccoli-persistent-filter/-/broccoli-persistent-filter-1.4.6.tgz", @@ -37582,6 +37732,15 @@ "walk-sync": "^0.3.1" } }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, "ember-cli-htmlbars": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/ember-cli-htmlbars/-/ember-cli-htmlbars-2.0.5.tgz", @@ -37594,6 +37753,54 @@ "strip-bom": "^3.0.0" } }, + "ember-cli-typescript": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/ember-cli-typescript/-/ember-cli-typescript-3.1.4.tgz", + "integrity": "sha512-HJ73kL45OGRmIkPhBNFt31I1SGUvdZND+LCH21+qpq3pPlFpJG8GORyXpP+2ze8PbnITNLzwe5AwUrpyuRswdQ==", + "dev": true, + "requires": { + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", + "@babel/plugin-proposal-optional-chaining": "^7.6.0", + "@babel/plugin-transform-typescript": "~7.8.0", + "ansi-to-html": "^0.6.6", + "broccoli-stew": "^3.0.0", + "debug": "^4.0.0", + "ember-cli-babel-plugin-helpers": "^1.0.0", + "execa": "^3.0.0", + "fs-extra": "^8.0.0", + "resolve": "^1.5.0", + "rsvp": "^4.8.1", + "semver": "^6.3.0", + "stagehand": "^1.0.0", + "walk-sync": "^2.0.0" + }, + "dependencies": { + "rsvp": { + "version": "4.8.5", + "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "requires": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + } + } + } + }, "ember-cli-version-checker": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ember-cli-version-checker/-/ember-cli-version-checker-2.2.0.tgz", @@ -37604,6 +37811,60 @@ "semver": "^5.3.0" } }, + "ember-modifier": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ember-modifier/-/ember-modifier-2.1.2.tgz", + "integrity": "sha512-3Lsu1fV1sIGa66HOW07RZc6EHISwKt5VA5AUnFss2HX6OTfpxTJ2qvPctt2Yt0XPQXJ4G6BQasr/F35CX7UGJA==", + "dev": true, + "requires": { + "ember-cli-babel": "^7.22.1", + "ember-cli-normalize-entity-name": "^1.0.0", + "ember-cli-string-utils": "^1.1.0", + "ember-cli-typescript": "^3.1.3", + "ember-compatibility-helpers": "^1.2.4", + "ember-destroyable-polyfill": "^2.0.2", + "ember-modifier-manager-polyfill": "^1.2.0" + } + }, + "execa": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz", + "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "p-finally": "^2.0.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + } + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "matcher-collection": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/matcher-collection/-/matcher-collection-2.0.1.tgz", + "integrity": "sha512-daE62nS2ZQsDg9raM0IlZzLmI2u+7ZapXBwdoeBUKAYERPDDIc0qNqA8E0Rp2D+gspKR7BgIFP52GeujaGXWeQ==", + "dev": true, + "requires": { + "@types/minimatch": "^3.0.3", + "minimatch": "^3.0.2" + } + }, "mkdirp": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", @@ -37613,6 +37874,12 @@ "minimist": "^1.2.5" } }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, "rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", diff --git a/package.json b/package.json index bf6a59eb..813274da 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "ember-concurrency": "^2.1.0", "ember-export-application-global": "^2.0.1", "ember-fetch": "^8.1.0", - "ember-gestures": "^2.0.1", + "ember-gestures": "github:lupestro/ember-gestures#ee4bf441c304b7f183b04a28d127dba8c3221f34", "ember-hammertime": "1.6.0", "ember-keyboard-shortcuts": "github:67P/ember-keyboard-shortcuts#feature/octane_classes", "ember-load-initializers": "^2.1.2",