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

@npmcli/template-oss

Package Overview
Dependencies
Maintainers
6
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/template-oss - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

4

lib/util/files.js

@@ -7,2 +7,4 @@ const { join } = require('path')

const globify = pattern => pattern.split('\\').join('/')
// target paths need to be joinsed with dir and templated

@@ -37,3 +39,3 @@ const fullTarget = (dir, file, options) => join(dir, template(file, options))

for (const target of files.map((t) => fullTarget(dir, t, options))) {
for (const file of await glob(target, { cwd: dir })) {
for (const file of await glob(globify(target), { cwd: dir })) {
res.push(await fn(file))

@@ -40,0 +42,0 @@ }

{
"name": "@npmcli/template-oss",
"version": "3.4.1",
"version": "3.4.2",
"description": "templated files used in npm CLI team oss projects",

@@ -39,2 +39,3 @@ "main": "lib/content/index.js",

"diff": "^5.0.0",
"glob": "^8.0.1",
"handlebars": "^4.7.7",

@@ -41,0 +42,0 @@ "hosted-git-info": "^5.0.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