@dji-dev/us-web-util
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -0,1 +1,6 @@ | ||
# 1.1.0 | ||
- Export `js-cookie` library as 'blessed' solution. | ||
- Re-export TypeScript typings for re-exported utilities. | ||
# 1.0.1 | ||
@@ -2,0 +7,0 @@ |
@@ -0,1 +1,2 @@ | ||
import Cookies from 'js-cookie'; | ||
import { LngLat } from './types'; | ||
@@ -40,1 +41,2 @@ /** | ||
export declare function isMobileSafari(): boolean; | ||
export { Cookies }; |
@@ -5,2 +5,3 @@ export { default as debounce } from 'lodash.debounce'; | ||
export { default as deepClone } from 'clone-deep'; | ||
export { default as Cookies } from 'js-cookie'; | ||
@@ -7,0 +8,0 @@ var MAXIMUM_AGE_MINUTES = 30; |
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testPathIgnorePatterns: ['<rootDir>/dist'], | ||
} |
@@ -86,3 +86,3 @@ import 'promise-any-polyfill' | ||
await Promise.any([ | ||
resolveTimeout(120).then(() => { | ||
resolveTimeout(300).then(() => { | ||
throw new Error('failed') | ||
@@ -89,0 +89,0 @@ }), |
@@ -0,1 +1,3 @@ | ||
import Cookies from 'js-cookie' | ||
import { LngLat } from './types' | ||
@@ -104,1 +106,3 @@ | ||
} | ||
export { Cookies } |
{ | ||
"name": "@dji-dev/us-web-util", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"main": "dist/index.js", | ||
@@ -20,4 +20,9 @@ "license": "All rights reserved.", | ||
"dependencies": { | ||
"@types/clone-deep": "^4.0.1", | ||
"@types/js-cookie": "^2.2.6", | ||
"@types/lodash.debounce": "^4.0.6", | ||
"@types/lodash.throttle": "^4.1.6", | ||
"clone-deep": "^4.0.1", | ||
"deepmerge": "^4.2.2", | ||
"js-cookie": "^2.2.1", | ||
"lodash.debounce": "^4.0.8", | ||
@@ -30,6 +35,3 @@ "lodash.throttle": "^4.1.1" | ||
"@rollup/plugin-typescript": "^5.0.1", | ||
"@types/clone-deep": "^4.0.1", | ||
"@types/jest": "^26.0.13", | ||
"@types/lodash.debounce": "^4.0.6", | ||
"@types/lodash.throttle": "^4.1.6", | ||
"@types/requestidlecallback": "^0.3.1", | ||
@@ -36,0 +38,0 @@ "documentation": "^13.0.2", |
@@ -7,3 +7,3 @@ # @dji-dev/us-web-util | ||
`yarn add -D @dji-dev/us-web-util` | ||
`yarn add @dji-dev/us-web-util` | ||
@@ -10,0 +10,0 @@ Using `yarn` is highly recommended but not required. |
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
31513
12
629
9
+ Added@types/clone-deep@^4.0.1
+ Added@types/js-cookie@^2.2.6
+ Addedjs-cookie@^2.2.1
+ Added@types/clone-deep@4.0.4(transitive)
+ Added@types/js-cookie@2.2.7(transitive)
+ Added@types/lodash@4.17.13(transitive)
+ Added@types/lodash.debounce@4.0.9(transitive)
+ Added@types/lodash.throttle@4.1.9(transitive)
+ Addedjs-cookie@2.2.1(transitive)