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

ipjs

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipjs - npm Package Compare versions

Comparing version 3.1.4 to 3.1.5

2

package.json
{
"name": "ipjs",
"version": "3.1.4",
"version": "3.1.5",
"description": "Universal JavaScript build and packaging system",

@@ -5,0 +5,0 @@ "main": "src/build.js",

@@ -94,2 +94,8 @@ import { promises as fs } from 'fs'

else key = './' + ex.slice(name.length + '/'.length)
if (!this.pkgjson.exports) {
throw new Error('Must define export map')
}
if (key === '.') {
if (this.pkgjson.exports.import) return this.pkgjson.exports
}
if (!this.pkgjson.exports[key]) throw new Error(`No export named "${ex}"`)

@@ -96,0 +102,0 @@ return this.pkgjson.exports[key]

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