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

license.js

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license.js - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

4

lib/index.js

@@ -21,3 +21,3 @@ const { resolve } = require('path')

: null,
warranty: indexFile[name].header
warranty: indexFile[name].warranty
? fs.readFileSync(pathToLicense(`${name}-warranty`)).toString()

@@ -40,3 +40,3 @@ : null,

: null,
indexFile[name].header
indexFile[name].warranty
? readFile(pathToLicense(`${name}-warranty`))

@@ -43,0 +43,0 @@ : null,

{
"name": "license.js",
"version": "3.1.1",
"version": "3.1.2",
"description": "Get SPDX license template text",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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