@zodash/jsonp
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
7026
0