Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@commodo/fields

Package Overview
Dependencies
3
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.7 to 0.2.8

23

fields/createField.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -8,10 +10,14 @@ value: true

const createField = ({
type,
list,
validation,
get,
set,
value
}) => {
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
const createField = (_ref) => {
let {
type,
list,
validation,
get,
set,
value
} = _ref,
rest = (0, _objectWithoutProperties2.default)(_ref, ["type", "list", "validation", "get", "set", "value"]);
return function (name, parent) {

@@ -32,2 +38,3 @@ this.get = get;

};
Object.assign(this, rest);

@@ -34,0 +41,0 @@ this.getValue = () => {

{
"name": "@commodo/fields",
"version": "0.2.7",
"version": "0.2.8",
"main": "index.js",

@@ -31,3 +31,3 @@ "repository": {

},
"gitHead": "c953bb97266286551493d864eb91263174a88c5a"
"gitHead": "2e77b570f270a2596aff72b17c709e9ebea11406"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc