Socket
Socket
Sign inDemoInstall

imports-loader

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imports-loader - npm Package Versions

13

1.0.0

Diff

Changelog

Source

1.0.0 (2020-06-17)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13
  • minimum supported webpack version is 4
  • inline syntax was changed, please read
  • list of imported modules moved to the imports option, please read
  • wrapper moved to the wrapper option, please read
  • custom variables moved to the additionalCode option, please read
  • generates ES module default import by default (import Foo from 'foo';)

Features

  • validate options
  • support webpack 5
  • implemented the type option (imports can be CommonsJS or ES module format)
  • implemented the ability to generate multiple import in CommonJS or ES module format
  • improved support of inline usage
  • allowed to adding arguments for wrapper
  • allowed to inject any custom code

Bug Fixes

  • do not crash on invalid inline syntax
  • respect 'use strict';

<a name="0.8.0"></a>

michael-ciniawsky
published 0.8.0 •

Changelog

Source

0.8.0 (2018-02-20)

Features

  • allow loading nested objects onto existing libraries (#45) (44d6f48)
d3viant0ne
published 0.7.1 •

Changelog

Source

0.8.0 (2018-02-20)

Features

  • allow loading nested objects onto existing libraries (#45) (44d6f48)
spacek33z
published 0.7.0 •

sokra
published 0.6.5 •

sokra
published 0.6.4 •

sokra
published 0.6.3 •

sokra
published 0.6.2 •

sokra
published 0.6.1 •

sokra
published 0.6.0 •

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