Socket
Socket
Sign inDemoInstall

rollup

Package Overview
Dependencies
Maintainers
3
Versions
820
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup - npm Package Compare versions

Comparing version 0.18.0 to 0.18.1

src/utils/fs.js

4

CHANGELOG.md
# rollup changelog
## 0.18.1
* Include `acorn.parse` in bundle, remove `sander` from dependencies, simplify build
## 0.18.0

@@ -4,0 +8,0 @@

26

package.json
{
"name": "rollup",
"version": "0.18.0",
"version": "0.18.1",
"description": "Next-generation ES6 module bundler",

@@ -42,28 +42,26 @@ "main": "dist/rollup.js",

"devDependencies": {
"babel": "^5.8.21",
"acorn": "^2.3.0",
"babel-core": "^5.5.8",
"chalk": "^1.0.0",
"codecov.io": "^0.1.6",
"console-group": "^0.1.2",
"es6-promise": "^3.0.2",
"eslint": "^1.1.0",
"estree-walker": "^0.1.3",
"gobble": "^0.10.1",
"gobble-babel": "^5.5.8",
"gobble-browserify": "^0.6.1",
"gobble-cli": "^0.4.2",
"gobble-esperanto-bundle": "^0.2.0",
"gobble-rollup": "^0.8.0",
"gobble-rollup-babel": "^0.1.0",
"gobble-rollup": "^0.10.0",
"gobble-rollup-babel": "^0.4.0",
"istanbul": "^0.3.20",
"magic-string": "^0.7.0",
"mocha": "^2.2.4",
"remap-istanbul": "^0.2.0",
"source-map": "^0.4.4"
},
"dependencies": {
"acorn": "^2.3.0",
"chalk": "^1.0.0",
"estree-walker": "^0.1.3",
"magic-string": "^0.7.0",
"minimist": "^1.1.1",
"sander": "^0.3.3",
"source-map": "^0.4.4",
"source-map-support": "^0.3.1"
},
"dependencies": {
"minimist": "^1.1.1"
},
"files": [

@@ -70,0 +68,0 @@ "src",

@@ -1,2 +0,2 @@

import { Promise } from 'sander';
import Promise from 'es6-promise/lib/es6-promise/promise';
import MagicString from 'magic-string';

@@ -3,0 +3,0 @@ import { blank, keys } from './utils/object';

@@ -1,2 +0,2 @@

import { parse } from 'acorn';
import { parse } from 'acorn/src/index';
import MagicString from 'magic-string';

@@ -3,0 +3,0 @@ import { walk } from 'estree-walker';

import { basename } from './utils/path';
import { writeFile } from 'sander';
import { writeFile } from './utils/fs';
import { keys } from './utils/object';

@@ -4,0 +4,0 @@ import SOURCEMAPPING_URL from './utils/sourceMappingURL';

@@ -1,6 +0,6 @@

import { readFileSync } from 'sander';
import { readFileSync } from './fs';
export function defaultLoader ( id, options ) {
// TODO support plugins e.g. !css and !json?
const source = readFileSync( id, { encoding: 'utf-8' });
const source = readFileSync( id, 'utf-8' );

@@ -7,0 +7,0 @@ return options.transform.reduce( ( source, transformer ) => {

import { absolutePath, dirname, isAbsolute, resolve } from './path';
import { readdirSync, readFileSync } from 'sander';
import { readdirSync, readFileSync } from './fs';

@@ -61,3 +61,3 @@ function dirExists ( dir ) {

try {
pkg = JSON.parse( readFileSync( pkgPath ).toString() );
pkg = JSON.parse( readFileSync( pkgPath, 'utf-8' ) );
} catch ( err ) {

@@ -64,0 +64,0 @@ throw new Error( `Missing or malformed package.json: ${modulePath}` );

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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