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

@wordpress/date

Package Overview
Dependencies
Maintainers
25
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/date - npm Package Compare versions

Comparing version 4.16.0 to 4.16.1-next.957ca95e4c.0

5

build-module/index.js

@@ -559,3 +559,6 @@ /**

if (timezone && !isUTCOffset(timezone)) {
return dateMoment.tz(String(timezone));
// The ! isUTCOffset() check guarantees that timezone is a string.
return dateMoment.tz(
/** @type {string} */
timezone);
}

@@ -562,0 +565,0 @@

@@ -591,3 +591,6 @@ "use strict";

if (timezone && !isUTCOffset(timezone)) {
return dateMoment.tz(String(timezone));
// The ! isUTCOffset() check guarantees that timezone is a string.
return dateMoment.tz(
/** @type {string} */
timezone);
}

@@ -594,0 +597,0 @@

4

package.json
{
"name": "@wordpress/date",
"version": "4.16.0",
"version": "4.16.1-next.957ca95e4c.0",
"description": "Date module for WordPress.",

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

},
"gitHead": "171b87c7465b93e685e081c5f57f153507363c95"
"gitHead": "272a74bbbaab10ee24424eafe9578e705fbfbbb4"
}

@@ -583,3 +583,4 @@ /**

if ( timezone && ! isUTCOffset( timezone ) ) {
return dateMoment.tz( String( timezone ) );
// The ! isUTCOffset() check guarantees that timezone is a string.
return dateMoment.tz( /** @type {string} */ ( timezone ) );
}

@@ -586,0 +587,0 @@

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