New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@theorem/react

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theorem/react - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

5

dist/ActionArea/ActionArea.js

@@ -58,3 +58,6 @@ var __assign = (this && this.__assign) || function () {

return span("current");
return (_jsx("a", __assign({ className: baseStyles + " " + className, download: download, href: url, rel: newWindow ? "noopener" : undefined, referrerPolicy: "strict-origin-when-cross-origin", target: newWindow ? "_blank" : undefined, title: title, style: style }, { children: children }), void 0));
return (
/* Rule does not detect our dynamic values */
/* eslint-disable-next-line react/jsx-no-target-blank */
_jsx("a", __assign({ className: baseStyles + " " + className, download: download, href: url, rel: newWindow ? "noopener" : undefined, referrerPolicy: "strict-origin-when-cross-origin", target: newWindow ? "_blank" : undefined, title: title, style: style }, { children: children }), void 0));
};

@@ -61,0 +64,0 @@ if (action === "disabled")

4

dist/bin/license/getDependencies.js

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

return names.map(function (name) {
var depPkgPath = findup_sync_1.default("node_modules/" + name + "/package.json", {
var depPkgPath = (0, findup_sync_1.default)("node_modules/" + name + "/package.json", {
cwd: directory,

@@ -52,3 +52,3 @@ });

name: name,
licenseName: lcwp_1.getLicenseName(depPkg),
licenseName: (0, lcwp_1.getLicenseName)(depPkg),
url: getUrl(name, depPkg),

@@ -55,0 +55,0 @@ version: typeof depPkg.version === "string" ? depPkg.version : undefined,

@@ -88,3 +88,3 @@ #!/usr/bin/env node

dependencies = directories
.map(function (d) { return path_1.resolve(d); })
.map(function (d) { return (0, path_1.resolve)(d); })
.flatMap(getDependencies_1.getDependencies)

@@ -96,3 +96,3 @@ .filter(function (d) { return !skip.includes(d.name); })

});
violating = lcwp_1.getDependenciesWithLicenseViolations(licenses, dependencies);
violating = (0, lcwp_1.getDependenciesWithLicenseViolations)(licenses, dependencies);
uniq = function (l) {

@@ -99,0 +99,0 @@ return Array.from(new Set(l));

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

// https://github.com/microsoft/license-checker-webpack-plugin/issues/30
// eslint-disable-next-line @theorem/no-imports-down
// eslint-disable-next-line @denis-sokolov/no-imports-down
var licenseUtils_js_1 = require("license-checker-webpack-plugin/src/licenseUtils.js");

@@ -25,3 +25,3 @@ var licenseUtils_js_2 = require("license-checker-webpack-plugin/src/licenseUtils.js");

var _a;
var errors = licenseUtils_js_1.getLicenseViolations((_a = {},
var errors = (0, licenseUtils_js_1.getLicenseViolations)((_a = {},
_a[d.name] = __assign({ version: "" }, d),

@@ -28,0 +28,0 @@ _a), allowedLicenses);

@@ -24,4 +24,4 @@ import { Component, ComponentType, ReactNode } from "react";

reset: () => void;
render(): {} | null | undefined;
render(): ReactNode;
}
export {};

@@ -9,2 +9,4 @@ var __extends = (this && this.__extends) || (function () {

return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -11,0 +13,0 @@ function __() { this.constructor = d; }

@@ -19,7 +19,7 @@ {

"browser": "dist/index.js",
"description": "Theorem React tools",
"description": "React tools",
"dependencies": {
"@types/findup-sync": "^2.0.2",
"commander": "^7.0.0",
"findup-sync": "^4.0.0",
"@types/findup-sync": "^4.0.1",
"commander": "^8.3.0",
"findup-sync": "^5.0.0",
"license-checker-webpack-plugin": "=0.2.1",

@@ -30,13 +30,13 @@ "parse-css-color": "^0.1.2",

"devDependencies": {
"@theorem/eslint-plugin": "^6.2.1",
"@types/license-checker-webpack-plugin": "^0.0.3",
"@types/react": "^17.0.0",
"@types/react-test-renderer": "^17.0.0",
"@denis-sokolov/eslint-plugin": "^9.0.3",
"@types/license-checker-webpack-plugin": "^0.0.4",
"@types/react": "^17.0.34",
"@types/react-test-renderer": "^17.0.1",
"ava": "^3.15.0",
"eslint": "^7.18.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-test-renderer": "^17.0.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},

@@ -58,6 +58,6 @@ "engines": {

},
"repository": "git@github.com:Theorem/react-tools.git",
"repository": "git@github.com:denis-sokolov/react-tools.git",
"sideEffects": false,
"types": "dist/index.js",
"version": "6.2.1"
"version": "6.2.2"
}

@@ -29,5 +29,3 @@ import { useEffect, useRef } from "react";

}; }, [ref]);
var main = useCallback(function (el) { return additionalArea("main")(el); }, [
additionalArea,
]);
var main = useCallback(function (el) { return additionalArea("main")(el); }, [additionalArea]);
var res = main;

@@ -34,0 +32,0 @@ res.additionalArea = additionalArea;

@@ -12,2 +12,3 @@ import { useCustomInputWithDraftState } from "./useCustomInputWithDraftState";

"Custom validation function returned false when string is empty.",
//
].join(" "));

@@ -14,0 +15,0 @@ return isValid ? { value: s } : "unparsable";

# ISC License
Copyright (c) 2019, Theorem
Copyright (c) 2019, Theorem and Denis Sokolov

@@ -5,0 +5,0 @@ Permission to use, copy, modify, and/or distribute this software for any

@@ -19,7 +19,7 @@ {

"browser": "dist/index.js",
"description": "Theorem React tools",
"description": "React tools",
"dependencies": {
"@types/findup-sync": "^2.0.2",
"commander": "^7.0.0",
"findup-sync": "^4.0.0",
"@types/findup-sync": "^4.0.1",
"commander": "^8.3.0",
"findup-sync": "^5.0.0",
"license-checker-webpack-plugin": "=0.2.1",

@@ -30,13 +30,13 @@ "parse-css-color": "^0.1.2",

"devDependencies": {
"@theorem/eslint-plugin": "^6.2.1",
"@types/license-checker-webpack-plugin": "^0.0.3",
"@types/react": "^17.0.0",
"@types/react-test-renderer": "^17.0.0",
"@denis-sokolov/eslint-plugin": "^9.0.3",
"@types/license-checker-webpack-plugin": "^0.0.4",
"@types/react": "^17.0.34",
"@types/react-test-renderer": "^17.0.1",
"ava": "^3.15.0",
"eslint": "^7.18.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-test-renderer": "^17.0.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},

@@ -58,6 +58,6 @@ "engines": {

},
"repository": "git@github.com:Theorem/react-tools.git",
"repository": "git@github.com:denis-sokolov/react-tools.git",
"sideEffects": false,
"types": "dist/index.js",
"version": "6.2.1"
"version": "6.2.2"
}

@@ -1,2 +0,2 @@

# Theorem React tools
# React tools

@@ -10,3 +10,3 @@ Commonly reused pieces of tooling for React projects. See [the documentation](./docs/README.md).

```sh
npm install --save @theorem/react
npm install --save @denis-sokolov/react
```

@@ -18,3 +18,3 @@

This software is lovingly maintained and funded by Theorem.
This software was lovingly funded by Theorem.
From whiteboarding new concepts to long-term support, Theorem works with startups and large multi-national enterprises to develop new applications, software, services, and platforms to achieve the best results and deliver Full Stack Innovation™

@@ -21,0 +21,0 @@

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