diff --git a/languages/vk-blocks-pro.pot b/languages/vk-blocks-pro.pot index 1cc0faaf2..305fee26d 100644 --- a/languages/vk-blocks-pro.pot +++ b/languages/vk-blocks-pro.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-09-28T04:47:01+00:00\n" +"POT-Creation-Date: 2023-09-28T06:05:56+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: vk-blocks-pro\n" diff --git a/package-lock.json b/package-lock.json index ca13c8ab2..99c755aa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4686,15 +4686,6 @@ "gettext-to-messageformat": "0.3.1" } }, - "node_modules/@rjaros/po2json/node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/@rjaros/po2json/node_modules/gettext-parser": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/gettext-parser/-/gettext-parser-2.0.0.tgz", @@ -11609,9 +11600,9 @@ "dev": true }, "node_modules/commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", "dev": true, "engines": { "node": ">= 6" @@ -15720,6 +15711,15 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/find-process/node_modules/commander": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, "node_modules/find-process/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", diff --git a/src/blocks/_pro/animation/transforms.js b/src/blocks/_pro/animation/transforms.js index 02d9ea836..b8aa75ee7 100644 --- a/src/blocks/_pro/animation/transforms.js +++ b/src/blocks/_pro/animation/transforms.js @@ -6,7 +6,7 @@ import { createBlock } from '@wordpress/blocks'; /** * External dependencies */ -import compareVersions from 'compare-versions'; +import { compareVersions } from 'compare-versions'; // WP6.3以上か NOTE: WP6.2以下をサポートしなくなったら削除すること const isLargerThanWp63 = () => { diff --git a/src/blocks/_pro/blog-card/utils.js b/src/blocks/_pro/blog-card/utils.js index b3da39e8d..c79c33d33 100644 --- a/src/blocks/_pro/blog-card/utils.js +++ b/src/blocks/_pro/blog-card/utils.js @@ -8,7 +8,7 @@ import { createBlock, store as blocksStore } from '@wordpress/blocks'; /** * External dependencies */ -import compareVersions from 'compare-versions'; +import { compareVersions } from 'compare-versions'; // WP6.3以上か NOTE: WP6.2以下をサポートしなくなったら削除すること export const isLargerThanWp63 = () => { diff --git a/src/blocks/bundle.js b/src/blocks/bundle.js index 380e7199f..4e68ece88 100644 --- a/src/blocks/bundle.js +++ b/src/blocks/bundle.js @@ -8,7 +8,7 @@ import { registerBlockType, unstable__bootstrapServerSideBlockDefinitions, // eslint-disable-line camelcase } from '@wordpress/blocks'; -import compareVersions from 'compare-versions'; +import { compareVersions } from 'compare-versions'; import vkblocksPro from './bundle-pro'; /** diff --git a/src/extensions/core/list/style.js b/src/extensions/core/list/style.js index 9d74000ae..25968e19b 100644 --- a/src/extensions/core/list/style.js +++ b/src/extensions/core/list/style.js @@ -21,7 +21,7 @@ import { colorSlugToColorCode } from '@vkblocks/utils/color-slug-to-color-code'; /** * External dependencies */ -import compareVersions from 'compare-versions'; +import { compareVersions } from 'compare-versions'; const isValidBlockType = (name) => { const validBlockTypes = ['core/list'];