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

dx-lib

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dx-lib - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

lib/jsonp/index.js

@@ -16,2 +16,5 @@ import { param } from '../param/index.js'

const fn = '_' + String(Math.random()).substring(2)
data[callback] = fn
url += url.indexOf('?') > 0 ? '&' : '?'

@@ -22,5 +25,3 @@ url += param(data)

const script = document.createElement("script")
const fn = '_' + String(Math.random()).substring(2)
data[callback] = fn
window[fn] = function(d) {

@@ -27,0 +28,0 @@ resolve(d)

2

package.json
{
"name": "dx-lib",
"version": "0.1.1",
"version": "0.1.2",
"description": "dx fe lib",

@@ -5,0 +5,0 @@ "main": "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