diff -Nru node-cache-loader-1.2.2/appveyor.yml node-cache-loader-2.0.1/appveyor.yml --- node-cache-loader-1.2.2/appveyor.yml 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/appveyor.yml 2019-01-04 19:23:48.000000000 +0000 @@ -1,29 +1,45 @@ branches: only: - master + - next init: - git config --global core.autocrlf input +cache: + - node_modules + - '%APPDATA%\npm-cache' environment: matrix: + - nodejs_version: '6' + webpack_version: latest + job_part: test - nodejs_version: '8' webpack_version: latest job_part: test - - nodejs_version: '6' + - nodejs_version: '10' webpack_version: latest job_part: test - - nodejs_version: '4.3' + - nodejs_version: '11' webpack_version: latest job_part: test + - nodejs_version: '8' + webpack_version: next + job_part: test build: 'off' matrix: fast_finish: true + allow_failures: + - nodejs_version: '8' + webpack_version: next + job_part: test install: - ps: Install-Product node $env:nodejs_version x64 - npm i -g npm@latest - - npm install + - npm ci + - npm i -g @webpack-contrib/tag-versions before_test: - cmd: npm install webpack@%webpack_version% test_script: - node --version - npm --version - - cmd: npm run appveyor:%job_part% + - cmd: FOR /F %%I in ('compver --name webpack --gte %webpack_version% --lt latest') do SET COMPARED_VERSION_RESULT=%%I + - cmd: IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:%job_part%) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite") \ No newline at end of file diff -Nru node-cache-loader-1.2.2/.babelrc node-cache-loader-2.0.1/.babelrc --- node-cache-loader-1.2.2/.babelrc 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/.babelrc 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -{ - "presets": [ - [ - "env", - { - "useBuiltIns": true, - "targets": { - "node": "4.8" - }, - "exclude": [ - "transform-async-to-generator", - "transform-regenerator" - ] - } - ] - ], - "plugins": [ - [ - "transform-object-rest-spread", - { - "useBuiltIns": true - } - ] - ], - "env": { - "test": { - "presets": [ - "env" - ], - "plugins": [ - "transform-object-rest-spread" - ] - } - } -} diff -Nru node-cache-loader-1.2.2/CHANGELOG.md node-cache-loader-2.0.1/CHANGELOG.md --- node-cache-loader-1.2.2/CHANGELOG.md 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/CHANGELOG.md 2019-01-04 19:23:48.000000000 +0000 @@ -2,6 +2,68 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [2.0.1](https://github.com/webpack-contrib/cache-loader/compare/v2.0.0...v2.0.1) (2019-01-04) + + +### Bug Fixes + +* generate normalized cache context relative paths ([#54](https://github.com/webpack-contrib/cache-loader/issues/54)) ([5b37474](https://github.com/webpack-contrib/cache-loader/commit/5b37474)) + + + + +# [2.0.0](https://github.com/webpack-contrib/cache-loader/compare/v1.2.5...v2.0.0) (2018-12-21) + + +### Chores + +* drop support for `webpack` < 4 ([#51](https://github.com/webpack-contrib/cache-loader/issues/51)) ([2e76d3f](https://github.com/webpack-contrib/cache-loader/commit/2e76d3f)) +* drop support for node < 6 ([#50](https://github.com/webpack-contrib/cache-loader/issues/50)) ([b8225cd](https://github.com/webpack-contrib/cache-loader/commit/b8225cd)) + + +### Features + +* add `cacheContext` option ([#49](https://github.com/webpack-contrib/cache-loader/issues/49)) ([22d0173](https://github.com/webpack-contrib/cache-loader/commit/22d0173)) + + +### BREAKING CHANGES + +* drop support for `webpack` < 4 +* drop support for node < 6 + + + + +## [1.2.5](https://github.com/webpack-contrib/cache-loader/compare/v1.2.4...v1.2.5) (2018-10-31) + + +### Bug Fixes + +* **index:** `this` of `stat` method is `undefined` ([#47](https://github.com/webpack-contrib/cache-loader/issues/47)) ([5c67ccd](https://github.com/webpack-contrib/cache-loader/commit/5c67ccd)) + + + + +## [1.2.4](https://github.com/webpack-contrib/cache-loader/compare/v1.2.3...v1.2.4) (2018-10-31) + + +### Bug Fixes + +* **index:** fallback to `fs` if `this.fs` is `undefined` ([#45](https://github.com/webpack-contrib/cache-loader/issues/45)) ([b84d13e](https://github.com/webpack-contrib/cache-loader/commit/b84d13e)) + + + + +## [1.2.3](https://github.com/webpack-contrib/cache-loader/compare/v1.2.2...v1.2.3) (2018-10-30) + + +### Performance Improvements + +* **index:** use the `compiler`'s cached `fs` for stats (`this.fs.stat`) ([#42](https://github.com/webpack-contrib/cache-loader/issues/42)) ([d8c630b](https://github.com/webpack-contrib/cache-loader/commit/d8c630b)) + + + ## [1.2.2](https://github.com/webpack-contrib/cache-loader/compare/v1.2.1...v1.2.2) (2018-02-27) diff -Nru node-cache-loader-1.2.2/.circleci/config.yml node-cache-loader-2.0.1/.circleci/config.yml --- node-cache-loader-1.2.2/.circleci/config.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/.circleci/config.yml 2019-01-04 19:23:48.000000000 +0000 @@ -0,0 +1,145 @@ +unit_tests: &unit_tests + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - run: + name: Install Latest NPM. + # npm@3 is buggy + command: if [[ $(npm -v | cut -c -1) > 3 ]] ; then npm i -g npm@latest; else echo "Skip npm updating"; fi + - run: + name: NPM Install. + command: npm ci || npm i + - run: + name: Run Test. + command: npm run ci:test +canary_tests: &canary_tests + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - run: + name: Install Latest NPM. + command: npm i -g npm@latest + - run: + name: NPM Install. + command: npm ci + - run: + name: Install Webpack Canary. + command: npm i --no-save webpack@next + - run: + name: Run Test. + command: if [[ $(compver --name webpack --gte next --lt latest) < 1 ]] ; then printf "Next is older than Latest - Skipping Canary Suite"; else npm run ci:test || true; fi + +version: 2 +jobs: + dependency_cache: + docker: + - image: webpackcontrib/circleci-node-base:latest + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - run: + name: Install Latest NPM. + command: npm i -g npm@latest + - run: + name: NPM Install. + command: npm ci + - save_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + paths: + - ./node_modules + analysis: + docker: + - image: webpackcontrib/circleci-node-base:latest + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - run: + name: Install Latest NPM. + command: npm i -g npm@latest + - run: + name: NPM Install. + command: npm ci + - run: + name: Run linting. + command: npm run lint + - run: + name: Run NPM Audit. + command: npm run security + - run: + name: Validate Commit Messages. + command: npm run ci:lint:commits + node6-latest: + docker: + - image: webpackcontrib/circleci-node6:latest + <<: *unit_tests + node8-latest: + docker: + - image: webpackcontrib/circleci-node8:latest + <<: *unit_tests + node10-latest: + docker: + - image: webpackcontrib/circleci-node10:latest + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package-lock.json" }} + - run: + name: Install Latest NPM. + command: npm i -g npm@latest + - run: + name: NPM Install. + command: npm ci + - run: + name: Run Test. + command: npm run ci:coverage + - run: + name: Submit coverage data to codecov. + command: bash <(curl -s https://codecov.io/bash) + when: on_success + node8-canary: + docker: + - image: webpackcontrib/circleci-node8:latest + <<: *canary_tests + +workflows: + version: 2 + test: + jobs: + - dependency_cache + - analysis: + requires: + - dependency_cache + filters: + tags: + only: /.*/ + - node6-latest: + requires: + - dependency_cache + filters: + tags: + only: /.*/ + - node8-latest: + requires: + - analysis + - node6-latest + filters: + tags: + only: /.*/ + - node10-latest: + requires: + - analysis + - node6-latest + filters: + tags: + only: /.*/ + - node8-canary: + requires: + - analysis + - node6-latest + filters: + tags: + only: /.*/ \ No newline at end of file diff -Nru node-cache-loader-1.2.2/debian/changelog node-cache-loader-2.0.1/debian/changelog --- node-cache-loader-1.2.2/debian/changelog 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/changelog 2019-08-08 07:14:48.000000000 +0000 @@ -1,3 +1,22 @@ +node-cache-loader (2.0.1-2) unstable; urgency=medium + + * Reupload to unstable + * Add peerDependency on webpack as dependency in control + * Bump Standards-Version to 4.4.0 (no changes needed) + * Switch to pkg-js-tools auto install + + -- Pirate Praveen Thu, 08 Aug 2019 07:14:48 +0000 + +node-cache-loader (2.0.1-1) experimental; urgency=medium + + * New upstream version 2.0.1 + * Tighten dependency versions + * Bump Standards-Version to 4.3.0 (no changes needed) + * Use babel 6 with .babelrc + * Use pkg-js-tools + + -- Pirate Praveen Thu, 04 Jul 2019 17:31:47 +0530 + node-cache-loader (1.2.2-1) unstable; urgency=low * Initial release (Closes: #909262) diff -Nru node-cache-loader-1.2.2/debian/clean node-cache-loader-2.0.1/debian/clean --- node-cache-loader-1.2.2/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/debian/clean 2019-08-08 07:09:05.000000000 +0000 @@ -0,0 +1 @@ +dist/* diff -Nru node-cache-loader-1.2.2/debian/control node-cache-loader-2.0.1/debian/control --- node-cache-loader-1.2.2/debian/control 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/control 2019-08-08 07:14:48.000000000 +0000 @@ -6,23 +6,25 @@ Build-Depends: debhelper (>= 11~) , nodejs (>= 6) + , pkg-js-tools (>= 0.8.12~) , babeljs - , node-babel-plugin-transform-object-rest-spread , node-babel-preset-env -Standards-Version: 4.2.1 +Standards-Version: 4.4.0 Homepage: https://github.com/webpack-contrib/cache-loader Vcs-Git: https://salsa.debian.org/js-team/node-cache-loader.git Vcs-Browser: https://salsa.debian.org/js-team/node-cache-loader +Testsuite: autopkgtest-pkg-nodejs Package: node-cache-loader Architecture: all Depends: ${misc:Depends} , nodejs (>= 6) - , node-loader-utils (>= 1.1.0) - , node-mkdirp (>= 0.5.1) - , node-neo-async (>= 2.5.0) - , node-schema-utils (>= 0.4.2) + , node-loader-utils (>= 1.1~) + , node-mkdirp (>= 0.5.1~) + , node-neo-async (>= 2.6~) + , node-schema-utils (>= 1.0~) + , webpack (>= 4.0~) Description: Caches the result of following loaders on disk This is a loader for webpack. . diff -Nru node-cache-loader-1.2.2/debian/install node-cache-loader-2.0.1/debian/install --- node-cache-loader-1.2.2/debian/install 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -dist usr/lib/nodejs/cache-loader/ -package.json usr/lib/nodejs/cache-loader/ diff -Nru node-cache-loader-1.2.2/debian/patches/series node-cache-loader-2.0.1/debian/patches/series --- node-cache-loader-1.2.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/debian/patches/series 2019-08-08 07:09:05.000000000 +0000 @@ -0,0 +1 @@ +use-babel6.patch diff -Nru node-cache-loader-1.2.2/debian/patches/use-babel6.patch node-cache-loader-2.0.1/debian/patches/use-babel6.patch --- node-cache-loader-1.2.2/debian/patches/use-babel6.patch 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/debian/patches/use-babel6.patch 2019-08-08 07:09:05.000000000 +0000 @@ -0,0 +1,10 @@ +Babel 7 is not packaged, so use babel 6 + +--- /dev/null ++++ b/.babelrc +@@ -0,0 +1,5 @@ ++{ ++ "presets": [ ++ "env" ++ ] ++} diff -Nru node-cache-loader-1.2.2/debian/rules node-cache-loader-2.0.1/debian/rules --- node-cache-loader-1.2.2/debian/rules 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/rules 2019-08-08 07:09:05.000000000 +0000 @@ -5,12 +5,7 @@ #export DH_VERBOSE=1 %: - dh $@ + dh $@ --with nodejs override_dh_auto_build: babeljs src -d dist --ignore 'src/**/*.test.js' --copy-files - -#override_dh_auto_test: - -override_dh_auto_clean: - rm -rf dist diff -Nru node-cache-loader-1.2.2/debian/tests/control node-cache-loader-2.0.1/debian/tests/control --- node-cache-loader-1.2.2/debian/tests/control 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -Tests: require -Depends: node-cache-loader diff -Nru node-cache-loader-1.2.2/debian/tests/pkg-js/test node-cache-loader-2.0.1/debian/tests/pkg-js/test --- node-cache-loader-1.2.2/debian/tests/pkg-js/test 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/debian/tests/pkg-js/test 2019-08-08 07:09:05.000000000 +0000 @@ -0,0 +1 @@ +echo "Tests are disabled because jest is not packaged" diff -Nru node-cache-loader-1.2.2/debian/tests/require node-cache-loader-2.0.1/debian/tests/require --- node-cache-loader-1.2.2/debian/tests/require 2018-09-20 14:24:26.000000000 +0000 +++ node-cache-loader-2.0.1/debian/tests/require 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -node -e "require('cache-loader');" diff -Nru node-cache-loader-1.2.2/.editorconfig node-cache-loader-2.0.1/.editorconfig --- node-cache-loader-1.2.2/.editorconfig 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/.editorconfig 2019-01-04 19:23:48.000000000 +0000 @@ -8,6 +8,6 @@ insert_final_newline = true trim_trailing_whitespace = true -[.md] -insert_final_newline = false +[*.md] +insert_final_newline = true trim_trailing_whitespace = false diff -Nru node-cache-loader-1.2.2/.eslintrc node-cache-loader-2.0.1/.eslintrc --- node-cache-loader-1.2.2/.eslintrc 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/.eslintrc 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -{ - "extends": "webpack" -} \ No newline at end of file diff -Nru node-cache-loader-1.2.2/.eslintrc.js node-cache-loader-2.0.1/.eslintrc.js --- node-cache-loader-1.2.2/.eslintrc.js 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/.eslintrc.js 2019-01-04 19:23:48.000000000 +0000 @@ -0,0 +1,11 @@ +module.exports = { + root: true, + plugins: ['prettier'], + extends: ['@webpack-contrib/eslint-config-webpack'], + rules: { + 'prettier/prettier': [ + 'error', + { singleQuote: true, trailingComma: 'es5', arrowParens: 'always' }, + ], + }, +}; diff -Nru node-cache-loader-1.2.2/example/.babelrc node-cache-loader-2.0.1/example/.babelrc --- node-cache-loader-1.2.2/example/.babelrc 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/example/.babelrc 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -{ - "presets": [ - [ - "env", - { - "useBuiltIns": true, - "targets": { - "node": "4.8" - }, - "exclude": [ - "transform-async-to-generator", - "transform-regenerator" - ] - } - ] - ], - "plugins": [ - [ - "transform-object-rest-spread", - { - "useBuiltIns": true - } - ] - ], - "env": { - "test": { - "presets": [ - "env" - ], - "plugins": [ - "transform-object-rest-spread" - ] - } - } -} diff -Nru node-cache-loader-1.2.2/example/index.js node-cache-loader-2.0.1/example/index.js --- node-cache-loader-1.2.2/example/index.js 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/example/index.js 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -require('react'); diff -Nru node-cache-loader-1.2.2/example/webpack.config.js node-cache-loader-2.0.1/example/webpack.config.js --- node-cache-loader-1.2.2/example/webpack.config.js 2018-02-27 21:17:15.000000000 +0000 +++ node-cache-loader-2.0.1/example/webpack.config.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: './index.js', - output: { - path: path.resolve('dist'), - filename: 'bundle.js', - }, - module: { - rules: [ - { - test: /\.js$/, - use: [ - 'cache-loader', - 'babel-loader', - ], - }, - ], - }, -}; diff -Nru node-cache-loader-1.2.2/.github/CODEOWNERS node-cache-loader-2.0.1/.github/CODEOWNERS --- node-cache-loader-1.2.2/.github/CODEOWNERS 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/.github/CODEOWNERS 2019-01-04 19:23:48.000000000 +0000 @@ -0,0 +1,6 @@ +# These are the default owners for everything in +# webpack-contrib +@webpack-contrib/org-maintainers + +# Add repository specific users / groups +# below here for libs that are not maintained by the org. \ No newline at end of file diff -Nru node-cache-loader-1.2.2/.github/CONTRIBUTING.md node-cache-loader-2.0.1/.github/CONTRIBUTING.md --- node-cache-loader-1.2.2/.github/CONTRIBUTING.md 1970-01-01 00:00:00.000000000 +0000 +++ node-cache-loader-2.0.1/.github/CONTRIBUTING.md 2019-01-04 19:23:48.000000000 +0000 @@ -0,0 +1,124 @@ +## Contributing in @webpack-contrib + +We'd always love contributions to further improve the webpack / webpack-contrib ecosystem! +Here are the guidelines we'd like you to follow: + +* [Questions and Problems](#question) +* [Issues and Bugs](#issue) +* [Feature Requests](#feature) +* [Pull Request Submission Guidelines](#submit-pr) +* [Commit Message Conventions](#commit) + +### Got a Question or Problem? + +Please submit support requests and questions to StackOverflow using the tag [[webpack]](http://stackoverflow.com/tags/webpack). +StackOverflow is better suited for this kind of support though you may also inquire in [Webpack Gitter](https://gitter.im/webpack/webpack). +The issue tracker is for bug reports and feature discussions. + +### Found an Issue or Bug? + +Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available. + +We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs, we ask that you to provide a minimal reproduction scenario (github repo or failing test case). Having a live, reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions like: + +- version of Webpack used +- version of the loader / plugin you are creating a bug report for +- the use-case that fails + +A minimal reproduce scenario allows us to quickly confirm a bug (or point out config problems) as well as confirm that we are fixing the right problem. + +We will be insisting on a minimal reproduce scenario in order to save maintainers time and ultimately be able to fix more bugs. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it. + +Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced. + +### Feature Requests? + +You can *request* a new feature by creating an issue on Github. + +If you would like to *implement* a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project. + +### Pull Request Submission Guidelines + +Before you submit your Pull Request (PR) consider the following guidelines: + +- Search Github for an open or closed PR that relates to your submission. You don't want to duplicate effort. +- Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit). Adherence to these conventions is necessary because release notes are automatically generated from these messages. +- Fill out our `Pull Request Template`. Your pull request will not be considered if it is ignored. +- Please sign the `Contributor License Agreement (CLA)` when a pull request is opened. We cannot accept your pull request without this. Make sure you sign with the primary email address associated with your local / github account. + +### Webpack Contrib Commit Conventions + +Each commit message consists of a **header**, a **body** and a **footer**. The header has a special +format that includes a **type**, a **scope** and a **subject**: + +``` +(): + + + +