@ndla/util
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -24,2 +24,4 @@ /** | ||
export { default as withNoSSR } from './nossr/withNoSSR'; | ||
export { default as usePrevious } from './usePrevious'; | ||
export { default as usePrevious } from './usePrevious'; | ||
export { composeRefs } from './composeRefs'; | ||
export { polymorphicForwardRef } from './polymorphicForwardRef'; |
@@ -24,1 +24,4 @@ /** | ||
export { default as usePrevious } from './usePrevious'; | ||
export { composeRefs } from './composeRefs'; | ||
export { polymorphicForwardRef } from './polymorphicForwardRef'; | ||
export type { PolymorphicProps } from './polymorphicForwardRef'; |
@@ -19,2 +19,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "composeRefs", { | ||
enumerable: true, | ||
get: function get() { | ||
return _composeRefs.composeRefs; | ||
} | ||
}); | ||
Object.defineProperty(exports, "copyTextToClipboard", { | ||
@@ -80,2 +86,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "polymorphicForwardRef", { | ||
enumerable: true, | ||
get: function get() { | ||
return _polymorphicForwardRef.polymorphicForwardRef; | ||
} | ||
}); | ||
Object.defineProperty(exports, "printPage", { | ||
@@ -145,4 +157,6 @@ enumerable: true, | ||
var _usePrevious = _interopRequireDefault(require("./usePrevious")); | ||
var _composeRefs = require("./composeRefs"); | ||
var _polymorphicForwardRef = require("./polymorphicForwardRef"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "@ndla/util", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Collection of util functions used by NDLA", | ||
@@ -30,12 +30,8 @@ "license": "GPL-3.0", | ||
"peerDependencies": { | ||
"@emotion/react": "^11.10.4", | ||
"react": ">= 16.8.0" | ||
}, | ||
"dependencies": { | ||
"html-react-parser": "^4.2.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "7b9ab5e858be896e97c8360f92b2385adceabf7a" | ||
"gitHead": "bd8cacb31ca60fcb4a67120418ad88ca9dd4658d" | ||
} |
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
107178
1
60
1562
- Removedhtml-react-parser@^4.2.2
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@emotion/babel-plugin@11.13.5(transitive)
- Removed@emotion/cache@11.14.0(transitive)
- Removed@emotion/hash@0.9.2(transitive)
- Removed@emotion/memoize@0.9.0(transitive)
- Removed@emotion/react@11.14.0(transitive)
- Removed@emotion/serialize@1.3.3(transitive)
- Removed@emotion/sheet@1.4.0(transitive)
- Removed@emotion/unitless@0.10.0(transitive)
- Removed@emotion/use-insertion-effect-with-fallbacks@1.2.0(transitive)
- Removed@emotion/utils@1.4.2(transitive)
- Removed@emotion/weak-memoize@0.4.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedbabel-plugin-macros@3.1.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedcsstype@3.1.3(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddom-serializer@2.0.0(transitive)
- Removeddomelementtype@2.3.0(transitive)
- Removeddomhandler@5.0.3(transitive)
- Removeddomutils@3.1.0(transitive)
- Removedentities@4.5.0(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfind-root@1.1.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedhtml-dom-parser@5.0.3(transitive)
- Removedhtml-react-parser@4.2.10(transitive)
- Removedhtmlparser2@9.0.0(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedinline-style-parser@0.2.2(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.1.3(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreact-property@2.0.2(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedresolve@1.22.10(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstyle-to-js@1.1.8(transitive)
- Removedstyle-to-object@1.0.3(transitive)
- Removedstylis@4.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedyaml@1.10.2(transitive)