Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/react-form-state

Package Overview
Dependencies
Maintainers
10
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-form-state - npm Package Compare versions

Comparing version 0.1.7 to 0.1.9

4

dist/tests/components/Input.d.ts

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

import React, { InputHTMLAttributes } from 'react';
import * as React from 'react';
export interface Props {

@@ -6,4 +6,4 @@ onChange?(value: string): void;

}
export default class Input extends React.PureComponent<Props & InputHTMLAttributes<any>, never> {
export default class Input extends React.PureComponent<Props & React.InputHTMLAttributes<any>, never> {
render(): JSX.Element;
}

@@ -29,7 +29,11 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var React = __importStar(require("react"));
// eslint-disable-next-line react/prefer-stateless-function

@@ -44,3 +48,3 @@ var Input = /** @class */ (function (_super) {

onRender && onRender();
return (react_1.default.createElement("input", __assign({
return (React.createElement("input", __assign({
// eslint-disable-next-line react/jsx-no-bind

@@ -53,3 +57,3 @@ onChange: function (_a) {

return Input;
}(react_1.default.PureComponent));
}(React.PureComponent));
exports.default = Input;

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

import React, { InputHTMLAttributes } from 'react';
import * as React from 'react';
import { FieldState } from '../../types';

@@ -7,4 +7,4 @@ export interface Props {

}
export default class Input extends React.PureComponent<Props & InputHTMLAttributes<any>, never> {
export default class Input extends React.PureComponent<Props & React.InputHTMLAttributes<any>, never> {
render(): JSX.Element;
}

@@ -20,7 +20,11 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var React = __importStar(require("react"));
// eslint-disable-next-line react/prefer-stateless-function

@@ -35,6 +39,6 @@ var Input = /** @class */ (function (_super) {

onRender && onRender();
return (react_1.default.createElement("input", __assign({}, field)));
return (React.createElement("input", __assign({}, field)));
};
return Input;
}(react_1.default.PureComponent));
}(React.PureComponent));
exports.default = Input;
{
"name": "@shopify/react-form-state",
"version": "0.1.7",
"version": "0.1.9",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and type-safe with no magic.",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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