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

@acanto/core-helpers

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acanto/core-helpers - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

21

interface.ts

@@ -38,1 +38,22 @@ import { $ } from "@acanto/core-dom";

}
/**
* @see https://stackoverflow.com/a/37673534/1938970
*
* @example
* ```js
* const deferred = new Defer();
* deferred.resolve();
* deferred.then(handleSuccess, handleError);
*/
export function Defer<T>() /* : PromiseConstructor */ {
const p = (this.promise = new Promise((resolve, reject) => {
this.resolve = resolve;
this.reject = reject;
}));
this.then = p.then.bind(p);
this.catch = p.catch.bind(p);
if (p.finally) {
this.finally = p.finally.bind(p);
}
}

6

package.json
{
"name": "@acanto/core-helpers",
"version": "0.0.33",
"version": "0.0.34",
"author": "Acanto <info@acanto.net> (https://acanto.agency/)",

@@ -17,3 +17,3 @@ "license": "ISC",

"@acanto/core-dom": "^0.0.18",
"@acanto/core-forms": "^0.0.42",
"@acanto/core-forms": "^0.0.43",
"date-fns": "^2.16.1",

@@ -24,3 +24,3 @@ "lodash.debounce": "^4.0.8",

"sideEffects": false,
"gitHead": "65d3acd9ef64d963bed7ad79144537c051a4bdf7"
"gitHead": "ce8a3a31c3c90fb08d496e6d33c0f3af7a59e377"
}
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