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

ms-date

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-date - npm Package Compare versions

Comparing version 0.1.3 to 0.2.1

src/index.ts

6

dist/index.js
/**
* @author TroyTae
* @version 0.1.3
* @version 0.2.1
* @name ms-date

@@ -12,4 +12,4 @@ */

function index() {
console.log('ms-date');
function index () {
console.log('ms-date');
}

@@ -16,0 +16,0 @@

/**
* @author TroyTae
* @version 0.1.3
* @version 0.2.1
* @name ms-date
*/
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.MsDate=f());}(this,(function(){'use strict';function index() {
console.log('ms-date');
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.MsDate=f());}(this,(function(){'use strict';function index () {
console.log('ms-date');
}return index;})));
{
"name": "ms-date",
"version": "0.1.3",
"version": "0.2.1",
"description": "A date module based on milliseconds ⏱",

@@ -21,3 +21,4 @@ "main": "dist/index.min.js",

"rollup": "^1.26.5",
"typescript": "^3.7.2"
"typescript": "^3.7.2",
"rollup-plugin-typescript2": "^0.25.2"
},

@@ -24,0 +25,0 @@ "scripts": {

const pkg = require('./package.json');
const typescript = require('rollup-plugin-typescript2');

@@ -14,3 +15,3 @@ const output = {

return {
input: 'src/index.js',
input: 'src/index.ts',
output: {

@@ -20,3 +21,6 @@ ...output,

file: pkg.main.replace(isProd ? '' : '.min', '')
}
},
plugins: [
typescript({ clean: true })
]
};

@@ -23,0 +27,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