New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yaku

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaku - npm Package Compare versions

Comparing version 0.11.4 to 0.11.5

lib/yaku.d.ts

4

lib/utils.js

@@ -153,3 +153,3 @@ // This file contains all the non-ES6-standard helpers based on promise.

/**
* Create a symbole that never ends.
* Create a promise that never ends.
* @return {Promise} A promise that will end the current pipeline.

@@ -244,3 +244,3 @@ */

* await sleep(t);
* attempt++ < retries;
* return attempt++ < retries;
* };

@@ -247,0 +247,0 @@ * }

/*
Yaku v0.11.4
Yaku v0.11.5
(c) 2015 Yad Smood. http://ysmood.org

@@ -93,2 +93,4 @@ License MIT

Yaku.default = Yaku;
extendPrototype(Yaku, {

@@ -95,0 +97,0 @@ /**

{
"name": "yaku",
"version": "0.11.4",
"version": "0.11.5",
"description": "A light-weight ES6 Promises/A+ implementation that doesn't hurt.",
"main": "lib/yaku.js",
"typings": "lib/yaku.d.ts",
"scripts": {

@@ -43,5 +44,7 @@ "no": "no",

"eslint": "1.7.3",
"junit": "0.6.1",
"nokit": "0.14.9",
"junit": "0.8.2",
"mocha": "2.3.4",
"nokit": "0.14.10",
"promises-aplus-tests": "*",
"promises-es6-tests": "*",
"q": "1.4.1",

@@ -48,0 +51,0 @@ "uglify-js": "2.5.0",

@@ -187,3 +187,3 @@ <a href="http://promisesaplus.com/">

- ### **[then(onFulfilled, onRejected)](src/yaku.js?source#L106)**
- ### **[then(onFulfilled, onRejected)](src/yaku.js?source#L108)**

@@ -217,3 +217,3 @@ Appends fulfillment and rejection handlers to the promise,

- ### **[catch(onRejected)](src/yaku.js?source#L126)**
- ### **[catch(onRejected)](src/yaku.js?source#L128)**

@@ -243,3 +243,3 @@ The `catch()` method returns a Promise and deals with rejected cases only.

- ### **[Yaku.resolve(value)](src/yaku.js?source#L156)**
- ### **[Yaku.resolve(value)](src/yaku.js?source#L158)**

@@ -264,3 +264,3 @@ The `Promise.resolve(value)` method returns a Promise object that is resolved with the given value.

- ### **[Yaku.reject(reason)](src/yaku.js?source#L170)**
- ### **[Yaku.reject(reason)](src/yaku.js?source#L172)**

@@ -282,3 +282,3 @@ The `Promise.reject(reason)` method returns a Promise object that is rejected with the given reason.

- ### **[Yaku.race(iterable)](src/yaku.js?source#L194)**
- ### **[Yaku.race(iterable)](src/yaku.js?source#L196)**

@@ -312,3 +312,3 @@ The `Promise.race(iterable)` method returns a promise that resolves or rejects

- ### **[Yaku.all(iterable)](src/yaku.js?source#L251)**
- ### **[Yaku.all(iterable)](src/yaku.js?source#L253)**

@@ -357,3 +357,3 @@ The `Promise.all(iterable)` method returns a promise that resolves when

- ### **[Yaku.Symbol](src/yaku.js?source#L300)**
- ### **[Yaku.Symbol](src/yaku.js?source#L302)**

@@ -373,3 +373,3 @@ The ES6 Symbol object that Yaku should use, by default it will use the

- ### **[Yaku.onUnhandledRejection(reason, p)](src/yaku.js?source#L322)**
- ### **[Yaku.onUnhandledRejection(reason, p)](src/yaku.js?source#L324)**

@@ -403,3 +403,3 @@ Catch all possibly unhandled rejections. If you want to use specific

- ### **[Yaku.enableLongStackTrace](src/yaku.js?source#L342)**
- ### **[Yaku.enableLongStackTrace](src/yaku.js?source#L344)**

@@ -419,3 +419,3 @@ It is used to enable the long stack trace.

- ### **[Yaku.nextTick](src/yaku.js?source#L365)**
- ### **[Yaku.nextTick](src/yaku.js?source#L367)**

@@ -445,3 +445,3 @@ Only Node has `process.nextTick` function. For browser there are

- ### **[genIterator(obj)](src/yaku.js?source#L469)**
- ### **[genIterator(obj)](src/yaku.js?source#L471)**

@@ -651,3 +651,3 @@ Generate a iterator

Create a symbole that never ends.
Create a promise that never ends.

@@ -777,3 +777,3 @@ - **<u>return</u>**: { _Promise_ }

await sleep(t);
attempt++ < retries;
return attempt++ < retries;
};

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