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

css-time

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-time - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

component.json
{
"name": "css-time",
"version": "0.1.1",
"version": "0.1.2",
"author": "Phil Booth <pmbooth@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A tiny library that converts milliseconds to and from CSS time.",

{
"name": "css-time",
"version": "0.1.1",
"version": "0.1.2",
"author": "Phil Booth <pmbooth@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A tiny library that converts milliseconds to and from CSS time.",

@@ -49,3 +49,3 @@ # css-time.js

```
<script type="text/javascript" src="css-time.min.js"></script>
<script src="css-time.min.js"></script>
```

@@ -106,3 +106,3 @@

[ci-image]: https://secure.travis-ci.org/philbooth/css-time.js.png?branch=master
[ci-image]: https://secure.travis-ci.org/philbooth/css-time.js.png
[ci-status]: http://travis-ci.org/#!/philbooth/css-time.js

@@ -109,0 +109,0 @@ [csstime]: http://www.w3.org/TR/css3-values/#time

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

(function(){"use strict";function t(t){return n(t),"m"===t.charAt(t.length-2)?parseFloat(t.substring(0,t.length-2)):1e3*parseFloat(t.substring(0,t.length-1))}function n(t){if(/^[\-\+]?[0-9]+(\.[0-9]+)?m?s$/.test(t)===!1)throw Error("Invalid CSS time")}function e(t){return o(t),t+"ms"}function o(t){if("number"!=typeof t||isNaN(t))throw Error("Invalid milliseconds")}function i(){"function"==typeof define&&define.amd?define(["css-time"],r):"object"==typeof module||null!==module?module.exports=r:window.cssTime=r}var r={from:t,to:e};i()})();
(function(){"use strict";function t(t){return n(t),"m"===t.charAt(t.length-2)?parseFloat(t.substring(0,t.length-2)):1e3*parseFloat(t.substring(0,t.length-1))}function n(t){if(/^[\-\+]?[0-9]+(\.[0-9]+)?m?s$/.test(t)===!1)throw Error("Invalid CSS time")}function e(t){return o(t),t+"ms"}function o(t){if("number"!=typeof t||isNaN(t))throw Error("Invalid milliseconds")}function i(){"function"==typeof define&&define.amd?define(["css-time"],r):"object"==typeof module&&null!==module?module.exports=r:window.cssTime=r}var r={from:t,to:e};i()})();
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