Socket
Socket
Sign inDemoInstall

@amalto/cron-input

Package Overview
Dependencies
Maintainers
2
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amalto/cron-input - npm Package Compare versions

Comparing version 1.10.64 to 1.10.65

2

build/index.d.ts

@@ -12,3 +12,3 @@ import * as React from 'react';

declare module CronInput {
interface Props extends React.Props<CronInput> {
interface Props extends React.ClassAttributes<CronInput> {
name: string;

@@ -15,0 +15,0 @@ value: CronValue;

@@ -6,6 +6,8 @@ "use strict";

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -16,7 +18,23 @@ function __() { this.constructor = d; }

})();
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
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;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;

@@ -28,2 +46,3 @@ };

Object.defineProperty(exports, "__esModule", { value: true });
exports.CRON_VALIDATION = void 0;
var React = __importStar(require("react"));

@@ -70,3 +89,3 @@ var classnames_1 = __importDefault(require("classnames"));

_this.state = {
wordings: helpers_1.compileWordings(wordings_1.MULTILANGUAGE_WORDINGS, props.locale)
wordings: (0, helpers_1.compileWordings)(wordings_1.MULTILANGUAGE_WORDINGS, props.locale)
};

@@ -80,3 +99,3 @@ $.extend(_this.state, props.value);

var _b = this.state, wordings = _b.wordings, enabled = _b.enabled, second = _b.second, minute = _b.minute, hour = _b.hour, dayOfMonth = _b.dayOfMonth, month = _b.month, dayOfWeek = _b.dayOfWeek, year = _b.year;
return (React.createElement("div", { className: classnames_1.default('fieldset', containerClass) },
return (React.createElement("div", { className: (0, classnames_1.default)('fieldset', containerClass) },
this.props.label ? React.createElement("label", null, this.props.label) : null,

@@ -100,3 +119,3 @@ React.createElement("div", { className: "cron-input-wrapper clearfix" },

React.createElement("label", null, wordings.enabled),
React.createElement(switch_1.default, { id: "cron_enabled_control_" + name, value: enabled, changeHandler: function (value) { _this.setState({ enabled: value }, function () { _this.props.handleChange(_this.getCronValue()); }); } }))),
React.createElement(switch_1.default, { id: "cron_enabled_control_".concat(name), value: enabled, changeHandler: function (value) { _this.setState({ enabled: value }, function () { _this.props.handleChange(_this.getCronValue()); }); } }))),
invalid && React.createElement("p", { className: "validation-error-message" }, wordings.inputInvalid)));

@@ -103,0 +122,0 @@ };

@@ -5,3 +5,3 @@ {

"description": "Cron input used to schedule a task.",
"version": "1.10.64",
"version": "1.10.65",
"license": "MIT",

@@ -29,6 +29,6 @@ "repository": {

"dependencies": {
"@amalto/helpers": "1.9.81",
"@amalto/switch": "1.10.14",
"@amalto/validated-input": "1.9.68",
"@amalto/wordings": "1.9.30",
"@amalto/helpers": "1.9.82",
"@amalto/switch": "1.10.15",
"@amalto/validated-input": "1.9.69",
"@amalto/wordings": "1.9.31",
"classnames": "^2.2.6",

@@ -55,8 +55,8 @@ "jquery": "^3.4.1",

"jsdom": "11.6.2",
"nyc": "^13.2.0",
"nyc": "^15.1.0",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "15.6.2",
"sinon": "4.2.2",
"ts-loader": "6.2.1",
"typescript": "3.7.2",
"sinon": "4.5.0",
"ts-loader": "8.4.0",
"typescript": "4.7.4",
"webpack": "4.41.2"

@@ -89,3 +89,3 @@ },

},
"gitHead": "ff185b989708340d58202d2f91eb288c084721ed"
"gitHead": "12c99fb318e38ad8e32a51c4880c49fa1d703cd1"
}

@@ -41,6 +41,3 @@ const { resolve } = require('path');

},
devtool: 'source-map',
node: {
fs: 'empty'
}
devtool: 'source-map'
};

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