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

waitasecond

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waitasecond - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

dist/functions/forEver.d.ts

4

dist/main.d.ts

@@ -5,5 +5,7 @@ import { forAllImagesInElement } from './functions/forAllImagesInElement';

import { forDOMContentLoaded } from './functions/forDOMContentLoaded';
import { forEver } from './functions/forEver';
import { forTime } from './functions/forTime';
import { forTimeout } from './functions/forTimeout';
import { forTimeSynced } from './functions/forTimeSynced';
import { forValueDefined } from './functions/forValueDefined';
export { forAllImagesInElement, forAnimationFrame, forTime, forTimeSynced, forValueDefined, forDocumentLoad, forDOMContentLoaded, };
export { forTime, forEver, forTimeout, forTimeSynced, forValueDefined, forDocumentLoad, forAnimationFrame, forDOMContentLoaded, forAllImagesInElement, };
"use strict";
// GENERATED WITH generate-main-exports
// Warning: Do not edit by hand, all changes will be lost on next execution!
Object.defineProperty(exports, "__esModule", { value: true });

@@ -11,4 +13,8 @@ var forAllImagesInElement_1 = require("./functions/forAllImagesInElement");

exports.forDOMContentLoaded = forDOMContentLoaded_1.forDOMContentLoaded;
var forEver_1 = require("./functions/forEver");
exports.forEver = forEver_1.forEver;
var forTime_1 = require("./functions/forTime");
exports.forTime = forTime_1.forTime;
var forTimeout_1 = require("./functions/forTimeout");
exports.forTimeout = forTimeout_1.forTimeout;
var forTimeSynced_1 = require("./functions/forTimeSynced");

@@ -18,4 +24,1 @@ exports.forTimeSynced = forTimeSynced_1.forTimeSynced;

exports.forValueDefined = forValueDefined_1.forValueDefined;
// TODO: Auto add
// TODO: Auto update where it is used (but in more clever way)
// TODO: forever
{
"name": "waitasecond",
"version": "1.3.0",
"version": "1.4.0",
"description": "Simple tool library for the waiting using Promises.",

@@ -19,4 +19,5 @@ "main": "dist/main.js",

"prettier": "prettier --config .prettierrc --write \"{src,test,.vscode}/**/*.{ts,json}\"",
"pretty-imports": "npx organize-imports-cli tsconfig.json",
"prettier-watch": "onchange \"{src,test,.vscode}/**/*.{ts,json}\" -- prettier --config .prettierrc --write {{changed}}",
"prettier-commit": "git diff --exit-code && npm run prettier && git add src && git commit --allow-empty -m \"Prettier\"",
"prettier-commit": "git diff --exit-code && npm run pretty-imports && npm run prettier && git add src && git commit --allow-empty -m \"Prettier\"",
"documentation": "typedoc --excludePrivate --hideGenerator --mode file --theme minimal --out docs --name \"Wait second\" ./src",

@@ -27,3 +28,5 @@ "documentation-commit": "git diff --exit-code && npm run documentation && git add docs && git commit --allow-empty -m \"Documentation\"",

"lint": "tslint -p tsconfig.json",
"preversion": "npm test && npm run lint && npm run build && npm run prettier-commit && npm run documentation-commit",
"generate-main-exports": "ts-node ./scripts/generate-main-exports/generate-main-exports.ts",
"generate-main-exports-commit": "git diff --exit-code && npm run generate-main-exports && npm run prettier && git add src && git commit --allow-empty -m \"Updating exports\"",
"preversion": "npm test && npm run lint && npm run generate-main-exports-commit && npm run build && npm run prettier-commit && npm run documentation-commit",
"postversion": "git push && git push --tags && npm publish"

@@ -41,6 +44,9 @@ },

"codecov": "^3.5.0",
"glob-promise": "^3.4.0",
"jest": "^24.8.0",
"onchange": "^3.3.0",
"organize-imports-cli": "^0.8.0",
"prettier": "github:prettier/prettier",
"ts-jest": "^24.0.2",
"ts-node": "^9.0.0",
"tslint": "^5.17.0",

@@ -47,0 +53,0 @@ "tslint-config-prettier": "^1.18.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