reshow-hooks
Advanced tools
Comparing version 0.17.19 to 0.17.20
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.useTimer = exports.useSyncState = exports.useSyncChange = exports.usePrevious = exports.useMounted = exports.useLoaded = exports.useEnable = exports.useDebounce = void 0; | ||
exports.useTimer = exports.useSyncState = exports.useSyncChange = exports.usePrevious = exports.useMounted = exports.useLoaded = exports.useIntersectionObserver = exports.useEnable = exports.useDebounce = void 0; | ||
@@ -39,2 +39,6 @@ var _useDebounce = _interopRequireDefault(require("./useDebounce.js")); | ||
exports.useTimer = _useTimer["default"]; | ||
exports.useTimer = _useTimer["default"]; | ||
var _useIntersectionObserver = _interopRequireDefault(require("./useIntersectionObserver.js")); | ||
exports.useIntersectionObserver = _useIntersectionObserver["default"]; |
{ | ||
"version": "0.17.19", | ||
"version": "0.17.20", | ||
"name": "reshow-hooks", | ||
@@ -15,8 +15,2 @@ "repository": { | ||
], | ||
"main": "./build/cjs/src/index.js", | ||
"module": "./build/es/src/index.js", | ||
"exports": { | ||
"require": "./build/cjs/src/index.js", | ||
"import": "./build/es/src/index.mjs" | ||
}, | ||
"author": "Hill <hill@kimo.com>", | ||
@@ -26,2 +20,4 @@ "license": "MIT", | ||
"call-func": "*", | ||
"win-doc": "*", | ||
"reshow-build": "*", | ||
"reshow-constant": "*" | ||
@@ -35,7 +31,14 @@ }, | ||
}, | ||
"exports": { | ||
"require": "./build/cjs/src/index.js", | ||
"import": "./build/es/src/index.mjs" | ||
}, | ||
"main": "./build/cjs/src/index.js", | ||
"module": "./build/es/src/index.mjs", | ||
"scripts": { | ||
"clean": "find ./build -name '*.*' | xargs rm -rf", | ||
"clean": "find ./build ./types -name '*.*' | xargs rm -rf", | ||
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward", | ||
"build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es", | ||
"build:type": "npx -p typescript tsc src/*.js --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type", | ||
"mochaFor": "STRICT_MODE=1 mocha -r global-jsdom/register", | ||
@@ -46,3 +49,5 @@ "mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'", | ||
}, | ||
"types": "./types/index.d.ts", | ||
"files": [ | ||
"types", | ||
"build", | ||
@@ -49,0 +54,0 @@ "package.json", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances 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
28747
40
813
4
5
+ Addedreshow-build@*
+ Addedwin-doc@*
+ Addedarray.merge@0.2.1(transitive)
+ Addedget-object-value@0.7.3(transitive)
+ Addedreshow-build@1.3.1(transitive)
+ Addedwin-doc@0.3.4(transitive)