From eaa64652c5bd9e27ec70b2f131a04692192388a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Feb 2024 11:35:35 -0700 Subject: [PATCH] chore(deps): Bump ip from 2.0.0 to 2.0.1 (#83) Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1. [category:Dependencies] Co-authored-by: @dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: @alanbsmith --- packages/canvas-tokens/utils/formatters/formatJS.ts | 8 +++----- yarn.lock | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/canvas-tokens/utils/formatters/formatJS.ts b/packages/canvas-tokens/utils/formatters/formatJS.ts index 501b2ff..5befc75 100644 --- a/packages/canvas-tokens/utils/formatters/formatJS.ts +++ b/packages/canvas-tokens/utils/formatters/formatJS.ts @@ -5,7 +5,7 @@ import {jsFileHeader} from './helpers/jsFileHeader'; * Style Dictionary format function that creates common-js file structure. * This structure contains separated exports of each token. * @param {*} FormatterArguments - Style Dictionary formatter object containing `dictionary`, `options`, `file` and `platform` properties. - * options can contains `withoutModule` property js module header should not be generated. + * options can contain `withoutModule` property js module header should not be generated. * @returns file content as a string */ export const formatToInlineCommonJSModule: Formatter = ({dictionary, file, options}) => { @@ -23,10 +23,9 @@ export const formatToInlineCommonJSModule: Formatter = ({dictionary, file, optio * Style Dictionary format function that creates es6 file structure. * This structure contains separated exports of each token. * @param {*} FormatterArguments - Style Dictionary formatter object containing `dictionary`, `options`, `file` and `platform` properties. - * options can contains `withoutModule` property js module header should not be generated. * @returns file content as a string */ -export const formatToInlineES6Module: Formatter = ({dictionary, file, options}) => { +export const formatToInlineES6Module: Formatter = ({dictionary, file}) => { const headerContent = formatHelpers.fileHeader({file}); return dictionary.allTokens.reduce((acc: string, {name, path}) => { const cssVarName = path.join('-'); @@ -39,7 +38,6 @@ export const formatToInlineES6Module: Formatter = ({dictionary, file, options}) * Style Dictionary format function that creates ts file structure. * This structure contains separated exports of each token with `as const`. * @param {*} FormatterArguments - Style Dictionary formatter object containing `dictionary`, `options`, `file` and `platform` properties. - * options can contains `withoutModule` property js module header should not be generated. * @returns file content as a string */ export const formatInlineTypes: Formatter = ({dictionary, file}) => { @@ -54,7 +52,7 @@ export const formatInlineTypes: Formatter = ({dictionary, file}) => { /** * Style Dictionary format function that create token objects with common-js exports. * @param {*} FormatterArguments - Style Dictionary formatter object containing `dictionary`, `options`, `file` and `platform` properties. - * options can contains `withoutModule` property js module header should not be generated. + * options can contain `withoutModule` property js module header should not be generated. * @returns file content as a string */ export const formatCommonToObjects: Formatter = ({dictionary, file, options}) => { diff --git a/yarn.lock b/yarn.lock index 5ab6134..5b5eb33 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6790,9 +6790,9 @@ invariant@^2.2.4: loose-envify "^1.0.0" ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105" + integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ== ipaddr.js@1.9.1: version "1.9.1"