Comparing version 10.3.0 to 10.4.0
// Import | ||
import { isError } from 'https://unpkg.com/typechecker@^8.2.0/edition-deno/index.ts' | ||
import { isError } from 'https://unpkg.com/typechecker@^8.5.0/edition-deno/index.ts' | ||
@@ -4,0 +4,0 @@ // Handle success case |
"use strict"; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -59,3 +84,3 @@ // Import | ||
]); | ||
method.apply(void 0, xargs); | ||
method.apply(void 0, __spreadArray([], __read(xargs), false)); | ||
}).then(onSuccess); | ||
@@ -65,3 +90,3 @@ } | ||
else { | ||
return Promise.resolve(method.apply(void 0, args)).then(onSuccess); | ||
return Promise.resolve(method.apply(void 0, __spreadArray([], __read(args), false))).then(onSuccess); | ||
} | ||
@@ -68,0 +93,0 @@ } |
{ | ||
"name": "ambi", | ||
"version": "10.3.0", | ||
"version": "10.4.0", | ||
"description": "Ambi lets you execute any function ambidextrously; providing you the ability to execute any function (be it synchronous, asynchronous, returns, callbacks, promises) as if it returned a promise.", | ||
@@ -45,3 +45,2 @@ "homepage": "https://github.com/bevry/ambi", | ||
"patreon", | ||
"flattr", | ||
"liberapay", | ||
@@ -52,3 +51,5 @@ "buymeacoffee", | ||
"paypal", | ||
"wishlist" | ||
"---", | ||
"discord", | ||
"twitch" | ||
], | ||
@@ -58,3 +59,3 @@ "config": { | ||
"githubSponsorsUsername": "balupton", | ||
"thanksdevGithubUsername": "balupton", | ||
"thanksdevGithubUsername": "bevry", | ||
"buymeacoffeeUsername": "balupton", | ||
@@ -68,2 +69,5 @@ "cryptoURL": "https://bevry.me/crypto", | ||
"wishlistURL": "https://bevry.me/wishlist", | ||
"discordServerID": "1147436445783560193", | ||
"discordServerInvite": "nQuXddV7VP", | ||
"twitchUsername": "balupton", | ||
"githubUsername": "bevry", | ||
@@ -167,2 +171,13 @@ "githubRepository": "ambi", | ||
{ | ||
"description": "TypeScript compiled Types with Import for modules", | ||
"directory": "edition-types", | ||
"entry": "index.d.ts", | ||
"tags": [ | ||
"compiled", | ||
"types", | ||
"import" | ||
], | ||
"engines": false | ||
}, | ||
{ | ||
"description": "TypeScript source code made to be compatible with Deno", | ||
@@ -182,3 +197,3 @@ "directory": "edition-deno", | ||
], | ||
"types": "./compiled-types/", | ||
"types": "edition-types/index.d.ts", | ||
"type": "module", | ||
@@ -188,2 +203,3 @@ "main": "index.cjs", | ||
"node": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-es2022-esm/index.js", | ||
@@ -194,2 +210,3 @@ "default": "./index.cjs", | ||
"browser": { | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-browsers/index.js" | ||
@@ -203,27 +220,27 @@ } | ||
"editions": "^6.13.0", | ||
"typechecker": "^8.2.0" | ||
"typechecker": "^8.5.0" | ||
}, | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.9.0", | ||
"@typescript-eslint/eslint-plugin": "^6.11.0", | ||
"@typescript-eslint/parser": "^6.11.0", | ||
"assert-helpers": "^11.4.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-bevry": "^4.0.0", | ||
"@types/node": "^20.9.3", | ||
"@typescript-eslint/eslint-plugin": "^6.12.0", | ||
"@typescript-eslint/parser": "^6.12.0", | ||
"assert-helpers": "^11.5.0", | ||
"eslint": "^8.54.0", | ||
"eslint-config-bevry": "^5.0.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "^7.1.0", | ||
"kava": "^7.2.0", | ||
"make-deno-edition": "^1.3.0", | ||
"prettier": "^3.1.0", | ||
"projectz": "^3.0.0", | ||
"projectz": "^3.2.0", | ||
"surge": "^0.23.1", | ||
"typedoc": "^0.25.3", | ||
"typescript": "5.2.2", | ||
"valid-directory": "^4.2.0", | ||
"valid-module": "^2.2.0" | ||
"valid-directory": "^4.4.0", | ||
"valid-module": "^2.4.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:types", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:edition-types", | ||
"our:compile:deno": "make-deno-edition --attempt", | ||
@@ -234,3 +251,3 @@ "our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )", | ||
"our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json", | ||
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )", | ||
"our:compile:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )", | ||
"our:deploy": "printf '%s\n' 'no need for this project'", | ||
@@ -237,0 +254,0 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", |
@@ -15,5 +15,4 @@ <!-- TITLE/ --> | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/balupton" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span> | ||
@@ -24,3 +23,5 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://bevry.me/paypal" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
<br class="badge-separator" /> | ||
<span class="badge-discord"><a href="https://discord.gg/nQuXddV7VP" title="Join this project's community on Discord"><img src="https://img.shields.io/discord/1147436445783560193?logo=discord&label=discord" alt="Discord server badge" /></a></span> | ||
<span class="badge-twitch"><a href="https://www.twitch.tv/balupton" title="Join this project's community on Twitch"><img src="https://img.shields.io/twitch/status/balupton?logo=twitch" alt="Twitch community badge" /></a></span> | ||
@@ -59,3 +60,3 @@ <!-- /BADGES --> | ||
``` typescript | ||
import pkg from 'https://unpkg.com/ambi@^10.3.0/edition-deno/index.ts' | ||
import pkg from 'https://unpkg.com/ambi@^10.4.0/edition-deno/index.ts' | ||
``` | ||
@@ -67,3 +68,3 @@ | ||
<script type="module"> | ||
import pkg from '//cdn.skypack.dev/ambi@^10.3.0' | ||
import pkg from '//cdn.skypack.dev/ambi@^10.4.0' | ||
</script> | ||
@@ -76,3 +77,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/ambi@^10.3.0' | ||
import pkg from '//unpkg.com/ambi@^10.4.0' | ||
</script> | ||
@@ -85,3 +86,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/ambi@10.3.0' | ||
import pkg from '//dev.jspm.io/ambi@10.4.0' | ||
</script> | ||
@@ -100,2 +101,3 @@ ``` | ||
<li><code>ambi/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>ambi/edition-types/index.d.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled Types with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>ambi/edition-deno/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code made to be compatible with <a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js">Deno</a></li></ul> | ||
@@ -139,5 +141,4 @@ | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/balupton" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-liberapay"><a href="https://liberapay.com/bevry" title="Donate to this project using Liberapay"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg" alt="Liberapay donate button" /></a></span> | ||
@@ -148,3 +149,2 @@ <span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/balupton" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://bevry.me/paypal" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
@@ -151,0 +151,0 @@ <h3>Contributors</h3> |
@@ -5,3 +5,3 @@ # Security Policy | ||
This project meets standardized secure software development practices, including 2FA for all members, password managers with monitoring, secure secret retrieval instead of storage. [Learn more about our practices.](https://tidelift.com/funding/github/npm/ambi) | ||
This project meets standardized secure software development practices, including 2FA for all members, password managers with monitoring, secure secret retrieval instead of storage. [Learn about our practices.](https://tidelift.com/funding/github/npm/ambi) | ||
@@ -12,5 +12,5 @@ ## Supported Versions | ||
[Refer to supported ecosystem versions: `Editions` section in `README.md`.](https://github.com/bevry/ambi/blob/master/README.md#Editions) | ||
[Refer to supported ecosystem versions: `Editions` section in `README.md`](https://github.com/bevry/ambi/blob/master/README.md#Editions) | ||
[Refer to automated support of ecosystem versions: `boundation` entries in `HISTORY.md`.](https://github.com/bevry/ambi/blob/master/HISTORY.md) | ||
[Refer to automated support of ecosystem versions: `boundation` entries in `HISTORY.md`](https://github.com/bevry/ambi/blob/master/HISTORY.md) | ||
@@ -17,0 +17,0 @@ Besides testing and verification, out CI also [auto-merges](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions) [Dependabot security updates](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) and [auto-publishes](https://github.com/bevry-actions/npm) successful builds of the [`master` branch](https://github.com/bevry/wait/actions?query=branch%3Amaster) to the [`next` version tag](https://www.npmjs.com/package/ambi?activeTab=versions), offering immediate resolutions before scheduled maintenance releases. |
@@ -10,5 +10,6 @@ { | ||
"target": "ES2022", | ||
"module": "ESNext" | ||
"module": "ESNext", | ||
"downlevelIteration": true | ||
}, | ||
"include": ["source"] | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49177
422
Updatedtypechecker@^8.5.0