New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@react-sigma/layout-circlepack

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-sigma/layout-circlepack - npm Package Compare versions

Comparing version
3.4.2
to
4.0.0
+11
LICENSE.md
# Released under MIT License
Copyright (c) 2013 Mark Otto.
Copyright (c) 2017 Andrew Fong.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import terser from "@rollup/plugin-terser";
import typescript from "@rollup/plugin-typescript";
import eslint from "@rollup/plugin-eslint";
/** @type {import("rollup").RollupOptions} */
export default {
input: "src/index.ts",
output: [
{
file: "lib/react-sigma_layout-circlepack.esm.min.js",
format: "esm",
plugins: [terser()],
sourcemap: true,
},
{
file: "lib/react-sigma_layout-circlepack.umd.min.js",
format: "umd",
name: "@react-sigma/layout-circlepack",
plugins: [terser()],
sourcemap: true,
},
],
plugins: [
eslint({ exclude: "./src/assets/**" }),
typescript({ tsconfig: "./tsconfig.json", outputToFilesystem: true }),
terser(),
],
external: [
"sigma",
"graphology",
"lodash",
"react",
"react-dom",
"@react-sigma/layout-core",
"graphology-layout/circlepack",
],
};
+1
-1

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

!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("graphology-layout/circlepack"),require("@react-sigma/layout-core")):"function"==typeof define&&define.amd?define(["exports","graphology-layout/circlepack","@react-sigma/layout-core"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["@react-sigma/layout-circlepack"]={},e.circlepack,e.layoutCore)}(this,(function(e,o,t){"use strict";var a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(o);const c=t.useLayoutFactory(a.default,{});e.useLayoutCirclepack=c,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("graphology-layout/circlepack"),require("@react-sigma/layout-core")):"function"==typeof define&&define.amd?define(["exports","graphology-layout/circlepack","@react-sigma/layout-core"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["@react-sigma/layout-circlepack"]={},e.circlepack,e.layoutCore)}(this,(function(e,o,t){"use strict";const c=t.useLayoutFactory(o,{});e.useLayoutCirclepack=c}));
//# sourceMappingURL=react-sigma_layout-circlepack.umd.min.js.map

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

{"version":3,"file":"react-sigma_layout-circlepack.umd.min.js","sources":["../src/useLayoutCirclepack.ts"],"sourcesContent":[null],"names":["useLayoutCirclepack","useLayoutFactory","circlepack"],"mappings":"6fAYa,MAAAA,EAAsBC,EAAAA,iBAA0CC,EAAAA,QAAY,CAAE"}
{"version":3,"file":"react-sigma_layout-circlepack.umd.min.js","sources":["../src/useLayoutCirclepack.ts"],"sourcesContent":[null],"names":["useLayoutCirclepack","useLayoutFactory","circlepack"],"mappings":"6aAYa,MAAAA,EAAsBC,EAAAA,iBAA0CC,EAAY,CAAE"}
{
"name": "@react-sigma/layout-circlepack",
"private": false,
"version": "3.4.2",
"version": "4.0.0",
"description": "React Sigma - Layout circlepack",

@@ -22,2 +21,3 @@ "author": "Benoit Simard",

],
"type": "module",
"main": "./lib/react-sigma_layout-circlepack.umd.min.js",

@@ -39,8 +39,4 @@ "module": "./lib/react-sigma_layout-circlepack.esm.min.js",

},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@react-sigma/layout-core": "^3.4.2"
"@react-sigma/layout-core": "^4.0.0"
},

@@ -50,3 +46,3 @@ "peerDependencies": {

},
"gitHead": "a56b1119559bc8ded1ad024b72644317cc39d3fe"
"gitHead": "4caccd544dbf593ee18bb686e11ee501de6a58ef"
}

@@ -5,7 +5,9 @@ {

"include": ["./src/**/*.ts"],
"composite":true,
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"declarationDir": "./lib"
"declarationDir": "./lib",
"sourceMap": true,
}
}
import { terser } from "rollup-plugin-terser";
import typescript from "@rollup/plugin-typescript";
import eslint from "@rbnlffl/rollup-plugin-eslint";
export default {
input: "src/index.ts",
output: [
{
file: "lib/react-sigma_layout-circlepack.esm.min.js",
format: "esm",
plugins: [terser()],
sourcemap: true,
},
{
file: "lib/react-sigma_layout-circlepack.umd.min.js",
format: "umd",
name: "@react-sigma/layout-circlepack",
plugins: [terser()],
sourcemap: true,
},
],
plugins: [
eslint({ filterExclude: "./src/assets/**" }),
typescript({ tsconfig: "./tsconfig.json", outputToFilesystem: true }),
terser(),
],
external: [
"sigma",
"graphology",
"lodash",
"react",
"react-dom",
"@react-sigma/layout-core",
"graphology-layout/circlepack",
],
};