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

@politico/graphics-kit

Package Overview
Dependencies
Maintainers
11
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@politico/graphics-kit - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

yarn.lock

4

package.json
{
"name": "@politico/graphics-kit",
"version": "0.0.2",
"version": "0.0.3",
"main": "src/index.js",

@@ -22,3 +22,5 @@ "module": "src/index.js",

"@politico/eslint-config-interactives": "^0.0.5",
"babel-eslint": "^10.0.1",
"d3": "^5.9.2",
"eslint": "^5.16.0",
"glob": "^7.1.3",

@@ -25,0 +27,0 @@ "lodash": "^4.17.11",

@@ -14,5 +14,5 @@ ![](https://www.politico.com/interactives/cdn/images/badge.svg)

```javascript
import { ChartComponent, d3 } from '@politico/graphics-kit';
import { BaseChart, d3 } from '@politico/graphics-kit';
class MyChart extends ChartComponent {
class MyChart extends BaseChart {
defaultProps = {

@@ -19,0 +19,0 @@ stroke: '#ccc',

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

import path from 'path';
import glob from 'glob';
import alias from 'rollup-plugin-alias';

@@ -13,9 +11,12 @@ import babel from 'rollup-plugin-babel';

comments: false,
presets: [
['@babel/preset-env', { modules: false }],
'@babel/preset-react',
],
plugins: [
'@babel/proposal-class-properties',
],
// presets: [
// ['@babel/preset-env', {
// modules: false,
// targets: { esmodules: true },
// }],
// '@babel/preset-react',
// ],
// plugins: [
// '@babel/proposal-class-properties',
// ],
};

@@ -26,3 +27,3 @@

output: {
file: pkg.module,
file: 'dist/index.mjs',
format: 'es',

@@ -29,0 +30,0 @@ },

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