@rollup/plugin-json
Advanced tools
Comparing version 6.0.1 to 6.1.0
@@ -27,2 +27,3 @@ 'use strict'; | ||
namedExports: options.namedExports, | ||
includeArbitraryNames: options.includeArbitraryNames, | ||
indent: indent | ||
@@ -29,0 +30,0 @@ }), |
@@ -23,2 +23,3 @@ import { createFilter, dataToEsm } from '@rollup/pluginutils'; | ||
namedExports: options.namedExports, | ||
includeArbitraryNames: options.includeArbitraryNames, | ||
indent: indent | ||
@@ -25,0 +26,0 @@ }), |
{ | ||
"name": "@rollup/plugin-json", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"publishConfig": { | ||
@@ -26,16 +26,2 @@ "access": "public" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c", | ||
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov", | ||
"ci:lint": "pnpm build && pnpm lint", | ||
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", | ||
"ci:test": "pnpm test -- --verbose && pnpm test:ts", | ||
"prebuild": "del-cli dist", | ||
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi", | ||
"prerelease": "pnpm build", | ||
"pretest": "pnpm build", | ||
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name", | ||
"test": "ava", | ||
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit" | ||
}, | ||
"files": [ | ||
@@ -65,3 +51,3 @@ "dist", | ||
"dependencies": { | ||
"@rollup/pluginutils": "^5.0.1" | ||
"@rollup/pluginutils": "^5.1.0" | ||
}, | ||
@@ -83,3 +69,16 @@ "devDependencies": { | ||
] | ||
}, | ||
"scripts": { | ||
"build": "rollup -c", | ||
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov", | ||
"ci:lint": "pnpm build && pnpm lint", | ||
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}", | ||
"ci:test": "pnpm test -- --verbose && pnpm test:ts", | ||
"prebuild": "del-cli dist", | ||
"prerelease": "pnpm build", | ||
"pretest": "pnpm build", | ||
"release": "pnpm --workspace-root package:release $(pwd)", | ||
"test": "ava", | ||
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit" | ||
} | ||
} | ||
} |
@@ -78,2 +78,9 @@ [npm]: https://img.shields.io/npm/v/@rollup/plugin-json | ||
### `includeArbitraryNames` | ||
Type: `Boolean`<br> | ||
Default: `false` | ||
If `true` and `namedExports` is `true`, generates a named export for not a valid identifier properties of the JSON object by leveraging the ["Arbitrary Module Namespace Identifier Names" feature](https://github.com/tc39/ecma262/pull/2154). | ||
### `indent` | ||
@@ -80,0 +87,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10683
8
141
111
+ Added@rollup/rollup-android-arm-eabi@4.24.4(transitive)
+ Added@rollup/rollup-android-arm64@4.24.4(transitive)
+ Added@rollup/rollup-darwin-arm64@4.24.4(transitive)
+ Added@rollup/rollup-darwin-x64@4.24.4(transitive)
+ Added@rollup/rollup-freebsd-arm64@4.24.4(transitive)
+ Added@rollup/rollup-freebsd-x64@4.24.4(transitive)
+ Added@rollup/rollup-linux-arm-gnueabihf@4.24.4(transitive)
+ Added@rollup/rollup-linux-arm-musleabihf@4.24.4(transitive)
+ Added@rollup/rollup-linux-arm64-gnu@4.24.4(transitive)
+ Added@rollup/rollup-linux-arm64-musl@4.24.4(transitive)
+ Added@rollup/rollup-linux-powerpc64le-gnu@4.24.4(transitive)
+ Added@rollup/rollup-linux-riscv64-gnu@4.24.4(transitive)
+ Added@rollup/rollup-linux-s390x-gnu@4.24.4(transitive)
+ Added@rollup/rollup-linux-x64-gnu@4.24.4(transitive)
+ Added@rollup/rollup-linux-x64-musl@4.24.4(transitive)
+ Added@rollup/rollup-win32-arm64-msvc@4.24.4(transitive)
+ Added@rollup/rollup-win32-ia32-msvc@4.24.4(transitive)
+ Added@rollup/rollup-win32-x64-msvc@4.24.4(transitive)
+ Addedrollup@4.24.4(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.25.0(transitive)
- Removed@rollup/rollup-android-arm64@4.25.0(transitive)
- Removed@rollup/rollup-darwin-arm64@4.25.0(transitive)
- Removed@rollup/rollup-darwin-x64@4.25.0(transitive)
- Removed@rollup/rollup-freebsd-arm64@4.25.0(transitive)
- Removed@rollup/rollup-freebsd-x64@4.25.0(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.25.0(transitive)
- Removed@rollup/rollup-linux-arm-musleabihf@4.25.0(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.25.0(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.25.0(transitive)
- Removed@rollup/rollup-linux-powerpc64le-gnu@4.25.0(transitive)
- Removed@rollup/rollup-linux-riscv64-gnu@4.25.0(transitive)
- Removed@rollup/rollup-linux-s390x-gnu@4.25.0(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.25.0(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.25.0(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.25.0(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.25.0(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.25.0(transitive)
- Removedrollup@4.25.0(transitive)
Updated@rollup/pluginutils@^5.1.0