Socket
Socket
Sign inDemoInstall

react-time-input-polyfill

Package Overview
Dependencies
7
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

docs/precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js

8

docs/asset-manifest.json
{
"files": {
"main.css": "/react-time-input-polyfill/static/css/main.2743c8fd.chunk.css",
"main.js": "/react-time-input-polyfill/static/js/main.ed427708.chunk.js",
"main.js.map": "/react-time-input-polyfill/static/js/main.ed427708.chunk.js.map",
"main.js": "/react-time-input-polyfill/static/js/main.5168e305.chunk.js",
"main.js.map": "/react-time-input-polyfill/static/js/main.5168e305.chunk.js.map",
"runtime-main.js": "/react-time-input-polyfill/static/js/runtime-main.c87944e3.js",

@@ -11,3 +11,3 @@ "runtime-main.js.map": "/react-time-input-polyfill/static/js/runtime-main.c87944e3.js.map",

"index.html": "/react-time-input-polyfill/index.html",
"precache-manifest.307e99b9380f9ad71a80967b0dfd11b3.js": "/react-time-input-polyfill/precache-manifest.307e99b9380f9ad71a80967b0dfd11b3.js",
"precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js": "/react-time-input-polyfill/precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js",
"service-worker.js": "/react-time-input-polyfill/service-worker.js",

@@ -20,4 +20,4 @@ "static/css/main.2743c8fd.chunk.css.map": "/react-time-input-polyfill/static/css/main.2743c8fd.chunk.css.map"

"static/css/main.2743c8fd.chunk.css",
"static/js/main.ed427708.chunk.js"
"static/js/main.5168e305.chunk.js"
]
}

@@ -17,3 +17,3 @@ /**

importScripts(
"/react-time-input-polyfill/precache-manifest.307e99b9380f9ad71a80967b0dfd11b3.js"
"/react-time-input-polyfill/precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js"
);

@@ -20,0 +20,0 @@

@@ -375,2 +375,9 @@ import React from 'react'

// Can't be 00 in hours.
// If the user sets hours to 00 the input automatically changes hours to 12
// The same behaviour like default input[type="time"].
if (segment === 'hrs' && entry_log.items.join('') === '00') {
entry_log.items = [1, 2]
}
const full_limit = parseInt(upper_limits[segment].join(''))

@@ -377,0 +384,0 @@ const full_entry = parseInt(entry_log.items.join(''))

{
"name": "react-time-input-polyfill",
"version": "1.0.4",
"version": "1.0.5",
"description": "A pre-built, plug-and-play, fully accessible React component that will produce an `input[type='time']` element with a built in polyfill for IE and Safari support.",

@@ -5,0 +5,0 @@ "main": "index.js",

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