Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency rollup to v1 #123

Merged
merged 1 commit into from
Jun 10, 2019
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 6, 2019

This PR contains the following updates:

Package Type Update Change
rollup dependencies major ^0.59.4 -> ^1.0.0

Release Notes

rollup/rollup

v1.14.6

Compare Source

2019-06-10

Bug Fixes
  • Fix an issue where call arguments were not included in try statements (#​2914)
Pull Requests

v1.14.5

Compare Source

2019-06-09

Bug Fixes
  • Keep external ids unmodified when using the object form of resolveId (#​2907)
  • Cache dynamic import resolutions when using Rollup cache (#​2908)
  • Keep all necessary parentheses when tree-shaking call arguments (#​2911)
Pull Requests

v1.14.4

Compare Source

2019-06-07

Bug Fixes
  • Do not omit external re-exports for moduleSideEffects: false (#​2905)
Pull Requests

v1.14.3

Compare Source

2019-06-06

Bug Fixes
  • Generate correct external imports when importing from a directory that would be above the root of the current working directory (#​2902)
Pull Requests

v1.14.2

Compare Source

2019-06-05

Bug Fixes
  • Prevent unnecessary inclusion of external namespace import in certain situations (#​2900)
Pull Requests

v1.14.1

Compare Source

2019-06-05

Bug Fixes
  • Fix an issue where try-statements were not included properly when a variable declared inside the statement was accessed outside it (#​2898)
  • Fix an issue where await expressions were not included properly (#​2899)
Pull Requests

v1.14.0

Compare Source

2019-06-05

Features
  • Deoptimize code inside and called from try-statements for feature detection (#​2892)
  • Tree-shake unused call arguments (#​2892)
Pull Requests
  • #​2892: Implement try-statement-deoptimization for feature detection, tree-shake unused arguments (@​lukastaegert)

v1.13.1

Compare Source

2019-06-01

Bug Fixes
  • Avoid conflicts between top-level module, require etc. and CommonJS runtimes (#​2889)
Pull Requests

v1.13.0

Compare Source

2019-05-31

Features
  • Omit exports and module from SystemJS wrapper if possible (#​2880)
  • Try to use the first letters of names when mangling exports (#​2885)
Bug Fixes
  • Avoid conflicts with local variables when using format specific globals to render dynamic imports and file URLs (#​2880)
  • Do not produce undefined reexports when reexporting from entry points (#​2885)
Pull Requests

v1.12.5

Compare Source

2019-05-30

Pull Requests

v1.12.4

Compare Source

2019-05-27

Bug Fixes
  • Show correct error stack trace for errors throw in "load" hooks (#​2871)
Pull Requests

v1.12.3

Compare Source

2019-05-19

Bug Fixes
  • Prevent duplicate imports when exports are reexported as default exports (#​2866)
Pull Requests

v1.12.2

Compare Source

2019-05-17

Bug Fixes
  • Do not fail when using clearScreen:false in watchMode (#​2858)
  • Properly resolve star reexports when preserving modules (#​2860)
Pull Requests

v1.12.1

Compare Source

2019-05-16

Bug Fixes
  • Extend file name sanitation to also replace "?" and "*" e.g. when preserving modules with the updated commonjs plugin (#​2860)
  • Do not ignore module transformer that return an empty string (#​2861)
Pull Requests

v1.12.0

Compare Source

2019-05-15

Features
  • Add treeshake.moduleSideEffects option to allow removing empty imports without a side-effect check (#​2844)
  • Extend plugin API to allow marking modules as side-effect-free (#​2844)
  • Extend this.resolve plugin context function with an option to skip the resolveId hook of the calling plugin (#​2844)
  • Add isEntry flag to this.getModuleInfo plugin context function (#​2844)
  • Distribute Rollup as optimized ES2015 code (#​2851)
Pull Requests

v1.11.3

Compare Source

2019-05-05

Bug Fixes
  • Quote es3 keywords in namespace objects (#​2825)
Pull Requests

v1.11.2

Compare Source

2019-05-04

Bug Fixes
  • Prevent a crash when handling circular namespace exports (#​2836)
Pull Requests

v1.11.1

Compare Source

2019-05-04

Bug Fixes
  • Fix an issue where rendered exports were reported as "removed" in the bundle information (#​2835)
Pull Requests

v1.11.0

Compare Source

2019-05-03

Features
  • Add emitChunk plugin context function to emit additional entry chunks that can be referenced from the code (#​2809)
  • Allow manualChunks to be a function (#​2831)
  • Omit .js extensions in AMD imports to make sure an AMD baseUrl would work (#​2809)
  • Automatically use the name of the imported module as a base for dynamically imported chunks (#​2809)
  • Add resolveFileUrl plugin hook to replace resolveAssetUrl and handle emitted chunks as well (#​2809)
  • Add resolve plugin hook to replace resolveId and isExternal that returns an object (#​2829)
  • Allow resolveDynamicImport to return an {id, external} object to also resolve unresolvable dynamic imports to a module (#​2829)
Bug Fixes
  • Do not create invalid code if a dynamic import contains nothing but reexports (#​2809)
  • Do not fail if modules that define a manual chunk depend on each other (#​2809)
  • Do not fail if a module that defines a manual chunk is the dependency of a module defining a different manual chunk (#​2809)
  • No longer fail for unnamed duplicate entry points but combine them (#​2809)
  • Always return string | null from this.resolveId even if some resolveId hooks return objects (#​2829)
  • Show proper warnings when resolveDynamicImport resolves to a non-external module that does not exist (#​2829)
Pull Requests

v1.10.1

Compare Source

2019-04-19

Bug Fixes
  • Invalid options.format values will now trigger a helpful error (#​2813)
Pull Requests

v1.10.0

Compare Source

2019-04-11

Features
  • Improve generated code to polyfill import.meta.url (#​2785)
  • Add plugin hook to configure handling of import.meta (#​2785)
  • Improve generated code when accessing URLs of emitted assets (#​2796)
  • Add plugin hook to configure the generated code when accessing URLs of emitted assets (#​2796)
Bug Fixes
  • No longer resolve assets to their parent URL in some cases (#​2796)
Pull Requests

v1.9.3

Compare Source

2019-04-10

Bug Fixes
  • Simplify return expressions that are evaluated before the surrounding function is bound (#​2803)
Pull Requests

v1.9.2

Compare Source

2019-04-10

Bug Fixes
  • Allowing replacing output.file with output.dir in the outputOptions hook (#​2802)
Pull Requests

v1.9.1

Compare Source

2019-04-10

Bug Fixes
  • Make sure inline comments in dynamic imports are preserved (#​2797)
Pull Requests

v1.9.0

Compare Source

2019-04-05

Features
  • Add built-in support for bigint (#​2789)
Pull Requests

v1.8.0

Compare Source

2019-04-02

Features
  • Support module as alias for esm and commonjs for cjs to match Node (#​2783)
Pull Requests

v1.7.4

Compare Source

2019-03-28

Bug Fixes
  • Improve TypeScript type of the treeshaking options (#​2779)
Pull Requests

v1.7.3

Compare Source

2019-03-24

Bug Fixes
  • Use getters when re-exporting live-bindings (#​2765)
Pull Requests

v1.7.2

Compare Source

2019-03-24

Bug Fixes
  • Make sure relative external ids are resolved correctly (#​2774)
Pull Requests

v1.7.1

Compare Source

2019-03-24

Bug Fixes
  • Prevent invalid code when exporting several hundred identifiers from a chunk (#​2768)
  • Do not wrongly deconflict labels (#​2776)
Pull Requests

v1.7.0

Compare Source

2019-03-20

Features
  • Sort chunk exports by name for greater consistency (#​2757)
Bug Fixes
  • Fix a situation where tree-shakeable code would not be removed in an indeterminate manner (#​2757)
Pull Requests

v1.6.1

Compare Source

2019-03-20

Bug Fixes
  • Avoid name clashes of unused default exports when tree-shaking is false (#​2758)
  • Do not crash when generating SystemJS bundles containing array patterns with member expressions (#​2760)
Pull Requests

v1.6.0

Compare Source

2019-03-08

Features
  • Add plugin hook to modify output options (#​2736)
Pull Requests

v1.5.0

Compare Source

2019-03-07

Features
  • Allow resolving to a different id while marking it as external at the same time (#​2734)
Pull Requests

v1.4.2

Compare Source

2019-03-07

Bug Fixes
  • Respect variable identity of exports when hashing (#​2741)
  • Resolve a situations where a variable was imported twice with the same name (#​2737)
Pull Requests

v1.4.1

Compare Source

2019-03-04

Bug Fixes
  • Do not treat the import target "" as external by default (#​2733)
Pull Requests

v1.4.0

Compare Source

2019-03-01

Features
  • Add option to change the name of the dynamic import function to allow polyfilling it (#​2723)
Pull Requests

v1.3.3

Compare Source

2019-03-01

Bug Fixes
  • Fix performance regression when handling long chains of calls to property methods (#​2732)
Pull Requests

v1.3.2

Compare Source

2019-02-27

Bug Fixes
  • Allow ids of default exported classes to be exported separately (#​2728)
Pull Requests

v1.3.1

Compare Source

2019-02-27

Bug Fixes
  • Correctly reexport the default export from entry chunks (#​2727)
Pull Requests

v1.3.0

Compare Source

2019-02-26

Features
  • Treeshake call expressions prefixed with UglifyJS style @__PURE__ annotations (#​2429)
Pull Requests

v1.2.5

Compare Source

2019-02-26

Bug Fixes
  • Store external ids reported by plugins in watch mode (#​2718)
Pull Requests

v1.2.4

Compare Source

2019-02-26

Bug Fixes
  • Fix an issue where a variable was imported twice under the same name (#​2715)
Pull Requests

v1.2.3

Compare Source

2019-02-23

Bug Fixes
  • Use correct path when rendering dynamic imports where the entry module is empty (#​2714)
Pull Requests

v1.2.2

Compare Source

2019-02-19

Bug Fixes
  • Fix wrong external imports when using the paths options only for some outputs (#​2706)
Pull Requests

v1.2.1

Compare Source

2019-02-17

Bug Fixes
Pull Requests

v1.2.0

Compare Source

2019-02-17

Features
  • Fewer renamed variables due to a completely reimplemented deconflicting logic (#​2689)
Bug Fixes
  • Respect rendered and tree-shaken exports when determining chunk hashes (#​2695)
  • Fix an error when dynamic imports end up in the same chunk as one of their importees (#​2677)
  • Do not generate invalid code when expressions containing IIFEs are simplified (#​2696)
  • Do not throw an error when more than ten bundles are watched (#​2700)
  • Treat re-exported globals in a spec-compliant way (#​2691)
  • Fix issues related to wrongly renamed variables (#​2689)
  • Do not throw an error if config files contain non-default exports (#​2673)
  • Improve type of RollupOutput.output to guarantee at least one chunk (#​2679)
Pull Requests

v1.1.2

Compare Source

2019-01-21

Bug Fixes
  • Tree-shaken dynamic imports no longer leave behind undefined entries in the bundle information (#​2663)
  • Dynamic imports in dynamically imported files could lead to crashes and would not always create new chunks (#​2664)
Pull Requests

v1.1.1

Compare Source

2019-01-19

Bug Fixes
  • Make sure object prototype methods are not considered to be falsy when tree-shaking (#​2652)
Pull Requests

v1.1.0

Compare Source

2019-01-09

Features
  • Make this.meta available from the options plugin hook (#​2642)
  • Add a new writeBundle plugin hook that is called after all files have been written (#​2643)
Bug Fixes
  • Make sure the acorn import of the bundled non-ESM acorn plugins is correctly translated to ESM (#​2636)
  • Make sure input options are actually passed to the buildStart hook (#​2642)
Pull Requests

v1.0.2

Compare Source

2019-01-05

Bug Fixes
  • Make sure the transform hook is always reevaluated when a file watched by the hook changes (#​2633)
  • Fix a crash when generating hashes for tree-shaken dynamic imports (#​2638)
  • Fix a crash and some inconsistencies when using the acorn-bigint plugin (#​2640)
Pull Requests

v1.0.1

Compare Source

2019-01-03

Bug Fixes
  • Properly handle reexporting an external default export for non-ESM targets when using named exports mode (#​2620)
  • Do not (wrongly) re-declare input options in the merged RollupOptions type (#​2622)
Pull Requests

v1.0.0

Compare Source

2018-12-28

Breaking Changes
  • Several (mostly deprecated) options have been removed or renamed (#​2293, #​2409):
    • banner -> output.banner
    • dest -> output.file
    • entry -> input
    • experimentalCodeSplitting -> now always active
    • experimentalDynamicImport -> now always active
    • experimentalPreserveModules -> preserveModules
    • exports -> output.exports
    • extend -> output.extend
    • footer -> output.footer
    • format -> output.format
    • freeze -> output.freeze
    • globals -> output.globals
    • indent -> output.indent
    • interop -> output.interop
    • intro -> output.intro
    • load -> use plugin API
    • moduleName -> output.name
    • name -> output.name
    • noConflict -> output.noConflict
    • output.moduleId -> output.amd.id
    • outro -> output.outro
    • paths -> output.paths
    • preferConst -> output.preferConst
    • pureExternalModules -> treeshake.pureExternalModules
    • resolveExternal -> use plugin API
    • resolveId -> use plugin API
    • sourcemap -> output.sourcemap
    • sourceMap -> output.sourcemap
    • sourceMapFile -> output.sourcemapFile
    • strict -> output.strict
    • targets -> use output as an array
    • transform -> use plugin API
    • useStrict -> output.strict
  • In general, output options can no longer be used as input options (#​2409)
  • bundle.generate and bundle.write now return a new format (#​2293)
  • Several plugin hooks have become deprecated and will display warnings when used (#​2409):
    • transformBundle
    • transformChunk
    • ongenerate
    • onwrite
  • Plugin transform dependencies are deprecated in favour of using the this.addWatchFile plugin context function (#​2409)
  • Accessing this.watcher in plugin hooks is deprecated in favour of the watchChange plugin hook and the this.addWatchFile plugin context function (#​2409)
  • Using dynamic import statements will by default create a new chunk unless inlineDynamicImports is used (#​2293)
  • Rollup now uses acorn@6 which means that acorn plugins must be compatible with this version; acorn is now external for non-browser builds to make plugins work (#​2293)
Features
  • The --dir ClI option can now be aliased as -d (#​2293)
  • The --input option now supports named entry points via = (#​2293)
Bug Fixes
  • Both the --input option as well as the default CLI option now support named inputs (#​2293)
Pull Requests

v0.68.2

Compare Source

2018-12-23

Bug Fixes
  • Do not assume hoisted variables to have been initialized (#​2607)
Pull Requests
  • #​2607: Fix an issues where hoisted variables were assumed to have been initialized (@​lye)

v0.68.1

Compare Source

2018-12-19

Bug Fixes
  • Fix an issue with UMD wrappers where a variable is used without being defined (#​2600)
Pull Requests

v0.68.0

Compare Source

2018-12-16

Breaking Changes
  • optimizeChunks is renamed to experimentalOptimizeChunks to reflect this feature is not production-ready yet (#​2575)
Features
  • Plugins can iterate all module ids via this.moduleIds (#​2565)
  • Plugins can get graph information about a module via this.getModuleInfo(id) (#​2565)
  • Plugins and JS API users get more information about the generated chunks: dynamicImports, facadeModuleId, isDynamicEntry, name (#​2575)
  • Tree-shaken dynamic imports will no longer create chunks or influence chunking in any way (#​2575)
  • Dynamic imports will no longer follow the entryFileNames but the chunkFileNames property reflecting those are solely internally used (#​2575)
  • If there are chunk naming conflicts, entry chunks will always take precedence (#​2575)
  • If an entry facade is created, only the facade chunk is marked as isEntry (#​2575)
  • Dynamic chunks will only be marked as isEntry if they are actually entry chunks as well; thus there is now a 1-to-1 correspondence between modules listed in input and chunks marked as isEntry (#​2575)
  • Chunks no longer contain imports for variables that are tree-shaken in the chunk but used in other chunks (#​2584)
  • Chunks will always import re-exported variables directly from the chunk where they are originally exported from (#​2584)
  • Null characters will be pruned from chunk ids to allow for virtually created chunks and make rollup-plugin-multi-entry compatible with code-splitting and thus the upcoming 1.0 version (#​2590)
  • Simplify the UMD wrapper code as much as possible, especially if there are no exports (#​2594)
  • The UMD wrapper will now work in strict mode by checking for self before this when determining the global variable (#​2594)
Bug Fixes
  • If a facade is created for a dynamic entry point, this facade will be imported instead of the facaded chunk (#​2575)
  • Manual chunks that include multiple entry points will have proper facades created for all entry points if necessary (#​2575)
  • If missing exports are shimmed, the shim variable will not be global but created on a per-module basis and is deconflicted with variables having the same name (#​2584)
  • Missing export shims work properly in SystemJS (#​2584)
  • preserveModules now handles dynamic namespace imports (#​2584)
  • Fix chunk execution order in certain scenarios (#​2584)
  • Exports and assignments using destructuring syntax will properly update the exported variables when generating SystemJS output (#​2587)
  • Hashes in chunk names will now also take dynamic imports into account (#​2596)
Pull Requests
  • #​2565: Provide module graph information on the plugin context (@​samccone)
  • #​2575: Extend bundle information, tree-shake dynamic imports, fix dynamic import facade creation, support manual chunks with multiple entry points, make optimizeChunks experimental (@​lukastaegert)
  • #​2577: Update dependencies (@​lukastaegert)
  • #​2584: Prune tree-shaken chunk imports, fix missing export shimming, support dynamic namespaces when preserving modules, improve chunk execution order (@​lukastaegert)
  • #​2587: Support exports using destructuring declarations and assignments in SystemJS (@​lukastaegert)
  • #​2590: Make sure chunk ids do not contain invalid characters to allow for chunks to correspond to virtual modules (@​lukastaegert)
  • #​2594: Simplify UMD wrapper code and make sure it works in strict mode (@​lukastaegert)
  • #​2596: Take both static and dynamic dependencies into account when calculating hashes (@​lukastaegert)

v0.67.4

Compare Source

2018-12-03

Bug Fixes
  • Prevent corrupt source maps for files with very long lines (#​2571)
Pull Requests

v0.67.3

Compare Source

2018-11-17

Bug Fixes
  • Make sure the ESM browser build is actually published to npm (#​2560)
  • Throw proper error when using inlineDynamicImports with experimentalPreserveModules (#​2560)
Pull Requests

v0.67.2

Compare Source

2018-11-17

Bug Fixes
  • Prevent crash when not returning sourcemaps from renderChunk plugin hook (#​2558)
Pull Requests

v0.67.1

Compare Source

2018-11-11

Bug Fixes
  • Deconflict CLI entry points with same name but on different paths if no explicit naming is used (#​2548)
Pull Requests
  • #​2548: Deconflict CLI entry points with same name but on different paths if no explicit naming is used (@​lukastaegert)

v0.67.0

Compare Source

2018-11-04

Breaking Changes

none

Features
  • Do not resolve external dynamic imports via plugins to match the logic for static external imports again (#​2505)
  • Support virtual modules created by plugins when preserving modules (#​2511)
  • Add new output.sourcemapExcludeSources option to exclude the actual sources from sourcemaps (#​2531)
Bug Fixes
  • Fix TypeScript type for sourcemaps (#​2507)
  • Fix order of external and inter-chunk imports to match the proper execution order (#​2508)
  • Do not tree-shake children of unknown nodes to e.g. properly handle do-expressions via acorn plugin (#​2510)
  • Prevent memory leak when using the bundle as cache (#​2522)
  • Fix mis-placed semicolons for certain SystemJS exports (#​2529)
Pull Requests

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot changed the title Update dependency rollup to v1 fix(deps): update dependency rollup to v1 Jun 7, 2019
@renovate renovate bot changed the title fix(deps): update dependency rollup to v1 Update dependency rollup to v1 Jun 10, 2019
@renovate renovate bot changed the title Update dependency rollup to v1 fix(deps): update dependency rollup to v1 Jun 10, 2019
@renovate renovate bot changed the title fix(deps): update dependency rollup to v1 Update dependency rollup to v1 Jun 10, 2019
@mgechev mgechev merged commit 2623c85 into master Jun 10, 2019
@mgechev mgechev deleted the renovate/rollup-1.x branch June 10, 2019 14:08
@renovate renovate bot changed the title Update dependency rollup to v1 fix(deps): update dependency rollup to v1 Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants