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

@dji-dev/us-web-util

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dji-dev/us-web-util - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

5

CHANGELOG.md

@@ -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 @@

2

dist/dom.d.ts

@@ -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'],
}

2

lib/__tests__/index.test.ts

@@ -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.

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