Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

val-loader

Package Overview
Dependencies
Maintainers
8
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

val-loader - npm Package Versions

13

2.0.1

Diff

Changelog

Source

2.0.1 (2019-11-19)

Bug Fixes

  • link on package (#44) (f234364)
evilebottnawi
published 2.0.0 •

Changelog

Source

2.0.0 (2019-11-14)

Bug Fixes

  • support webpack@5

Features

  • better handle errors from a module
  • pass module.parent to a module
  • validate loader options

BREAKING CHANGES

  • minimum supported node version is 10.13.0
  • minimum supported webpack version is 4.0.0

<a name="1.1.1"></a>

evilebottnawi
published 1.1.1 •

Changelog

Source

1.1.1 (2018-06-21)

Bug Fixes

<a name="1.1.0"></a>

d3viant0ne
published 1.1.0 •

Changelog

Source

1.1.0 (2017-11-19)

Features

  • add support for contextDependencies in the {Object} interface (options.contextDependencies) (#23) (78aa6fe)

<a name="1.0.2"></a>

jhnns
published 1.0.2 •

Changelog

Source

1.0.2 (2017-03-21)

Bug Fixes

<a name="1.0.1"></a>

jhnns
published 1.0.1 •

Changelog

Source

1.0.1 (2017-03-20)

Bug Fixes

<a name="1.0.0"></a>

jhnns
published 1.0.0 •

Changelog

Source

1.0.0 (2017-03-16)

Features

  • change expected module API (caf2aab)

BREAKING CHANGES

  • this commit introduces a major refactoring of the loader.
  • remove node 0.10 and node 0.12 support
  • the loaded module must now export a function
  • this function will be called with the loader options
  • this function must return an object with this structure

Property | Type | Description :--------|:-----|:----------- code | string|Buffer | Required. The code that is passed to the next loader or to webpack. sourceMap | SourceMap | Optional. Will be pased to the next loader or to webpack. ast | any | Optional. An Abstract Syntax Tree that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST. dependencies | Array<string> | Default: []. An array of absolute, native paths to file dependencies that need to be watched for changes. cacheable | boolean | Default: false. Flag whether the code can be re-used in watch mode if none of the dependencies have changed.

  • the function may also return a promise for async results
  • switch tooling to webpack-defaults
d3viant0ne
published 0.5.1 •

Changelog

Source

1.0.0 (2017-03-16)

Features

  • change expected module API (caf2aab)

BREAKING CHANGES

  • this commit introduces a major refactoring of the loader.
  • remove node 0.10 and node 0.12 support
  • the loaded module must now export a function
  • this function will be called with the loader options
  • this function must return an object with this structure

Property | Type | Description :--------|:-----|:----------- code | string|Buffer | Required. The code that is passed to the next loader or to webpack. sourceMap | SourceMap | Optional. Will be pased to the next loader or to webpack. ast | any | Optional. An Abstract Syntax Tree that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST. dependencies | Array<string> | Default: []. An array of absolute, native paths to file dependencies that need to be watched for changes. cacheable | boolean | Default: false. Flag whether the code can be re-used in watch mode if none of the dependencies have changed.

  • the function may also return a promise for async results
  • switch tooling to webpack-defaults
sokra
published 0.5.0 •

sokra
published 0.2.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