diff --git a/CHANGELOG.md b/CHANGELOG.md index 68d98be38..9ebdf7246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v1.10.23 + +- fix: transform nullish coalescing; fix symbol-tree build + ## v1.10.22 - fix(actions/gesture): fix error when inertia is enabled for gestures #995 diff --git a/babel.config.js b/babel.config.js index 15bb96337..5bfb48baf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -21,6 +21,7 @@ module.exports = { isProd && require.resolve('./scripts/babel/for-of-array'), isProd && require.resolve('@babel/plugin-proposal-optional-catch-binding'), isProd && [require.resolve('@babel/plugin-proposal-optional-chaining'), { loose: true }], + isProd && [require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'), { loose: true }], [require.resolve('@babel/plugin-transform-modules-commonjs'), { noInterop: isProd }], ].filter(Boolean), } diff --git a/package.json b/package.json index c845b9264..990e40721 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/_dev", - "version": "1.10.22", + "version": "1.10.23", "private": true, "directories": { "bin": "./bin" @@ -42,11 +42,11 @@ "@typescript-eslint/eslint-plugin-tslint": "^5.27.1", "@typescript-eslint/parser": "^5.27.1", "@vitejs/plugin-vue": "^2.3.3", - "@vue/babel-plugin-jsx": "^1.1.1", - "@vue/compiler-sfc": "^3.3.4", - "@vue/reactivity": "^3.3.4", - "@vue/runtime-dom": "^3.3.4", - "@vue/test-utils": "^2.4.1", + "@vue/babel-plugin-jsx": "^1.1.5", + "@vue/compiler-sfc": "^3.3.8", + "@vue/reactivity": "^3.3.8", + "@vue/runtime-dom": "^3.3.8", + "@vue/test-utils": "^2.4.2", "babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-plugin-syntax-jsx": "^6.18.0", "babelify": "^10.0.0", @@ -99,7 +99,7 @@ "typescript": "^4.7.3", "vijest": "^0.0.1", "vite": "^4.1.4", - "vue": "^3.3.4", + "vue": "^3.3.8", "yargs": "^17.5.1" }, "engines": { diff --git a/packages/@interactjs/actions/package.json b/packages/@interactjs/actions/package.json index bc8a10db2..f3fd0aaef 100644 --- a/packages/@interactjs/actions/package.json +++ b/packages/@interactjs/actions/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/actions", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/actions" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/auto-scroll/package.json b/packages/@interactjs/auto-scroll/package.json index 44f30fb42..f8dc4e9f8 100644 --- a/packages/@interactjs/auto-scroll/package.json +++ b/packages/@interactjs/auto-scroll/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/auto-scroll", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,10 +10,10 @@ "directory": "packages/@interactjs/auto-scroll" }, "peerDependencies": { - "@interactjs/utils": "1.10.22" + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/auto-start/package.json b/packages/@interactjs/auto-start/package.json index 54a240b53..81f9490b0 100644 --- a/packages/@interactjs/auto-start/package.json +++ b/packages/@interactjs/auto-start/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/auto-start", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/auto-start" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/core/package.json b/packages/@interactjs/core/package.json index 256d13acf..6d58f3ec5 100644 --- a/packages/@interactjs/core/package.json +++ b/packages/@interactjs/core/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/core", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,7 +10,7 @@ "directory": "packages/@interactjs/core" }, "peerDependencies": { - "@interactjs/utils": "1.10.22" + "@interactjs/utils": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/dev-tools/package.json b/packages/@interactjs/dev-tools/package.json index 19da9b767..08919dd01 100644 --- a/packages/@interactjs/dev-tools/package.json +++ b/packages/@interactjs/dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/dev-tools", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/dev-tools" }, "peerDependencies": { - "@interactjs/modifiers": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/modifiers": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "devDependencies": { "vue": "next" diff --git a/packages/@interactjs/inertia/package.json b/packages/@interactjs/inertia/package.json index 03f0b60a5..b82b68340 100644 --- a/packages/@interactjs/inertia/package.json +++ b/packages/@interactjs/inertia/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/inertia", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,15 +10,15 @@ "directory": "packages/@interactjs/inertia" }, "dependencies": { - "@interactjs/offset": "1.10.22" + "@interactjs/offset": "1.10.23" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/modifiers": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/modifiers": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/interact/package.json b/packages/@interactjs/interact/package.json index 8dbba68d3..3517ae44a 100644 --- a/packages/@interactjs/interact/package.json +++ b/packages/@interactjs/interact/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/interact", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,8 +10,8 @@ "directory": "packages/@interactjs/interact" }, "dependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/interactjs/package.json b/packages/@interactjs/interactjs/package.json index b2fa074f6..772dfaea0 100644 --- a/packages/@interactjs/interactjs/package.json +++ b/packages/@interactjs/interactjs/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/interactjs", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -9,26 +9,26 @@ "url": "https://github.com/taye/interact.js.git" }, "dependencies": { - "@interactjs/actions": "1.10.22", - "@interactjs/arrange": "1.10.22", - "@interactjs/auto-scroll": "1.10.22", - "@interactjs/auto-start": "1.10.22", - "@interactjs/clone": "1.10.22", - "@interactjs/core": "1.10.22", - "@interactjs/dev-tools": "1.10.22", - "@interactjs/feedback": "1.10.22", - "@interactjs/inertia": "1.10.22", - "@interactjs/interact": "1.10.22", - "@interactjs/modifiers": "1.10.22", - "@interactjs/multi-target": "1.10.22", - "@interactjs/offset": "1.10.22", - "@interactjs/pointer-events": "1.10.22", - "@interactjs/react": "1.10.22", - "@interactjs/rebound": "1.10.22", - "@interactjs/symbol-tree": "1.10.22", - "@interactjs/reflow": "1.10.22", - "@interactjs/utils": "1.10.22", - "@interactjs/vue": "1.10.22" + "@interactjs/actions": "1.10.23", + "@interactjs/arrange": "1.10.23", + "@interactjs/auto-scroll": "1.10.23", + "@interactjs/auto-start": "1.10.23", + "@interactjs/clone": "1.10.23", + "@interactjs/core": "1.10.23", + "@interactjs/dev-tools": "1.10.23", + "@interactjs/feedback": "1.10.23", + "@interactjs/inertia": "1.10.23", + "@interactjs/interact": "1.10.23", + "@interactjs/modifiers": "1.10.23", + "@interactjs/multi-target": "1.10.23", + "@interactjs/offset": "1.10.23", + "@interactjs/pointer-events": "1.10.23", + "@interactjs/react": "1.10.23", + "@interactjs/rebound": "1.10.23", + "@interactjs/symbol-tree": "1.10.23", + "@interactjs/reflow": "1.10.23", + "@interactjs/utils": "1.10.23", + "@interactjs/vue": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/modifiers/package.json b/packages/@interactjs/modifiers/package.json index ecec615c5..285aa7f38 100644 --- a/packages/@interactjs/modifiers/package.json +++ b/packages/@interactjs/modifiers/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/modifiers", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,15 +10,15 @@ "directory": "packages/@interactjs/modifiers" }, "dependencies": { - "@interactjs/snappers": "1.10.22" + "@interactjs/snappers": "1.10.23" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/rebound": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/rebound": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/offset/package.json b/packages/@interactjs/offset/package.json index 020f66759..5225c151a 100644 --- a/packages/@interactjs/offset/package.json +++ b/packages/@interactjs/offset/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/offset", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/offset" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/pointer-events/package.json b/packages/@interactjs/pointer-events/package.json index ed9ae89f4..c365470b1 100644 --- a/packages/@interactjs/pointer-events/package.json +++ b/packages/@interactjs/pointer-events/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/pointer-events", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/pointer-events" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/reflow/package.json b/packages/@interactjs/reflow/package.json index 838ede74e..4175b09f8 100644 --- a/packages/@interactjs/reflow/package.json +++ b/packages/@interactjs/reflow/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/reflow", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,11 +10,11 @@ "directory": "packages/@interactjs/reflow" }, "peerDependencies": { - "@interactjs/core": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/core": "1.10.23", + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/snappers/package.json b/packages/@interactjs/snappers/package.json index 9f34c93c9..e37c533b9 100644 --- a/packages/@interactjs/snappers/package.json +++ b/packages/@interactjs/snappers/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/snappers", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -10,10 +10,10 @@ "directory": "packages/@interactjs/snappers" }, "peerDependencies": { - "@interactjs/utils": "1.10.22" + "@interactjs/utils": "1.10.23" }, "optionalDependencies": { - "@interactjs/interact": "1.10.22" + "@interactjs/interact": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/types/package.json b/packages/@interactjs/types/package.json index 63a82473c..defb425ff 100644 --- a/packages/@interactjs/types/package.json +++ b/packages/@interactjs/types/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/types", - "version": "1.10.22", + "version": "1.10.23", "main": "index", "module": "index", "type": "module", @@ -11,20 +11,20 @@ }, "typings": "typings.d.ts", "devDependencies": { - "@interactjs/actions": "1.10.22", - "@interactjs/arrange": "1.10.22", - "@interactjs/auto-scroll": "1.10.22", - "@interactjs/auto-start": "1.10.22", - "@interactjs/core": "1.10.22", - "@interactjs/dev-tools": "1.10.22", - "@interactjs/inertia": "1.10.22", - "@interactjs/interact": "1.10.22", - "@interactjs/interactjs": "1.10.22", - "@interactjs/modifiers": "1.10.22", - "@interactjs/pointer-events": "1.10.22", - "@interactjs/reflow": "1.10.22", - "@interactjs/snappers": "1.10.22", - "@interactjs/utils": "1.10.22" + "@interactjs/actions": "1.10.23", + "@interactjs/arrange": "1.10.23", + "@interactjs/auto-scroll": "1.10.23", + "@interactjs/auto-start": "1.10.23", + "@interactjs/core": "1.10.23", + "@interactjs/dev-tools": "1.10.23", + "@interactjs/inertia": "1.10.23", + "@interactjs/interact": "1.10.23", + "@interactjs/interactjs": "1.10.23", + "@interactjs/modifiers": "1.10.23", + "@interactjs/pointer-events": "1.10.23", + "@interactjs/reflow": "1.10.23", + "@interactjs/snappers": "1.10.23", + "@interactjs/utils": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/@interactjs/utils/package.json b/packages/@interactjs/utils/package.json index aba4baa44..b7e4d8721 100644 --- a/packages/@interactjs/utils/package.json +++ b/packages/@interactjs/utils/package.json @@ -1,6 +1,6 @@ { "name": "@interactjs/utils", - "version": "1.10.22", + "version": "1.10.23", "type": "module", "repository": { "type": "git", @@ -8,8 +8,8 @@ "directory": "packages/@interactjs/utils" }, "peerDependencies": { - "@interactjs/feedback": "1.10.22", - "@interactjs/symbol-tree": "1.10.22" + "@interactjs/feedback": "1.10.23", + "@interactjs/symbol-tree": "1.10.23" }, "publishConfig": { "access": "public" diff --git a/packages/interactjs/package.json b/packages/interactjs/package.json index f1451adb6..239ea48a2 100644 --- a/packages/interactjs/package.json +++ b/packages/interactjs/package.json @@ -1,6 +1,6 @@ { "name": "interactjs", - "version": "1.10.22", + "version": "1.10.23", "main": "dist/interact.min.js", "typings": "index.d.ts", "description": "Drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)", @@ -38,7 +38,7 @@ "test": "cd ../; npm test" }, "dependencies": { - "@interactjs/types": "1.10.22" + "@interactjs/types": "1.10.23" }, "sideEffects": [ "**/index.js",