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 5.1.2 to 5.2.0

2

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

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

@@ -14,2 +14,3 @@ import { promises as fs, existsSync } from 'fs'

const copy = o => JSON.parse(JSON.stringify(o))
const cleanPath = (p) => p.replace(/\\/g, '/')
const vals = Object.values

@@ -150,3 +151,3 @@

}
const code = paths.map(p => `import("${p.replace(/\\/g, '/')}")`).join('\n')
const code = paths.map(p => `import("${cleanPath(p)}")`).join('\n')
const input = new URL(dist + '/esm/_ipjsInput.js')

@@ -256,3 +257,3 @@ await writeFile(input, code)

json.exports = {}
const _join = (...args) => './' + join(...args)
const _join = (...args) => `./${cleanPath(join(...args))}`
const esmBrowser = {}

@@ -272,3 +273,3 @@ for (const [key, ex] of Object.entries(this.exports)) {

json.browser[_join('cjs', _import)] = _join('cjs', _browser)
esmBrowser[_import] = _browser
esmBrowser[cleanPath(_import)] = cleanPath(_browser)
}

@@ -275,0 +276,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