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

@types/rollup-plugin-json

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rollup-plugin-json - npm Package Compare versions

Comparing version
2.3.1
to
3.0.0
+14
-1
rollup-plugin-json/index.d.ts

@@ -1,5 +0,7 @@

// Type definitions for rollup-plugin-json 2.3
// Type definitions for rollup-plugin-json 3.0
// Project: https://github.com/rollup/rollup-plugin-json#readme
// Definitions by: Andy Mockler <https://github.com/asmockler>
// Martin Hochel <https://github.com/hotell>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

@@ -9,5 +11,16 @@ import { Plugin } from 'rollup';

export interface Options {
/**
* All JSON files will be parsed by default, but you can also specifically include/exclude files
*/
include?: string | string[];
exclude?: string | string[];
/**
* for tree-shaking, properties will be declared as variables, using either `var` or `const`
* @default false
*/
preferConst?: boolean;
/**
* specify indentation for the generated default export — defaults to '\t'
* @default '\t'
*/
indent?: string;

@@ -14,0 +27,0 @@ }

+10
-5
{
"name": "@types/rollup-plugin-json",
"version": "2.3.1",
"version": "3.0.0",
"description": "TypeScript definitions for rollup-plugin-json",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "asmockler"
},
{
"name": "Martin Hochel",
"url": "https://github.com/hotell",
"githubUsername": "hotell"
}

@@ -17,10 +22,10 @@ ],

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {
"rollup": "^0.54.0"
"rollup": "^0.63.4"
},
"typesPublisherContentHash": "19f72d1db7dff75a28484adcc481ee7784eb19d24eafb47ec9bc44e97c9c7eaa",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "bba3749102f9f9f9d3f12403afba11151feb735a31c97da24cbee2b1c9fd44ff",
"typeScriptVersion": "2.3"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json
Additional Details
* Last updated: Wed, 17 Jan 2018 22:17:28 GMT
* Last updated: Sat, 28 Jul 2018 00:44:17 GMT
* Dependencies: rollup

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Andy Mockler <https://github.com/asmockler>.
These definitions were written by Andy Mockler <https://github.com/asmockler>, Martin Hochel <https://github.com/hotell>.