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

@zodash/jsonp

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zodash/jsonp - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.0.10](https://github.com/zcorky/zodash/compare/@zodash/jsonp@0.0.9...@zodash/jsonp@0.0.10) (2021-07-05)
**Note:** Version bump only for package @zodash/jsonp
## [0.0.9](https://github.com/zcorky/zodash/compare/@zodash/jsonp@0.0.8...@zodash/jsonp@0.0.9) (2021-05-03)

@@ -8,0 +16,0 @@

2

lib/index.d.ts

@@ -27,3 +27,3 @@ export interface IOptions {

*/
export declare function jsonp<D = any>(url: string, options: IOptions): Promise<D>;
export declare function jsonp<D = any>(url: string, options?: IOptions): Promise<D>;
export default jsonp;

@@ -20,4 +20,4 @@ "use strict";

// @S1 prepare callback
const callbackName = (options === null || options === void 0 ? void 0 : options.callbackName)
|| `_zodash_jsonp_callvack_${uuid_1.uuid().replace(/_/g, '_')}`;
const callbackName = (options === null || options === void 0 ? void 0 : options.callbackName) ||
`_zodash_jsonp_callvack_${uuid_1.uuid().replace(/_/g, '_')}`;
const callbackFn = (data) => {

@@ -24,0 +24,0 @@ // clear callback

{
"name": "@zodash/jsonp",
"version": "0.0.9",
"version": "0.0.10",
"description": "A simple jsonp function",

@@ -71,3 +71,3 @@ "keywords": [

},
"gitHead": "904ffa5f78d9aae6d39c9946cf5c36c7a4bcb60b"
"gitHead": "db1dbab8612432427055de1c4c027dfca51087f2"
}
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