chore: starting upgrade env #56
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 6s 150ms
➤ YN0000: Failed with errors in 6s 154ms
(node:1908) [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 6s 89ms
➤ YN0000: Failed with errors in 6s 94ms
(node:1923) [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 6s 517ms
➤ YN0000: Failed with errors in 6s 522ms
(node:1938) [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 6s 385ms
➤ YN0000: Failed with errors in 6s 389ms
(node:1952) [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 6s 487ms
➤ YN0000: Failed with errors in 6s 496ms
(node:1966) [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 6s 309ms
➤ YN0000: Failed with errors in 6s 314ms
(node:1981) [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 6s 470ms
➤ YN0000: Failed with errors in 6s 474ms
(node:1997) [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 6s 517ms
➤ YN0000: Failed with errors in 6s 520ms
(node:2074) [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 6s 415ms
➤ YN0000: Failed with errors in 6s 418ms
(node:2088) [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 6s 655ms
➤ YN0000: Failed with errors in 6s 659ms
(node:2105) [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 6s 430ms
➤ YN0000: Failed with errors in 6s 432ms
(node:2119) [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 6s 371ms
➤ YN0000: Failed with errors in 6s 375ms
(node:2134) [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 6s 73ms
➤ YN0000: Failed with errors in 6s 76ms
(node:2147) [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 6s 536ms
➤ YN0000: Failed with errors in 6s 539ms
(node:2161) [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)