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

@symbo.ls/utils

Package Overview
Dependencies
Maintainers
7
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/utils - npm Package Compare versions

Comparing version 2.10.255 to 2.10.259

4

package.json
{
"name": "@symbo.ls/utils",
"version": "2.10.255",
"version": "2.10.259",
"main": "src/index.js",

@@ -10,3 +10,3 @@ "author": "symbo.ls",

},
"gitHead": "381c6ca8af5771e4b6bff01378c2d664c6fbced4"
"gitHead": "c454826279438617c85a5f8d8e7b3a6938d94dea"
}

@@ -6,6 +6,6 @@ 'use strict'

const d = new Date(timestamp)
let ye = new Intl.DateTimeFormat('en', { year: 'numeric' }).format(d)
let mo = new Intl.DateTimeFormat('en', { month: 'short' }).format(d)
let da = new Intl.DateTimeFormat('en', { day: '2-digit' }).format(d)
const ye = new Intl.DateTimeFormat('en', { year: 'numeric' }).format(d)
const mo = new Intl.DateTimeFormat('en', { month: 'short' }).format(d)
const da = new Intl.DateTimeFormat('en', { day: '2-digit' }).format(d)
return `${da} ${mo}, ${ye}`
}
}

@@ -11,3 +11,3 @@ 'use strict'

export const copyStringToClipboard = str => {
var el = document.createElement('textarea')
const el = document.createElement('textarea')
el.value = str

@@ -14,0 +14,0 @@ el.setAttribute('readonly', '')

@@ -6,3 +6,5 @@ 'use strict'

.map(({ href, sub_links }) => // eslint-disable-line
[href, sub_links.map(({ href }) => href).filter(v => v.indexOf('#') === -1)].filter(v => v.length > 0)
[href, sub_links.map(({ href }) => href) // eslint-disable-line
.filter(v => v.indexOf('#') === -1)]
.filter(v => v.length > 0)
)

@@ -16,3 +18,3 @@ }

hrefArray.map((v, k) => {
hrefArray.forEach((v, k) => {
if (v[0] === pathname) index = k

@@ -34,3 +36,3 @@ if (v[1] && v[1].indexOf(pathname) > -1) {

hrefArray.map((v, k) => {
hrefArray.forEach((v, k) => {
const categoryRoute = v[0]

@@ -37,0 +39,0 @@ const subcategoryRoutes = v[1]

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