Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pick-html-attribute-props

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pick-html-attribute-props - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+1
-1
attr-names.js
// eslint-disable-next-line spaced-comment
/**!
* pick-html-attribute-props v1.2.0
* pick-html-attribute-props v1.2.1
*

@@ -5,0 +5,0 @@ * Copyright (c) 2019, Brandon D. Sara (https://bsara.dev/)

@@ -0,1 +1,6 @@

# 1.2.1
- **[BUG FIX]** Props weren't being properly picked.
# 1.2.0

@@ -2,0 +7,0 @@

// eslint-disable-next-line spaced-comment
/**!
* pick-html-attribute-props v1.2.0
* pick-html-attribute-props v1.2.1
*

@@ -93,3 +93,3 @@ * Copyright (c) 2019, Brandon D. Sara (https://bsara.dev/)

/** @private */
function _pick(obj, ...propNames) {
function _pick(obj, propNames) {
if (obj == null) {

@@ -96,0 +96,0 @@ return {};

@@ -5,3 +5,3 @@ 'use strict';

/**!
* pick-html-attribute-props v1.2.0
* pick-html-attribute-props v1.2.1
*

@@ -8,0 +8,0 @@ * Copyright (c) 2019, Brandon D. Sara (https://bsara.dev/)

@@ -83,3 +83,3 @@ 'use strict';

/** @private */
function _pick(obj, ...propNames) {
function _pick(obj, propNames) {
if (obj == null) {

@@ -86,0 +86,0 @@ return {};

@@ -5,3 +5,3 @@ 'use strict';

/**!
* pick-html-attribute-props v1.2.0
* pick-html-attribute-props v1.2.1
*

@@ -8,0 +8,0 @@ * Copyright (c) 2019, Brandon D. Sara (https://bsara.dev/)

{
"name": "pick-html-attribute-props",
"version": "1.2.0",
"version": "1.2.1",
"description": "Pickers and other helper functions used to filter standard HTML attribute values from an object",

@@ -5,0 +5,0 @@ "authors": [

// eslint-disable-next-line spaced-comment
/**!
* pick-html-attribute-props v1.2.0
* pick-html-attribute-props v1.2.1
*

@@ -5,0 +5,0 @@ * Copyright (c) 2019, Brandon D. Sara (https://bsara.dev/)