Socket
Socket
Sign inDemoInstall

mixme

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixme - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

4

CHANGELOG.md
# Changelog
## Version 0.5.2
* fix: prevent code injection in copying properties
## Version 0.5.1

@@ -5,0 +9,0 @@

5

dist/mixme.cjs.js

@@ -53,3 +53,6 @@ 'use strict';

for (name in source) {
if (name === '__proto__') {
if (/__proto__|constructor|prototype|eval|function|\*|\+|;|\s|\(|\)|!/.test(name)) {
// See
// https://github.com/adaltas/node-mixme/issues/1
// https://github.com/adaltas/node-mixme/issues/2
continue;

@@ -56,0 +59,0 @@ }

@@ -49,3 +49,6 @@ function _typeof(obj) {

for (name in source) {
if (name === '__proto__') {
if (/__proto__|constructor|prototype|eval|function|\*|\+|;|\s|\(|\)|!/.test(name)) {
// See
// https://github.com/adaltas/node-mixme/issues/1
// https://github.com/adaltas/node-mixme/issues/2
continue;

@@ -52,0 +55,0 @@ }

@@ -55,3 +55,6 @@ (function (global, factory) {

for (name in source) {
if (name === '__proto__') {
if (/__proto__|constructor|prototype|eval|function|\*|\+|;|\s|\(|\)|!/.test(name)) {
// See
// https://github.com/adaltas/node-mixme/issues/1
// https://github.com/adaltas/node-mixme/issues/2
continue;

@@ -58,0 +61,0 @@ }

{
"name": "mixme",
"description": "A library for recursive merging of Javascript objects",
"version": "0.5.1",
"version": "0.5.2",
"author": "David Worms <david@adaltas.com> (https://www.adaltas.com)",

@@ -6,0 +6,0 @@ "contributors": [],

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