diff --git a/.changeset/clean-monkeys-check.md b/.changeset/clean-monkeys-check.md new file mode 100644 index 00000000000..10da4256184 --- /dev/null +++ b/.changeset/clean-monkeys-check.md @@ -0,0 +1,8 @@ +--- +'braid-design-system': patch +--- + +Dependency updates: +- `dedent`: `^1.5.1` +- `clsx`: `^2.1.1` +- `is-mobile`: `^4.0.0` diff --git a/packages/braid-design-system/package.json b/packages/braid-design-system/package.json index de55474d166..0b604a86149 100644 --- a/packages/braid-design-system/package.json +++ b/packages/braid-design-system/package.json @@ -188,20 +188,17 @@ "@capsizecss/core": "^4.1.2", "@capsizecss/metrics": "^3.0.0", "@capsizecss/vanilla-extract": "^2.0.0", - "@types/autosuggest-highlight": "^3.1.1", - "@types/dedent": "^0.7.0", - "@types/lodash": "^4.14.168", "@vanilla-extract/css": "^1.9.2", "@vanilla-extract/css-utils": "^0.1.3", "@vanilla-extract/dynamic": "^2.0.3", "@vanilla-extract/sprinkles": "^1.5.1", "assert": "^2.0.0", "autosuggest-highlight": "^3.1.1", - "clsx": "^1.1.1", + "clsx": "^2.1.1", "csstype": "^3.0.6", - "dedent": "^0.7.0", + "dedent": "^1.5.3", "gradient-parser": "^1.0.0", - "is-mobile": "^2.2.2", + "is-mobile": "^4.0.0", "lodash": "^4.17.21", "polished": "^4.1.0", "react-focus-lock": "^2.9.7", @@ -222,8 +219,10 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^15.0.0", "@testing-library/user-event": "^14.4.3", + "@types/autosuggest-highlight": "^3.1.1", "@types/babel__core": "^7.20.1", "@types/jest": "^29.0.0", + "@types/lodash": "^4.14.168", "@types/node": "^18.13.0", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", diff --git a/packages/codemod/package.json b/packages/codemod/package.json index 241d7125371..acb98e09682 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -23,7 +23,7 @@ "chalk": "^5.0.1", "cli-highlight": "^2.1.11", "cli-progress": "^3.11.1", - "dedent": "^0.7.0", + "dedent": "^1.5.3", "esbuild": "^0.19.2", "fast-glob": "^3.2.12", "ink": "^3.2.0", @@ -35,7 +35,6 @@ "devDependencies": { "@types/babel__core": "^7.20.1", "@types/babel__traverse": "^7.20.1", - "@types/dedent": "^0.7.0", "babel-plugin-tester": "^11.0.4", "yoga-layout-prebuilt": "^1.10.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 298122fb0cf..7c5763c32af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,15 +185,6 @@ importers: '@capsizecss/vanilla-extract': specifier: ^2.0.0 version: 2.0.0(@vanilla-extract/css@1.14.0) - '@types/autosuggest-highlight': - specifier: ^3.1.1 - version: 3.2.0 - '@types/dedent': - specifier: ^0.7.0 - version: 0.7.0 - '@types/lodash': - specifier: ^4.14.168 - version: 4.14.191 '@vanilla-extract/css': specifier: ^1.9.2 version: 1.14.0 @@ -213,20 +204,20 @@ importers: specifier: ^3.1.1 version: 3.2.1 clsx: - specifier: ^1.1.1 - version: 1.1.1 + specifier: ^2.1.1 + version: 2.1.1 csstype: specifier: ^3.0.6 version: 3.1.1 dedent: - specifier: ^0.7.0 - version: 0.7.0 + specifier: ^1.5.3 + version: 1.5.3(babel-plugin-macros@3.1.0) gradient-parser: specifier: ^1.0.0 version: 1.0.2 is-mobile: - specifier: ^2.2.2 - version: 2.2.2 + specifier: ^4.0.0 + version: 4.0.0 lodash: specifier: ^4.17.21 version: 4.17.21 @@ -282,12 +273,18 @@ importers: '@testing-library/user-event': specifier: ^14.4.3 version: 14.4.3(@testing-library/dom@10.0.0) + '@types/autosuggest-highlight': + specifier: ^3.1.1 + version: 3.2.0 '@types/babel__core': specifier: ^7.20.1 version: 7.20.1 '@types/jest': specifier: ^29.0.0 version: 29.1.2 + '@types/lodash': + specifier: ^4.14.168 + version: 4.14.191 '@types/node': specifier: ^18.13.0 version: 18.13.0 @@ -397,8 +394,8 @@ importers: specifier: ^3.11.1 version: 3.11.1 dedent: - specifier: ^0.7.0 - version: 0.7.0 + specifier: ^1.5.3 + version: 1.5.3(babel-plugin-macros@3.1.0) esbuild: specifier: ^0.19.2 version: 0.19.12 @@ -427,9 +424,6 @@ importers: '@types/babel__traverse': specifier: ^7.20.1 version: 7.20.1 - '@types/dedent': - specifier: ^0.7.0 - version: 0.7.0 babel-plugin-tester: specifier: ^11.0.4 version: 11.0.4(@babel/core@7.23.3) @@ -517,9 +511,6 @@ importers: '@capsizecss/vanilla-extract': specifier: ^2.0.0 version: 2.0.0(@vanilla-extract/css@1.14.0) - '@types/dedent': - specifier: ^0.7.0 - version: 0.7.0 '@types/lodash': specifier: ^4.14.168 version: 4.14.191 @@ -557,8 +548,8 @@ importers: specifier: ^2.28.0 version: 2.29.3 dedent: - specifier: ^0.7.0 - version: 0.7.0 + specifier: ^1.5.3 + version: 1.5.3(babel-plugin-macros@3.1.0) didyoumean2: specifier: ^6.0.1 version: 6.0.1 @@ -4002,8 +3993,8 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.24.5 - '@babel/helper-plugin-utils': 7.24.5 - '@babel/helper-validator-option': 7.23.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 '@babel/plugin-transform-react-display-name': 7.22.5(@babel/core@7.24.5) '@babel/plugin-transform-react-jsx': 7.22.5(@babel/core@7.24.5) '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.24.5) @@ -4031,9 +4022,9 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.24.5 - '@babel/helper-plugin-utils': 7.24.5 - '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-syntax-jsx': 7.24.1(@babel/core@7.24.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.24.5) '@babel/plugin-transform-modules-commonjs': 7.21.5(@babel/core@7.24.5) '@babel/plugin-transform-typescript': 7.22.3(@babel/core@7.24.5) transitivePeerDependencies: @@ -7589,7 +7580,7 @@ packages: /@types/autosuggest-highlight@3.2.0: resolution: {integrity: sha512-bTcsL4YYypjhKfPaImxuoMPiTyiUp7VGKytMr15/413IoazrOIfV/gca2ysI/IW0ftZYCPI5xppRm6IVX1Efqw==} - dev: false + dev: true /@types/babel-plugin-macros@3.1.0: resolution: {integrity: sha512-kxYWx+NISzy46KMgnXUthHJNbcGw9w1jn6e1LZAciTv8KKO5z9z1LakHnXCj5aYrwydZ5dGE3MAgEu4X/MdWkA==} @@ -7658,9 +7649,6 @@ packages: dependencies: '@types/node': 18.13.0 - /@types/dedent@0.7.0: - resolution: {integrity: sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A==} - /@types/detect-port@1.3.3: resolution: {integrity: sha512-bV/jQlAJ/nPY3XqSatkGpu+nGzou+uSwrH1cROhn+jBFg47yaNH+blW4C7p9KhopC7QxCv/6M86s37k8dMk0Yg==} @@ -10551,8 +10539,8 @@ packages: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} - /clsx@1.1.1: - resolution: {integrity: sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==} + /clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} dev: false @@ -11199,16 +11187,6 @@ packages: /dedent@0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} - /dedent@1.5.1(babel-plugin-macros@3.1.0): - resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} - peerDependencies: - babel-plugin-macros: ^3.1.0 - peerDependenciesMeta: - babel-plugin-macros: - optional: true - dependencies: - babel-plugin-macros: 3.1.0 - /dedent@1.5.3(babel-plugin-macros@3.1.0): resolution: {integrity: sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==} peerDependencies: @@ -14627,8 +14605,8 @@ packages: resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} engines: {node: '>= 0.4'} - /is-mobile@2.2.2: - resolution: {integrity: sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg==} + /is-mobile@4.0.0: + resolution: {integrity: sha512-mlcHZA84t1qLSuWkt2v0I2l61PYdyQDt4aG1mLIXF5FDMm4+haBCxCPYSr/uwqQNRk1MiTizn0ypEuRAOLRAew==} dev: false /is-nan@1.3.2: @@ -16194,7 +16172,7 @@ packages: peerDependencies: webpack: ^5.0.0 dependencies: - schema-utils: 4.2.0 + schema-utils: 4.0.0 webpack: 5.91.0(esbuild@0.19.12) /minimalistic-assert@1.0.1: @@ -17308,7 +17286,7 @@ packages: command-line-usage: 6.1.3 copy-to-clipboard: 3.3.3 css-loader: 6.7.3(webpack@5.88.2) - dedent: 1.5.1(babel-plugin-macros@3.1.0) + dedent: 1.5.3(babel-plugin-macros@3.1.0) fast-glob: 3.3.2 find-up: 5.0.0 fuzzy: 0.1.3 diff --git a/site/package.json b/site/package.json index 4f238ede326..146c6cf67d9 100644 --- a/site/package.json +++ b/site/package.json @@ -24,7 +24,6 @@ "@braid-design-system/generate-component-docs": "*", "@braid-design-system/source.macro": "*", "@capsizecss/vanilla-extract": "^2.0.0", - "@types/dedent": "^0.7.0", "@types/lodash": "^4.14.168", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", @@ -37,7 +36,7 @@ "circular-dependency-plugin": "^5.2.2", "copy-to-clipboard": "^3.3.1", "date-fns": "^2.28.0", - "dedent": "^0.7.0", + "dedent": "^1.5.3", "didyoumean2": "^6.0.1", "lodash": "^4.17.21", "mini-css-extract-plugin": "^2.6.0",