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
3.0.1
to
3.0.2
+20
-17
rollup-plugin-json/index.d.ts

@@ -11,20 +11,23 @@ // Type definitions for rollup-plugin-json 3.0

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;
declare namespace json {
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;
}
}
export default function json(options?: Options): Plugin;
declare function json(options?: json.Options): Plugin;
export = json;
{
"name": "@types/rollup-plugin-json",
"version": "3.0.1",
"version": "3.0.2",
"description": "TypeScript definitions for rollup-plugin-json",

@@ -19,14 +19,15 @@ "license": "MIT",

"main": "",
"types": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/rollup-plugin-json"
},
"scripts": {},
"dependencies": {
"rollup": "^0.63.4",
"@types/node": "*"
"@types/node": "*",
"rollup": "^0.63.4"
},
"typesPublisherContentHash": "724b55936429d2fb0f971bd7f75e1e92673d8772072d6136a24e8c70d1b446e0",
"typesPublisherContentHash": "269b34e1adc5e288a27d23b22e4b9c1ddebc67aa826327b7fba1add6fbfea425",
"typeScriptVersion": "2.3"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for rollup-plugin-json (https://github.com/rollup/rollup-plugin-json#readme).
This package contains type definitions for rollup-plugin-json ( https://github.com/rollup/rollup-plugin-json#readme ).

@@ -12,4 +12,4 @@ # Details

Additional Details
* Last updated: Wed, 17 Oct 2018 20:11:30 GMT
* Dependencies: rollup, node
* Last updated: Wed, 20 Mar 2019 18:02:09 GMT
* Dependencies: @types/rollup, @types/node
* Global values: none

@@ -16,0 +16,0 @@