Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade jscodeshift to 0.14.0 #20925

Merged
merged 1 commit into from
Feb 4, 2023

Conversation

programmarchy
Copy link
Contributor

Fixes deprecated warning described in #20822

Closes #20822

What I did

Upgraded jscodeshift from ^0.13.1 to ^0.14.0 to remove deprecation warnings.

How to test

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@socket-security
Copy link

Socket Security Pull Request Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

⚠️ Uses eval

Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use eval, since this could potentially execute any code.

Package Eval Type Location Source
@angular/compiler@15.1.3 (upgraded) Function esm2020/src/output/output_jit_trusted_types.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/compiler-cli@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/compiler@15.1.3 (upgraded) Function esm2020/src/output/output_jit_trusted_types.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/compiler-cli@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@13.3.12 (upgraded) Function esm2020/src/util/security/trusted_types.mjs code/addons/storyshots-core/package.json via @angular/platform-browser-dynamic@13.3.12, jest-preset-angular@12.2.6
@angular/core@13.3.12 (upgraded) Function esm2020/src/util/security/trusted_types.mjs code/addons/storyshots-core/package.json via @angular/platform-browser-dynamic@13.3.12, jest-preset-angular@12.2.6
@angular/core@13.3.12 (upgraded) Function schematics/utils/load_esm.js code/addons/storyshots-core/package.json via @angular/platform-browser-dynamic@13.3.12, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function esm2020/src/util/security/trusted_types.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function esm2020/src/util/security/trusted_types.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function fesm2015/testing.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function fesm2015/testing.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function fesm2020/testing.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@angular/core@15.1.3 (upgraded) Function fesm2020/testing.mjs code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, @angular/animations@15.1.3, @angular/common@15.1.3, @angular/compiler@15.1.3, @angular/compiler-cli@15.1.3, @angular/forms@15.1.3, @angular/platform-browser@15.1.3, @angular/platform-browser-dynamic@15.1.3, jest-preset-angular@12.2.6
@ngtools/webpack@15.1.4 (added) Function src/ivy/plugin.js code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, jest-preset-angular@12.2.6
@ngtools/webpack@15.1.4 (added) Function src/ivy/plugin.js code/package.json via @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/angular@6.5.16, code/addons/storyshots-core/package.json via jest-preset-angular@12.2.6, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, code/frameworks/angular/package.json via @angular-devkit/build-angular@15.1.4, jest-preset-angular@12.2.6
@reach/utils@0.11.2 (added) Function dist/utils.cjs.development.js test-storybooks/external-docs/package.json via nextra-theme-docs@1.2.6
@reach/utils@0.11.2 (added) Function dist/utils.cjs.production.min.js test-storybooks/external-docs/package.json via nextra-theme-docs@1.2.6
@reach/utils@0.11.2 (added) Function dist/utils.esm.js test-storybooks/external-docs/package.json via nextra-theme-docs@1.2.6
@sinclair/typebox@0.24.51 (added) Function compiler/compiler.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@sinclair/typebox@0.24.51 (added) Function conditional/structural.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@sinclair/typebox@0.24.51 (added) Function errors/errors.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@sinclair/typebox@0.24.51 (added) Function value/cast.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@sinclair/typebox@0.24.51 (added) Function value/check.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@sinclair/typebox@0.24.51 (added) Function value/create.js code/addons/storyshots-core/package.json via @jest/transform@29.4.1, jest@28.1.3, jest-preset-angular@12.2.6, jest-specific-snapshot@7.0.0, vue-jest@4.0.1, code/frameworks/angular/package.json via jest@28.1.3, jest-preset-angular@12.2.6
@storybook/components@7.0.0-alpha.43 (added) Function dist/formatter-UBTKRH7D.mjs test-storybooks/ember-cli/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-storysource@7.0.0-alpha.43, @storybook/addon-viewport@7.0.0-alpha.43, @storybook/ember@7.0.0-alpha.43, test-storybooks/external-docs/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-essentials@7.0.0-alpha.43, @storybook/blocks@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43, test-storybooks/server-kitchen-sink/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/server-webpack5@7.0.0-alpha.43, test-storybooks/standalone-preview/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43
@storybook/components@7.0.0-alpha.43 (added) Function dist/formatter-UBTKRH7D.mjs test-storybooks/ember-cli/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-storysource@7.0.0-alpha.43, @storybook/addon-viewport@7.0.0-alpha.43, @storybook/ember@7.0.0-alpha.43, test-storybooks/external-docs/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-essentials@7.0.0-alpha.43, @storybook/blocks@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43, test-storybooks/server-kitchen-sink/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/server-webpack5@7.0.0-alpha.43, test-storybooks/standalone-preview/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43
@storybook/components@7.0.0-alpha.43 (added) Function dist/index.js test-storybooks/ember-cli/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-storysource@7.0.0-alpha.43, @storybook/addon-viewport@7.0.0-alpha.43, @storybook/ember@7.0.0-alpha.43, test-storybooks/external-docs/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-essentials@7.0.0-alpha.43, @storybook/blocks@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43, test-storybooks/server-kitchen-sink/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/server-webpack5@7.0.0-alpha.43, test-storybooks/standalone-preview/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43
@storybook/components@7.0.0-alpha.43 (added) Function dist/index.js test-storybooks/ember-cli/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-storysource@7.0.0-alpha.43, @storybook/addon-viewport@7.0.0-alpha.43, @storybook/ember@7.0.0-alpha.43, test-storybooks/external-docs/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/addon-essentials@7.0.0-alpha.43, @storybook/blocks@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43, test-storybooks/server-kitchen-sink/package.json via @storybook/addon-a11y@7.0.0-alpha.43, @storybook/addon-actions@7.0.0-alpha.43, @storybook/addon-backgrounds@7.0.0-alpha.43, @storybook/addon-controls@7.0.0-alpha.43, @storybook/server-webpack5@7.0.0-alpha.43, test-storybooks/standalone-preview/package.json via @storybook/addon-docs@7.0.0-alpha.43, @storybook/react-webpack5@7.0.0-alpha.43
@storybook/mdx1-csf@1.0.0-next.0 (added) Function dist/index.js code/package.json via @storybook/builder-vite@0.4.0, code/addons/docs/package.json
@storybook/mdx1-csf@1.0.0-next.0 (added) Function dist/index.mjs code/package.json via @storybook/builder-vite@0.4.0, code/addons/docs/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.js code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.js code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.js code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.js code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.js code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.mjs code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.mjs code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.mjs code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.mjs code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/preview@7.0.0-beta.41 (added) Function dist/runtime.mjs code/lib/builder-vite/package.json, code/lib/builder-webpack5/package.json
@storybook/router@6.5.16 (added) Function dist/cjs/index.js code/package.json via @storybook/addon-a11y@6.5.16, @storybook/addon-actions@6.5.16, @storybook/addon-backgrounds@6.5.16, @storybook/addon-controls@6.5.16, @storybook/addon-docs@6.5.16, @storybook/addon-essentials@6.5.16, @storybook/addon-interactions@6.5.16, @storybook/addon-jest@6.5.16, @storybook/addon-links@6.5.16, @storybook/addon-measure@6.5.16, @storybook/addon-outline@6.5.16, @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/addon-storysource@6.5.16, @storybook/addon-toolbars@6.5.16, @storybook/addon-viewport@6.5.16, @storybook/addons@6.5.16, @storybook/angular@6.5.16, @storybook/api@6.5.16, @storybook/builder-vite@0.4.0, @storybook/builder-webpack5@6.5.16, @storybook/client-api@6.5.16, @storybook/core-client@6.5.16, @storybook/core-server@6.5.16, @storybook/docs-tools@6.5.16, @storybook/ember@6.5.16, @storybook/html@6.5.16, @storybook/instrumenter@6.5.16, @storybook/jest@0.0.10, @storybook/preact@6.5.16, @storybook/preview-web@6.5.16, @storybook/react@6.5.16, @storybook/server@6.5.16, @storybook/source-loader@6.5.16, @storybook/store@6.5.16, @storybook/svelte@6.5.16, @storybook/testing-library@0.0.13, @storybook/vue@6.5.16, @storybook/vue3@6.5.16, @storybook/web-components@6.5.16, code/addons/interactions/package.json via @storybook/jest@0.0.10, @storybook/testing-library@0.0.13, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, scripts/package.json via @storybook/jest@0.0.10, @storybook/testing-library@0.0.13
@storybook/router@6.5.16 (added) Function dist/esm/index.js code/package.json via @storybook/addon-a11y@6.5.16, @storybook/addon-actions@6.5.16, @storybook/addon-backgrounds@6.5.16, @storybook/addon-controls@6.5.16, @storybook/addon-docs@6.5.16, @storybook/addon-essentials@6.5.16, @storybook/addon-interactions@6.5.16, @storybook/addon-jest@6.5.16, @storybook/addon-links@6.5.16, @storybook/addon-measure@6.5.16, @storybook/addon-outline@6.5.16, @storybook/addon-storyshots@6.5.16, @storybook/addon-storyshots-puppeteer@6.5.16, @storybook/addon-storysource@6.5.16, @storybook/addon-toolbars@6.5.16, @storybook/addon-viewport@6.5.16, @storybook/addons@6.5.16, @storybook/angular@6.5.16, @storybook/api@6.5.16, @storybook/builder-vite@0.4.0, @storybook/builder-webpack5@6.5.16, @storybook/client-api@6.5.16, @storybook/core-client@6.5.16, @storybook/core-server@6.5.16, @storybook/docs-tools@6.5.16, @storybook/ember@6.5.16, @storybook/html@6.5.16, @storybook/instrumenter@6.5.16, @storybook/jest@0.0.10, @storybook/preact@6.5.16, @storybook/preview-web@6.5.16, @storybook/react@6.5.16, @storybook/server@6.5.16, @storybook/source-loader@6.5.16, @storybook/store@6.5.16, @storybook/svelte@6.5.16, @storybook/testing-library@0.0.13, @storybook/vue@6.5.16, @storybook/vue3@6.5.16, @storybook/web-components@6.5.16, code/addons/interactions/package.json via @storybook/jest@0.0.10, @storybook/testing-library@0.0.13, code/addons/storyshots-puppeteer/package.json via @storybook/addon-storyshots@7.0.0-beta.41, scripts/package.json via @storybook/jest@0.0.10, @storybook/testing-library@0.0.13
@storybook/router@6.5.16 (added) Function dist/modern/index.js code/package.json via [@storybook/addon-a11y@6.5.16](https://socket.dev/n

Fixes deprecated warning described in storybookjs#20822
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @programmarchy!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Update deprecated transitive dependencies of magic-string and jscodeshift
2 participants