Socket
Socket
Sign inDemoInstall

@rollup/plugin-json

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-json - npm Package Compare versions

Comparing version 5.0.2 to 6.0.0

3

dist/cjs/index.js

@@ -33,4 +33,3 @@ 'use strict';

var message = 'Could not parse JSON file';
var position = parseInt(/[\d]/.exec(err.message)[0], 10);
this.warn({ message: message, id: id, position: position });
this.error({ message: message, id: id, cause: err });
return null;

@@ -37,0 +36,0 @@ }

@@ -29,4 +29,3 @@ import { createFilter, dataToEsm } from '@rollup/pluginutils';

var message = 'Could not parse JSON file';
var position = parseInt(/[\d]/.exec(err.message)[0], 10);
this.warn({ message: message, id: id, position: position });
this.error({ message: message, id: id, cause: err });
return null;

@@ -33,0 +32,0 @@ }

{
"name": "@rollup/plugin-json",
"version": "5.0.2",
"version": "6.0.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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

import { FilterPattern } from '@rollup/pluginutils';
import { Plugin } from 'rollup';
import type { FilterPattern } from '@rollup/pluginutils';
import type { Plugin } from 'rollup';

@@ -4,0 +4,0 @@ export interface RollupJsonOptions {

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