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

dtss

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

dtss - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/dtss.d.ts

35

dist/static.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dtss_1 = require("./dtss");
exports.ms = (time, baseLevel = "ms") => {
function ms(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).ms(time);
};
exports.s = (time, baseLevel = "ms") => {
}
exports.ms = ms;
function s(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).s(time);
};
exports.m = (time, baseLevel = "ms") => {
}
exports.s = s;
function m(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).m(time);
};
exports.h = (time, baseLevel = "ms") => {
}
exports.m = m;
function h(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).h(time);
};
exports.d = (time, baseLevel = "ms") => {
}
exports.h = h;
function d(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).d(time);
};
exports.M = (time, baseLevel = "ms") => {
}
exports.d = d;
function M(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).M(time);
};
exports.y = (time, baseLevel = "ms") => {
}
exports.M = M;
function y(time, baseLevel = "ms") {
return new dtss_1.dtss(baseLevel).y(time);
};
}
exports.y = y;

28

lib/static.ts
import { dtss, levelStr } from "./dtss";
export const ms = (time: number, baseLevel: levelStr = "ms") => {
export function ms(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).ms(time);
};
export const s = (time: number, baseLevel: levelStr = "ms") => {
}
export function s(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).s(time);
};
export const m = (time: number, baseLevel: levelStr = "ms") => {
}
export function m(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).m(time);
};
export const h = (time: number, baseLevel: levelStr = "ms") => {
}
export function h(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).h(time);
};
export const d = (time: number, baseLevel: levelStr = "ms") => {
}
export function d(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).d(time);
};
export const M = (time: number, baseLevel: levelStr = "ms") => {
}
export function M(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).M(time);
};
export const y = (time: number, baseLevel: levelStr = "ms") => {
}
export function y(time: number, baseLevel: levelStr = "ms") {
return new dtss(baseLevel).y(time);
};
}
{
"name": "dtss",
"version": "1.1.0",
"version": "1.1.1",
"description": "Set the delay time quickly.",

@@ -11,10 +11,13 @@ "main": "dist/index.js",

"build": "npm run tsc -- -P tsconfig.json",
"pretest": "npm run clean && npm run tsc -- -P tsconfig.test.json",
"test": "ava dist/test/**/*.spec.*",
"lint": "npm run lint:typescript && npm run lint:javascript",
"lint:typescript": "tslint lib/**/*.ts test/**/*.ts",
"lint:javascript": "eslint lib/**/*.js test/**/*.js"
"build:prod": "npm run tsc -- -P tsconfig.prod.json",
"build:test": "npm run tsc -- -P tsconfig.test.json",
"pretest": "npm run clean && npm run build:test",
"test": "ava dist/test/**/*.{spec,e2e}.js",
"lint": "npm run lint:typescript",
"lint:typescript": "tslint {lib,test}/**/*.ts",
"lint:javascript": "eslint ./**/*.js"
},
"keywords": [
"arylo",
"typescript",
"date"

@@ -39,15 +42,22 @@ ],

"license": "MIT",
"yVersion": "2.1.16",
"devDependencies": {
"@types/node": "^10.3.0",
"ava": "^0.25.0",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/lint": "^7.2.1",
"@types/node": "^10.12.12",
"ava": "^1.0.1",
"eslint": "^5.10.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"rimraf": "^2.6.2",
"tslint": "^5.10.0",
"typescript": "^2.8.3"
"prettier": "^1.15.3",
"tslint": "^5.11.0",
"typescript": "^3.2.2"
}
}

@@ -46,2 +46,2 @@ # dtss

[LICENSE_URL]: https://img.shields.io/github/license/Arylo/npm-project-init.svg?style=flat-square&maxAge=7200
[LICENSE_HREF]: https://opensource.org/licenses/MIT
[LICENSE_HREF]: https://opensource.org/licenses/MIT
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