diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index 5a14a84..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2023-08-01T02:02:45.048Z diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index 334eb59..91f2b93 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -82,21 +82,6 @@ jobs: id: transform-error-messages uses: stdlib-js/transform-errors-action@main - # Format error messages: - - name: 'Replace double quotes with single quotes in rewritten format string error messages' - run: | - find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \; - - # Format string literal error messages: - - name: 'Replace double quotes with single quotes in rewritten string literal error messages' - run: | - find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \; - - # Format code: - - name: 'Replace double quotes with single quotes in inserted `require` calls' - run: | - find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \; - # Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency: - name: 'Update dependencies in package.json' run: | diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..bca1173 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,3 @@ +/// +import dnanmin from '../docs/types/index'; +export = dnanmin; \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..176bf09 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,9 @@ +"use strict";var f=function(i,a){return function(){return a||i((a={exports:{}}).exports,a),a.exports}};var q=f(function(z,s){ +var b=require('@stdlib/math-base-assert-is-nan/dist'),d=require('@stdlib/math-base-assert-is-negative-zero/dist');function g(i,a,u){var v,n,e,r;if(i<=0)return NaN;if(i===1||u===0)return a[0];for(u<0?n=(1-i)*u:n=0,r=0;r