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

gd-sprest-react

Package Overview
Dependencies
Maintainers
1
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-react - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

build/common/dtStrings.d.ts

14

build/components/fieldNumber.js

@@ -22,13 +22,7 @@ "use strict";

var React = require("react");
var fieldNumber_d_1 = require("./fieldNumber.d");
exports.FieldNumberTypes = fieldNumber_d_1.FieldNumberTypes;
var common_1 = require("../common");
var office_ui_fabric_react_1 = require("office-ui-fabric-react");
/**
* Number Types
*/
var FieldNumberTypes;
(function (FieldNumberTypes) {
FieldNumberTypes[FieldNumberTypes["Decimal"] = 0] = "Decimal";
FieldNumberTypes[FieldNumberTypes["Integer"] = 1] = "Integer";
})(FieldNumberTypes = exports.FieldNumberTypes || (exports.FieldNumberTypes = {}));
/**
* Number Field

@@ -50,5 +44,5 @@ */

// Default the field type
var fieldType = typeof (_this.props.type) === "number" ? _this.props.type : FieldNumberTypes.Integer;
var fieldType = typeof (_this.props.type) === "number" ? _this.props.type : fieldNumber_d_1.FieldNumberTypes.Integer;
// Ensure a value exists and need to convert it
if (value && fieldType == FieldNumberTypes.Integer) {
if (value && fieldType == fieldNumber_d_1.FieldNumberTypes.Integer) {
// Convert the value to an integer

@@ -55,0 +49,0 @@ var intValue = parseInt(value);

{
"name": "gd-sprest-react",
"version": "0.0.9",
"version": "0.1.0",
"description": "SharePoint react components.",
"main": "build/index.js",
"scripts": {
"build": "tsc",
"build": "tsc --declaration",
"test": "webpack --config ./webpack.test.js"

@@ -9,0 +9,0 @@ },

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