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

duration-input

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duration-input - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

17

lib/duration-input.js

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

var DurationInput = (function ($) {
var DurationInput = (function () {
'use strict';
$ = 'default' in $ ? $['default'] : $;
var asyncGenerator = function () {

@@ -463,15 +461,4 @@ function AwaitValue(value) {

if (typeof $ !== 'undefined') {
$.fn.durationInput = function durationInput(options) {
this.each(function each() {
/* istanbul ignore else */
if (!$.data(this, 'plugin_durationInput') && !$(this).parent().hasClass('duration-container')) {
$.data(this, 'plugin_durationInput', new DurationInput(this, options));
}
});
};
}
return DurationInput;
}($));
}());

3

package.json
{
"name": "duration-input",
"version": "2.0.0",
"version": "3.0.0",
"description": "JavaScript library for managing duration based inputs.",

@@ -49,3 +49,2 @@ "author": "Matthew Callis <matthew.callis@gmail.com>",

"eslint-plugin-xss": "^0.1.8",
"jquery": "^2",
"nyc": "^8.4.0",

@@ -52,0 +51,0 @@ "precommit-hook-eslint": "^3.0.0",

@@ -6,9 +6,13 @@ # Duration Input

[![devDependency Status](https://david-dm.org/MatthewCallis/duration-input/dev-status.svg?style=flat)](https://david-dm.org/MatthewCallis/duration-input#info=devDependencies)
[![Test Coverage](https://codeclimate.com/github/MatthewCallis/duration-input/badges/coverage.svg)](https://codeclimate.com/github/MatthewCallis/duration-input)
[![Coverage Status](https://coveralls.io/repos/MatthewCallis/duration-input/badge.svg)](https://coveralls.io/r/MatthewCallis/duration-input)
[![Test Coverage](https://codeclimate.com/github/MatthewCallis/duration-input/badges/coverage.svg)](https://codeclimate.com/github/MatthewCallis/duration-input/coverage)
[![Coverage Status](https://coveralls.io/repos/github/MatthewCallis/duration-input/badge.svg?branch=master)](https://coveralls.io/github/MatthewCallis/duration-input?branch=master)
JavaScript library for managing duration based inputs.
Useful if you need consumer friendly durations measured in seconds.
The last version to support jQuery was `v2.0.0`.
### License
Duration Input is [MIT licensed](./LICENSE).
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