react-htmlcontent
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -24,4 +24,2 @@ "use strict"; | ||
require("@babel/polyfill"); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -33,3 +31,3 @@ | ||
var _mem = _interopRequireDefault(require("mem")); | ||
var _lruMemoize = _interopRequireDefault(require("lru-memoize")); | ||
@@ -55,8 +53,8 @@ var containsHtmlPatt = /(<[A-z]+[^>]*>)(.*?)(<\/[A-z]+>)/g; | ||
} | ||
} else { | ||
return ''; | ||
} | ||
return ''; | ||
}; | ||
var enhanceTypo = (0, _mem.default)(_enhanceTypo); | ||
var enhanceTypo = (0, _lruMemoize.default)(50)(_enhanceTypo); | ||
/** | ||
@@ -63,0 +61,0 @@ * Component for displaying HTML content |
111
package.json
{ | ||
"name": "react-htmlcontent", | ||
"version": "1.1.1", | ||
"description": "React HTMLContent Component", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://git.siteone.cz/frack/react-htmlcontent.git" | ||
}, | ||
"license": "MIT", | ||
"scripts": { | ||
"prepublish": ". ./.scripts/prepublish.sh", | ||
"lint": "eslint src", | ||
"lintfix": "eslint src --fix", | ||
"testonly": "mocha --require .scripts/mocha_runner ./test/**/*.js", | ||
"test": "npm run lint && npm run testonly", | ||
"test-watch": "npm run testonly -- --watch --watch-extensions js", | ||
"storybook": "start-storybook -p 6006", | ||
"publish-storybook": "bash .scripts/publish_storybook.sh", | ||
"build-storybook": "build-storybook" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.3", | ||
"@babel/core": "^7.4.3", | ||
"@babel/plugin-transform-runtime": "^7.4.3", | ||
"@babel/plugin-transform-spread": "7.2.2", | ||
"@babel/preset-env": "^7.4.3", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-stage-0": "^7.0.0", | ||
"@babel/runtime": "^7.4.3", | ||
"@storybook/react": "^5.0.10", | ||
"babel-eslint": "^10.0.1", | ||
"babel-loader": "^8.0.5", | ||
"chai": "^4.2.0", | ||
"enzyme": "^3.9.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-frack": "^2.2.3", | ||
"git-url-parse": "^11.1.2", | ||
"jest": "^24.7.1", | ||
"jsdom": "^15.0.0", | ||
"mocha": "^6.1.4", | ||
"react": "^16.8.6", | ||
"react-addons-test-utils": "^15.6.2", | ||
"react-dom": "^16.8.6", | ||
"sinon": "^7.3.2" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.6" | ||
}, | ||
"dependencies": { | ||
"@babel/preset-flow": "^7.0.0", | ||
"core-js": "2", | ||
"mem": "^4.3.0" | ||
}, | ||
"main": "dist/index.js", | ||
"engines": { | ||
"npm": "^3.0.0" | ||
} | ||
"name": "react-htmlcontent", | ||
"version": "1.2.0", | ||
"description": "React HTMLContent Component", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://git.siteone.cz/frack/react-htmlcontent.git" | ||
}, | ||
"license": "MIT", | ||
"scripts": { | ||
"prepublish": ". ./.scripts/prepublish.sh", | ||
"lint": "eslint src", | ||
"lintfix": "eslint src --fix", | ||
"testonly": "mocha --require .scripts/mocha_runner ./test/**/*.js", | ||
"test": "npm run lint && npm run testonly", | ||
"test-watch": "npm run testonly -- --watch --watch-extensions js", | ||
"storybook": "start-storybook -p 6006", | ||
"publish-storybook": "bash .scripts/publish_storybook.sh", | ||
"build-storybook": "build-storybook" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.0", | ||
"@babel/core": "^7.5.4", | ||
"@babel/plugin-transform-runtime": "^7.5.0", | ||
"@babel/plugin-transform-spread": "7.2.2", | ||
"@babel/preset-env": "^7.5.4", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-stage-0": "^7.0.0", | ||
"@babel/runtime": "^7.5.4", | ||
"@storybook/react": "^5.1.9", | ||
"babel-eslint": "^10.0.2", | ||
"babel-loader": "^8.0.6", | ||
"chai": "^4.2.0", | ||
"enzyme": "^3.10.0", | ||
"eslint": "^6.0.1", | ||
"eslint-config-frack": "^2.2.3", | ||
"git-url-parse": "^11.1.2", | ||
"jest": "^24.8.0", | ||
"jsdom": "^15.1.1", | ||
"mocha": "^6.1.4", | ||
"react": "^16.8.6", | ||
"react-addons-test-utils": "^15.6.2", | ||
"react-dom": "^16.8.6", | ||
"sinon": "^7.3.2", | ||
"@babel/preset-flow": "^7.0.0", | ||
"core-js": "3.1.4", | ||
"lru-memoize": "1.1.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.6" | ||
}, | ||
"dependencies": {}, | ||
"main": "dist/index.js", | ||
"engines": { | ||
"npm": "^3.0.0" | ||
} | ||
} |
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
1126146
1
68
26
2783
- Removed@babel/preset-flow@^7.0.0
- Removedcore-js@2
- Removedmem@^4.3.0
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.2(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.2(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-plugin-utils@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/plugin-syntax-flow@7.26.0(transitive)
- Removed@babel/plugin-transform-flow-strip-types@7.25.9(transitive)
- Removed@babel/preset-flow@7.25.9(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.25.9(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(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)
- Removedbrowserslist@4.24.2(transitive)
- Removedcaniuse-lite@1.0.30001683(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddebug@4.3.7(transitive)
- Removedelectron-to-chromium@1.5.64(transitive)
- Removedescalade@3.2.0(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmap-age-cleaner@0.1.3(transitive)
- Removedmem@4.3.0(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.18(transitive)
- Removedp-defer@1.0.0(transitive)
- Removedp-is-promise@2.1.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedsemver@6.3.1(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedyallist@3.1.1(transitive)