Skip to content

Commit

Permalink
BREAKING CHANGE: remove thunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Neerajpathak07 committed Feb 25, 2025
1 parent 752cc0c commit 7b41035
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
22 changes: 0 additions & 22 deletions lib/node_modules/@stdlib/utils/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ import someBy = require( '@stdlib/utils/some-by' );
import someByRight = require( '@stdlib/utils/some-by-right' );
import tabulate = require( '@stdlib/utils/tabulate' );
import tabulateBy = require( '@stdlib/utils/tabulate-by' );
import thunk = require( '@stdlib/utils/thunk' );
import timeit = require( '@stdlib/utils/timeit' );
import trycatch = require( '@stdlib/utils/try-catch' );
import tryFunction = require( '@stdlib/utils/try-function' );
Expand Down Expand Up @@ -5401,27 +5400,6 @@ interface Namespace {
*/
tabulateBy: typeof tabulateBy;

/**
* Returns a thunk.
*
* @param fcn - function to convert to a thunk
* @param args - function args
* @returns thunk
*
* @example
* var add = require( '@stdlib/number/float64/base/add' );
*
* var f = ns.thunk( add, 2, 3 );
* // returns <Function>
*
* // ...
*
* // Evaluate the ns.thunk:
* var v = f();
* // returns 5
*/
thunk: typeof thunk;

/**
* Times a snippet.
*
Expand Down
9 changes: 0 additions & 9 deletions lib/node_modules/@stdlib/utils/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1678,15 +1678,6 @@ setReadOnly( utils, 'tabulate', require( '@stdlib/utils/tabulate' ) );
*/
setReadOnly( utils, 'tabulateBy', require( '@stdlib/utils/tabulate-by' ) );

/**
* @name thunk
* @memberof utils
* @readonly
* @type {Function}
* @see {@link module:@stdlib/utils/thunk}
*/
setReadOnly( utils, 'thunk', require( '@stdlib/utils/thunk' ) );

/**
* @name timeit
* @memberof utils
Expand Down

0 comments on commit 7b41035

Please sign in to comment.