chore: starting upgrade env #55
Errors 14
Found 14 errors
Annotations
Check failure on line 1 in assets/assets/package.json
github-actions / Release
Error release workspace @atls/figma-assets
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 455ms
➤ YN0000: Failed with errors in 5s 458ms
(node:1929) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in assets/assets-cli/package.json
github-actions / Release
Error release workspace @atls/figma-assets-cli
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 316ms
➤ YN0000: Failed with errors in 5s 318ms
(node:1942) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-cli/package.json
github-actions / Release
Error release workspace @atls/figma-theme-cli
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 497ms
➤ YN0000: Failed with errors in 5s 500ms
(node:1958) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in loaders/file-loader/package.json
github-actions / Release
Error release workspace @atls/figma-file-loader
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 387ms
➤ YN0000: Failed with errors in 5s 392ms
(node:1972) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme/package.json
github-actions / Release
Error release workspace @atls/figma-theme
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 365ms
➤ YN0000: Failed with errors in 5s 368ms
(node:2109) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-colors-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-colors-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 345ms
➤ YN0000: Failed with errors in 5s 348ms
(node:2122) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-font-sizes-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-font-sizes-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 385ms
➤ YN0000: Failed with errors in 5s 387ms
(node:2136) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-font-weights-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-font-weights-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 374ms
➤ YN0000: Failed with errors in 5s 376ms
(node:2152) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-fonts-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-fonts-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 326ms
➤ YN0000: Failed with errors in 5s 328ms
(node:2171) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-line-heights-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-line-heights-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 419ms
➤ YN0000: Failed with errors in 5s 421ms
(node:2184) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-radii-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-radii-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 292ms
➤ YN0000: Failed with errors in 5s 309ms
(node:2199) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-shadows-generator/package.json
github-actions / Release
Error release workspace @atls/figma-theme-shadows-generator
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 303ms
➤ YN0000: Failed with errors in 5s 305ms
(node:2213) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in theme/theme-generator-common/package.json
github-actions / Release
Error release workspace @atls/figma-theme-generator-common
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 438ms
➤ YN0000: Failed with errors in 5s 440ms
(node:2229) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Check failure on line 1 in utils/utils/package.json
github-actions / Release
Error release workspace @atls/figma-utils
Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
➤ YN0000: │ .yarn/cache/@types-eslint-npm-8.40.0-f83ac3705a-64e7807d11.zip/node_modules/@typ
➤ YN0000: │ es/eslint/index.d.ts
➤ YN0000: │
➤ YN0000: │ Erro: Namespace '"/home/runner/work/figma/figma/.yarn/cache/@types-estree-npm-
➤ YN0000: │ 0.0.50-b9bc3b8409-545795447f.zip/node_modules/@types/estree/index"' has no
➤ YN0000: │ exported member 'StaticBlock'.
➤ YN0000: │
➤ YN0000: │
::endgroup::
➤ YN0000: └ Completed in 5s 118ms
➤ YN0000: Failed with errors in 5s 121ms
(node:2243) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)