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

@hypothesis/frontend-shared

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hypothesis/frontend-shared - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

CHANGELOG.md

2

lib/browser-compatibility-utils.js

@@ -31,2 +31,2 @@ "use strict";

}
//# sourceMappingURL=browser-compatibility-utils.js.map
//# sourceMappingURL=browser-compatibility-utils.js.map

@@ -36,3 +36,3 @@ /**

export function registerIcons(icons: IconMap, { reset }?: {
reset?: boolean;
reset: boolean;
}): void;

@@ -74,2 +74,4 @@ /**

};
export type Ref<T> = import("preact/hooks").Ref<T>;
export type Ref<T> = {
current: T;
};

@@ -18,3 +18,3 @@ "use strict";

var _jsxFileName = "/Users/kyle/Documents/client/frontend-shared/src/components/SvgIcon.js";
var _jsxFileName = "/home/runner/work/frontend-shared/frontend-shared/src/components/SvgIcon.js";

@@ -147,2 +147,2 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

}
//# sourceMappingURL=SvgIcon.js.map
//# sourceMappingURL=SvgIcon.js.map

@@ -20,2 +20,4 @@ /**

export function useElementShouldClose(closeableEl: Ref<HTMLElement>, isOpen: boolean, handleClose: () => void): void;
export type Ref<T> = import("preact/hooks").Ref<T>;
export type Ref<T> = {
current: T;
};

@@ -97,2 +97,2 @@ "use strict";

}
//# sourceMappingURL=use-element-should-close.js.map
//# sourceMappingURL=use-element-should-close.js.map

@@ -36,2 +36,2 @@ "use strict";

var _browserCompatibilityUtils = require("./browser-compatibility-utils");
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
{
"name": "@hypothesis/frontend-shared",
"version": "1.9.0",
"version": "1.10.0",
"description": "Shared components, styles and utilities for Hypothesis projects",
"license": "BSD-2-Clause",
"repository": "hypothesis/client",
"repository": "hypothesis/frontend-shared",
"devDependencies": {

@@ -11,3 +11,38 @@ "@babel/cli": "^7.1.6",

"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0"
"@babel/preset-react": "^7.0.0",
"auto-changelog": "^2.2.1",
"axe-core": "^4.0.0",
"babel-plugin-mockable-imports": "^1.5.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chai": "^4.1.2",
"classnames": "^2.2.6",
"commander": "^7.1.0",
"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^3.0.0",
"eslint": "^7.3.1",
"eslint-config-hypothesis": "^2.4.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^4.0.4",
"gulp": "^4.0.0",
"karma": "^6.0.1",
"karma-browserify": "^8.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.0",
"karma-mocha-reporter": "^2.0.4",
"karma-sinon": "^1.0.5",
"mocha": "8.2.1",
"preact": "^10.4.0",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"puppeteer": "^7.1.0",
"sass": "^1.32.8",
"sinon": "^9.0.0",
"stringify": "^5.1.0",
"typescript": "^4.1.5",
"watchify": "^3.7.0",
"yalc": "^1.0.0-pre.50"
},

@@ -18,4 +53,17 @@ "peerDependencies": {

"scripts": {
"build": "npx babel src --out-dir lib --source-maps --ignore '**/test'"
"build-js": "babel src --out-dir lib --source-maps --ignore '**/test' --ignore '**/karma.config.js'",
"build-types": "tsc --allowJs --declaration --emitDeclarationOnly --outDir lib src/index.js",
"build": "yarn build-js && yarn build-types",
"typecheck": "tsc --build src/tsconfig.json",
"lint": "eslint .",
"checkformatting": "prettier --check '**/*.{js,scss}'",
"format": "prettier --list-different --write '**/*.{js,scss,md}'",
"test": "gulp test",
"push": "yarn build && yalc push",
"changelog": "gulp changelog"
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true
},
"files": [

@@ -22,0 +70,0 @@ "lib",

@@ -36,10 +36,5 @@ # Shared resources for Hypothesis front-end applications

### License
### Additional documentation
The Hypothesis client is released under the [2-Clause BSD License][bsd2c],
sometimes referred to as the "Simplified BSD License". Some third-party
components are included. They are subject to their own licenses. All of the
license information can be found in the included [LICENSE][license] file.
[bsd2c]: http://www.opensource.org/licenses/BSD-2-Clause
[license]: https://github.com/hypothesis/client/blob/master/LICENSE
- [Development guide](docs/developing.md)
- [Release guide](docs/releases.md)

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

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