next-query-params
Advanced tools
Comparing version 4.2.3-alpha.1 to 4.2.3-alpha.2
@@ -1,1 +0,3 @@ | ||
export { default } from './dist/app.d.ts'; | ||
import NextAdapterApp from './dist/app.d.ts'; | ||
export = NextAdapterApp; |
@@ -8,3 +8,3 @@ 'use strict'; | ||
function NextAdapter(_ref) { | ||
function NextAdapterApp(_ref) { | ||
var children = _ref.children; | ||
@@ -40,3 +40,3 @@ var router = navigation.useRouter(); | ||
exports["default"] = NextAdapter; | ||
exports["default"] = NextAdapterApp; | ||
//# sourceMappingURL=app.cjs.development.js.map |
import { useRouter, usePathname, useSearchParams } from 'next/navigation'; | ||
import { useMemo } from 'react'; | ||
function NextAdapter(_ref) { | ||
function NextAdapterApp(_ref) { | ||
var children = _ref.children; | ||
@@ -35,3 +35,3 @@ var router = useRouter(); | ||
export { NextAdapter as default }; | ||
export { NextAdapterApp as default }; | ||
//# sourceMappingURL=app.esm.js.map |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var NextAdapterPages = require('./NextAdapterPages-c453d632.js'); | ||
var NextAdapterPages = require('./NextAdapterPages-b4b86ccd.js'); | ||
require('next/router'); | ||
@@ -12,4 +12,4 @@ require('react'); | ||
exports.NextAdapter = NextAdapterPages.NextAdapter; | ||
exports["default"] = NextAdapterPages.NextAdapter; | ||
exports.NextAdapter = NextAdapterPages.NextAdapterPages; | ||
exports["default"] = NextAdapterPages.NextAdapterPages; | ||
//# sourceMappingURL=index.cjs.development.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./NextAdapterPages-c453d632.js");require("next/router"),require("react"),exports.NextAdapter=e.NextAdapter,exports.default=e.NextAdapter; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./NextAdapterPages-b4b86ccd.js");require("next/router"),require("react"),exports.NextAdapter=e.NextAdapterPages,exports.default=e.NextAdapterPages; | ||
//# sourceMappingURL=index.cjs.production.min.js.map |
@@ -1,4 +0,4 @@ | ||
export { N as NextAdapter, N as default } from './NextAdapterPages-a1448234.js'; | ||
export { N as NextAdapter, N as default } from './NextAdapterPages-293777d9.js'; | ||
import 'next/router'; | ||
import 'react'; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -6,3 +6,3 @@ import { ReactElement } from 'react'; | ||
}; | ||
export default function NextAdapter({ children }: Props): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; | ||
export default function NextAdapterApp({ children }: Props): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; | ||
export {}; |
@@ -7,3 +7,3 @@ import { ReactElement } from 'react'; | ||
}; | ||
export default function NextAdapter({ children, shallow }: Props): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; | ||
export default function NextAdapterPages({ children, shallow }: Props): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; | ||
export {}; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var NextAdapterPages = require('./NextAdapterPages-c453d632.js'); | ||
var NextAdapterPages = require('./NextAdapterPages-b4b86ccd.js'); | ||
require('next/router'); | ||
@@ -12,3 +12,3 @@ require('react'); | ||
exports["default"] = NextAdapterPages.NextAdapter; | ||
exports["default"] = NextAdapterPages.NextAdapterPages; | ||
//# sourceMappingURL=pages.cjs.development.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./NextAdapterPages-c453d632.js");require("next/router"),require("react"),exports.default=e.NextAdapter; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./NextAdapterPages-b4b86ccd.js");require("next/router"),require("react"),exports.default=e.NextAdapterPages; | ||
//# sourceMappingURL=pages.cjs.production.min.js.map |
@@ -1,4 +0,4 @@ | ||
export { N as default } from './NextAdapterPages-a1448234.js'; | ||
export { N as default } from './NextAdapterPages-293777d9.js'; | ||
import 'next/router'; | ||
import 'react'; | ||
//# sourceMappingURL=pages.esm.js.map |
{ | ||
"name": "next-query-params", | ||
"version": "4.2.3-alpha.1", | ||
"version": "4.2.3-alpha.2", | ||
"sideEffects": false, | ||
@@ -39,4 +39,10 @@ "license": "MIT", | ||
".": "./dist/index.js", | ||
"./app": "./dist/app.js", | ||
"./pages": "./dist/pages.js" | ||
"./app": { | ||
"types": "./app.d.ts", | ||
"default": "./dist/app.js" | ||
}, | ||
"./pages": { | ||
"types": "./pages.d.ts", | ||
"default": "./dist/pages.js" | ||
} | ||
}, | ||
@@ -43,0 +49,0 @@ "peerDependencies": { |
@@ -1,1 +0,3 @@ | ||
export { default } from './dist/pages.d.ts'; | ||
import NextAdapterPages from './dist/pages.d.ts'; | ||
export = NextAdapterPages; |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
31430
208
0