Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/warning

Package Overview
Dependencies
Maintainers
24
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/warning - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

src/index.ts

2

build-module/index.js

@@ -13,3 +13,3 @@ /**

*
* @param {string} message Message to show in the warning.
* @param message Message to show in the warning.
*

@@ -16,0 +16,0 @@ * @example

/**
* Object map tracking messages which have been logged, for use in ensuring a
* message is only logged once.
*
* @type {Set<string>}
*/
export const logged = new Set();
//# sourceMappingURL=utils.js.map
/**
* Shows a warning with `message` if environment is not `production`.
*
* @param {string} message Message to show in the warning.
* @param message Message to show in the warning.
*

@@ -6,0 +6,0 @@ * @example

/**
* Object map tracking messages which have been logged, for use in ensuring a
* message is only logged once.
*
* @type {Set<string>}
*/
export const logged: Set<string>;
export declare const logged: Set<string>;
//# sourceMappingURL=utils.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

*
* @param {string} message Message to show in the warning.
* @param message Message to show in the warning.
*

@@ -23,0 +23,0 @@ * @example

@@ -10,6 +10,4 @@ "use strict";

* message is only logged once.
*
* @type {Set<string>}
*/
const logged = exports.logged = new Set();
//# sourceMappingURL=utils.js.map

@@ -5,2 +5,8 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. -->

## 3.1.0 (2024-06-15)
### Internal
- Refactor to TypeScript ([#62557](https://github.com/WordPress/gutenberg/pull/62557)).
## 3.0.0 (2024-05-31)

@@ -151,1 +157,2 @@

Initial release.
{
"name": "@wordpress/warning",
"version": "3.0.1",
"version": "3.1.0",
"description": "Warning utility for WordPress.",

@@ -33,3 +33,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "0e973525f7787401b5a544e0727774d52a78639f"
"gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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