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

@teambit/defender.prettier.config-mutator

Package Overview
Dependencies
Maintainers
18
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/defender.prettier.config-mutator - npm Package Compare versions

Comparing version 0.0.79 to 0.0.80

__preview-1643340137110.js

4

config-mutator.ts

@@ -1,2 +0,2 @@

import { clone } from 'lodash';
import { cloneDeep } from 'lodash';
import { Options as PrettierOptions, Plugin } from 'prettier';

@@ -8,3 +8,3 @@

clone(): PrettierConfigMutator {
return new PrettierConfigMutator(clone(this.raw));
return new PrettierConfigMutator(cloneDeep(this.raw));
}

@@ -11,0 +11,0 @@

@@ -10,3 +10,3 @@ "use strict";

clone() {
return new PrettierConfigMutator((0, lodash_1.clone)(this.raw));
return new PrettierConfigMutator((0, lodash_1.cloneDeep)(this.raw));
}

@@ -13,0 +13,0 @@ setKey(key, value) {

{
"name": "@teambit/defender.prettier.config-mutator",
"version": "0.0.79",
"version": "0.0.80",
"homepage": "https://bit.dev/teambit/defender/prettier/config-mutator",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "prettier/config-mutator",
"version": "0.0.79"
"version": "0.0.80"
},

@@ -12,0 +12,0 @@ "dependencies": {

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