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

@autoplay/utils

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autoplay/utils - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

1

dist/internal/DevString.d.ts

@@ -31,2 +31,3 @@ import { DevError } from "./DevError";

because(cause: DevString): DevString;
because(tmpl: TemplateStringsArray, ...substitutions: any[]): DevString;
record(key: string, value: unknown): DevString;

@@ -33,0 +34,0 @@ asError(): DevError;

10

dist/internal/DevString.js

@@ -26,12 +26,6 @@ import { DevError } from "./DevError";

}
/**
* @example
* dev`login failure`.because(reason)
* dev`failed token exchange with ${issuerURL}`.because(reason)
* dev`Continue button to show`.because(reason)
*/
because(cause) {
because(cause, ...substitutions) {
return new DevString(this._templateOrID, this._subs, {
...this._values,
cause: add(this._values?.cause, cause),
cause: add(this._values?.cause, cause instanceof DevString ? cause : new DevString(cause, substitutions)),
});

@@ -38,0 +32,0 @@ }

{
"name": "@autoplay/utils",
"version": "0.0.16",
"version": "0.0.17",
"description": "Utilities designed for error management, parsing, and TypeScript domain modeling.",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -40,6 +40,8 @@ import { DevError } from "./DevError";

*/
because(cause: DevString): DevString {
because(cause: DevString): DevString;
because(tmpl: TemplateStringsArray, ...substitutions: any[]): DevString;
because(cause: DevString | TemplateStringsArray, ...substitutions: any[]): DevString {
return new DevString(this._templateOrID, this._subs, {
...this._values,
cause: add(this._values?.cause, cause),
cause: add(this._values?.cause, cause instanceof DevString ? cause : new DevString(cause, substitutions)),
});

@@ -46,0 +48,0 @@ }

Sorry, the diff of this file is not supported yet

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