Socket
Socket
Sign inDemoInstall

@rollup/plugin-commonjs

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-commonjs - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

12

CHANGELOG.md

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

# @rollup/plugin-commonjs changelog
# @rollup/plugin-commonjs ChangeLog
## v11.0.1
_2020-01-04_
### Bugfixes
- fix: module.exports object spread (#121)
## 11.0.0

@@ -7,3 +15,3 @@

- **Breaking:** Minimum compatible Rollup version is 1.2.0
- **Breaking:** Minimum compatible Rollup version is 1.20.0
- **Breaking:** Minimum supported Node version is 8.0.0

@@ -10,0 +18,0 @@ - Published as @rollup/plugin-commonjs

2

dist/index.es.js

@@ -561,3 +561,3 @@ import { statSync, existsSync, realpathSync } from 'fs';

node.right.properties.forEach(prop => {
if (prop.computed || prop.key.type !== 'Identifier') return;
if (prop.computed || !('key' in prop) || prop.key.type !== 'Identifier') return;
const name = prop.key.name;

@@ -564,0 +564,0 @@ if (name === makeLegalIdentifier(name)) namedExports[name] = true;

@@ -565,3 +565,3 @@ 'use strict';

node.right.properties.forEach(prop => {
if (prop.computed || prop.key.type !== 'Identifier') return;
if (prop.computed || !('key' in prop) || prop.key.type !== 'Identifier') return;
const name = prop.key.name;

@@ -568,0 +568,0 @@ if (name === pluginutils.makeLegalIdentifier(name)) namedExports[name] = true;

{
"name": "@rollup/plugin-commonjs",
"version": "11.0.0",
"version": "11.0.1",
"publishConfig": {

@@ -11,3 +11,3 @@ "access": "public"

"author": "Rich Harris <richard.a.harris@gmail.com>",
"homepage": "https://github.com/rollup/plugins/packages/commonjs/#readme",
"homepage": "https://github.com/rollup/plugins/tree/master/packages/commonjs/#readme",
"bugs": "https://github.com/rollup/plugins/issues",

@@ -14,0 +14,0 @@ "main": "dist/index.js",

@@ -49,3 +49,3 @@ [npm]: https://img.shields.io/npm/v/@rollup/plugin-commonjs

Type: `String` | `Array[...String]`
Type: `String` | `Array[...String]`<br>
Default: `null`

@@ -57,3 +57,3 @@

Type: `String` | `Array(String)` \
Type: `String` | `Array[...String]`<br>
Default: `null`

@@ -65,3 +65,3 @@

Type: `Array(String)` \
Type: `Array[...String]`<br>
Default: `['.js']`

@@ -73,3 +73,3 @@

Type: `Boolean` \
Type: `Boolean`<br>
Default: `false`

@@ -81,3 +81,3 @@

Type: `Boolean` \
Type: `Boolean`<br>
Default: `true`

@@ -89,3 +89,3 @@

Type: `Object` \
Type: `Object`<br>
Default: `null`

@@ -131,3 +131,3 @@

Type: `Array(String | (String) => Boolean)` \
Type: `Array[...String | (String) => Boolean]`<br>
Default: `[]`

@@ -134,0 +134,0 @@

Sorry, the diff of this file is not supported yet

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