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

ipjs

Package Overview
Dependencies
Maintainers
1
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.4.4 to 4.0.0

2

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

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

@@ -56,4 +56,3 @@ import { promises as fs } from 'fs'

if (!json.exports) {
if (!json.main) exports['.'] = { import: this.file(toURL('./index.js')) }
exports['.'] = { import: this.file(toURL(json.main)) }
exports['.'] = { import: this.file(toURL(json.main || './index.js')) }
} else {

@@ -186,3 +185,3 @@ for (const [key, value] of Object.entries(json.exports)) {

delete json.type
delete json.main
json.main = `./${join('./cjs', json.main || './index.js')}`
json.browser = {}

@@ -189,0 +188,0 @@ json.exports = {}

@@ -5,3 +5,3 @@ {

"description": "",
"main": "index.js",
"main": "src/index.js",
"type": "module",

@@ -8,0 +8,0 @@ "scripts": {

@@ -5,2 +5,3 @@ {

"description": "",
"main": "./cjs/src/index.js",
"scripts": {

@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

@@ -5,2 +5,3 @@ {

"description": "",
"main": "./cjs/src/index.js",
"scripts": {

@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 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