New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mux/mux-elements-codemod

Package Overview
Dependencies
Maintainers
38
Versions
487
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/mux-elements-codemod - npm Package Compare versions

Comparing version 1.0.1-canary.2-2686be8 to 1.0.1-canary.3-cbb4bc0

2

package.json
{
"name": "@mux/mux-elements-codemod",
"version": "1.0.1-canary.2-2686be8",
"version": "1.0.1-canary.3-cbb4bc0",
"description": "A codemod to transform @mux-elments scope imports into @mux scope imports",

@@ -5,0 +5,0 @@ "bin": "./dist/index.mjs",

@@ -118,4 +118,5 @@ #!/usr/bin/env node

files.forEach((file) => {
type SedOptions = [string, string, string] | [string, string, string, string];
const sedOptions: SedOptions = ['@mux-elements/', '@mux/', file];
type SedOptions = [RegExp, string, string] | [string, RegExp, string, string];
// use the regex with `/g` so that multiple items on a line get replaced
const sedOptions: SedOptions = [/@mux-elements\//g, '@mux/', file];
if (force) {

@@ -122,0 +123,0 @@ sedOptions.unshift('-i');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc