profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/aleen42/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Aleen aleen42 @Coremail, Soundtooth Guangdong, Foshan, China https://profile.aleen42.com More than a coder, more than a designer. A front-end Developer in @Coremail; A translator in @xitu

aleen42/badges 239

:flower_playing_cards: Standard and acceptable badges list

aleen42/auto-contribution 36

:octocat: Auto generating contributions each week

aleen42/CLS 15

:straight_ruler: Code Line Statistic for GitHub, a.k.a remote sloc

aleen42/config 6

A configuration project for storing some configuration files.

aleen42/aleen42.github.com 5

:dolls: My page, please click into

aleen42/checkServer 4

🙏 a shell script to check whether the server is normal with its CPU or its MEMORY

aleen42/chinese-buildings 3

:japanese_castle: A categories of images around Chinese buildings, created within <Essai sur l'architecture chinoise>

aleen42/comet.js 2

a lightweight class for handling continuous ajax

aleen42/aleen42 1

A simple profile of mine

aleen42/ccapture.js 1

A library to capture canvas-based animations at a fixed framerate

push eventaleen42/badges

Aleen

commit sha 4dcf12c135154a49491014c50719d3e94f71ea8d

perf: enhancement for sorting

view details

push time in 3 days

push eventaleen42/badges

Aleen

commit sha 35d11d17d6440221f8a967a0ed4d206fd266f631

perf: enhancement for sorting

view details

push time in 3 days

push eventaleen42/badges

Aleen

commit sha e9f5ebd3816122ed953342881bc393569a356b7a

perf: enhancement for sorting

view details

push time in 3 days

push eventaleen42/badges

Aleen

commit sha b857221953f6ec6eab05aa7971f79f7b092a6581

perf: enhancement for sorting colors

view details

push time in 3 days

PublicEvent

push eventaleen42/badges

Aleen

commit sha e0fbe1dd7c47d7521c02b8aaa0262355fef3c6b9

doc: add the badge for Chrome extensions

view details

push time in 4 days

fork aleen42/cli

the package manager for JavaScript

https://npm.community

fork in 8 days

issue commentnpm/cli

[BUG] Unexpected deduped dependencies

Also, @ljharb is there any IM contact way like telegram or other? I have anything else which I want to communicate with you.

aleen42

comment created time in 8 days

issue commentnpm/cli

[BUG] Unexpected deduped dependencies

Currently, I use a simple shrinkwrap file to keep the behaviour:

{
  "version": "1.0.1",
  "lockfileVersion": 1,
  "dependencies": {
    "wpsjs": {
      "version": "1.4.11",
      "dependencies": {
        "wpsjs-rpc-sdk": {
          "version": "1.0.28"
        }
      }
    },
    "wpsjs-rpc-sdk": {
      "version": "1.0.27"
    }
  }
}
aleen42

comment created time in 8 days

issue commentnpm/cli

[BUG] Unexpected deduped dependencies

Because wpsjs's bad practise on using a hard path with the following snippet:

let systemDemoJs = path.resolve(__dirname, '../../node_modules/wpsjs-rpc-sdk', sdkName)

I have to use such a feature to make sure that npm has not deduped and installed a duplicated wpsjs-rpc-sdk under wpsjs's node_modules

But in my opinion, npm should not take latest as * and provided another tag like any instead.

aleen42

comment created time in 8 days

issue commentnpm/cli

[BUG] Unexpected deduped dependencies

@ljharb 1.0.27 has not been the latest tag required by wpsjs, why is it deduped?

aleen42

comment created time in 8 days

issue openednpm/cli

[BUG] Unexpected deduped dependencies

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I have the following specified package.json:

{
  "dependencies": {
    "wpsjs-rpc-sdk": "1.0.27"
  },
  "devDependencies": {
    "wpsjs": "1.4.11"
  }
}

wpsjs has specified its dependencies with wpsjs-rpc-sdk@latest which has been pointed to 1.0.28, but after installation, npm still dedupe it as 1.0.27

npm ls wpsjs-rpc-sdk

+-- wpsjs-rpc-sdk@1.0.27
`-- wpsjs@1.4.11
  `-- wpsjs-rpc-sdk@1.0.27 deduped

Expected Behavior

It is expected that npm should not dedupe the library and construct a structure like this after installation:

npm ls wpsjs-rpc-sdk

+-- wpsjs-rpc-sdk@1.0.27
`-- wpsjs@1.4.11
  `-- wpsjs-rpc-sdk@1.0.28 (latest)

Steps To Reproduce

With the package.json mentioned above, we can reproduce the problem

Environment

  • OS: Windows
  • Node: 16.9.1
  • npm: 7.21.1

created time in 8 days

pull request commentwebpack-contrib/mini-css-extract-plugin

feat(index): add `checkCssChunk` option and `cssLinkHref` function

the new workaround to remove __webpack_require__.f.miniCss

config = {
    // ...
    plugins: [
        new MiniCssExtractPlugin({/* ... */}), { // remove `__webpack_require__.f.miniCss`
            apply(compiler) {
                compiler.hooks.thisCompilation.tap('remove require.f.miniCss', compilation => {
                    compilation.hooks.afterRuntimeRequirements.tap('remove require.f.miniCss', () => {
                        [...compilation.modules].find(x => x.name === 'css loading').generate = () => null;
                    });
                });
            },
        }
    ]
}

#832

l5oo00

comment created time in 8 days

startedLingDong-/nonflowers

started time in 8 days

pull request commentwebpack-contrib/mini-css-extract-plugin

perf: add `skipRuntimeLoading` option to skip generating runtime code

@alexander-akait good job

aleen42

comment created time in 9 days

CommitCommentEvent

push eventaleen42/webpack

dependabot[bot]

commit sha 5ab094a2461133aa184103bba70e0d3c1bf0ffb7

chore(deps-dev): bump webpack-cli from 4.7.2 to 4.8.0 Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.2 to 4.8.0. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.7.2...webpack-cli@4.8.0) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Tobias Koppers

commit sha 553d9b62bba71fa8ec1d6cf0a1b38d467c87c895

Merge pull request #13972 from aleen42/main fix(utils): avoid reserved property under ES

view details

dependabot[bot]

commit sha cf2077a9dc83f9147e7ee110f68d0cc1b9be3205

chore(deps-dev): bump jest from 27.0.6 to 27.1.0 Bumps [jest](https://github.com/facebook/jest) from 27.0.6 to 27.1.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/compare/v27.0.6...v27.1.0) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Tobias Koppers

commit sha ae711acba7544ba0ec9cd630d76e9243a73a343a

copy/read exports from imported async modules later once they are awaited

view details

Tobias Koppers

commit sha 05c18616848e2aacebe51e6088f82d218e4b6acd

close watching when closing compiler do not shutdown cache when closing only the watching

view details

Tobias Koppers

commit sha 59ac413db6a1a85129ef5a7b20e1f5581c507c5c

upgrade all jest dependencies

view details

Tobias Koppers

commit sha be6c0e645cac995803346c568ffc78913cca1833

Merge pull request #14094 from webpack/bugfix/reexport-async-modules copy/read exports from imported async modules later once they are awaited

view details

Tobias Koppers

commit sha 179d2e00fe0b901ff176f1c6dbbf6a17f1ff44ea

Merge pull request #14095 from webpack/bugfix/close-watching-when-closing-compiler close watching when closing compiler

view details

dependabot[bot]

commit sha 7ec80ee74e4e7f26ae440234291f9a5196afeacd

chore(deps-dev): bump eslint-plugin-prettier from 3.4.0 to 4.0.0 Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.0 to 4.0.0. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Tobias Koppers

commit sha b16568a253d58910ddcc9fe473eb211fe359e775

upgrade filename runtime module to full hash module when referencing a full hash chunk

view details

Tobias Koppers

commit sha d6d4a46b6b532d79c8e104381fb70658c82dc99a

Merge pull request #14112 from webpack/bugfix/reference-full-hash upgrade filename runtime module to full hash module when referencing a full hash chunk

view details

Tobias Koppers

commit sha 684e22ec4d6e6221de8a4a8a6b3b8f37b863a09d

5.51.2

view details

Tobias Koppers

commit sha 60408e113604e608797e70592178da1f8b758283

add importModule to loader context by default always enable experiments.executeModule and remove it

view details

Tobias Koppers

commit sha 41e3136c83e4b1e2b0d1aa1e0a0fc2339e5bf57d

Merge pull request #14117 from webpack/feature/import-module add importModule to loader context by default

view details

dependabot[bot]

commit sha 016265479e839a4f001245a25e9a49ebc1a91313

chore(deps-dev): bump core-js from 3.16.3 to 3.17.2 Bumps [core-js](https://github.com/zloirock/core-js) from 3.16.3 to 3.17.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.16.3...v3.17.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>

view details

dependabot[bot]

commit sha ae5d080b5f6a44ae7714d3758399923744496162

chore(deps-dev): bump memfs from 3.2.2 to 3.2.4 Bumps [memfs](https://github.com/streamich/memfs) from 3.2.2 to 3.2.4. - [Release notes](https://github.com/streamich/memfs/releases) - [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md) - [Commits](https://github.com/streamich/memfs/compare/v3.2.2...v3.2.4) --- updated-dependencies: - dependency-name: memfs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Tobias Koppers

commit sha 45f657025f7b6642f09335254f5cfdf0c67c09de

add mini-css import module test case

view details

Tobias Koppers

commit sha 2f287a48238e5fd8f7f76899bd49aabfc9da19e7

Merge pull request #14128 from webpack/test/mini-css

view details

Tobias Koppers

commit sha 4e8a621bfa33187df7ed0734fe40e3d34ea0a456

fix null module externals

view details

Tobias Koppers

commit sha b50d033960080ca4eacd62a4c79e155732b5f42b

allow to mangle exports of module externals

view details

push time in 9 days

issue commentnvm-sh/nvm

"nvm use" not persisting

How can I run a node script to change the environment?

const {execSync} = require('child_process');

execSync('. ~/.nvm/nvm.sh && nvm use v12.9.1', {encoding: 'utf8'});
execSync('npm version', {encoding: 'utf8'}); // => try to use node@12.9.1

Even if:

execSync('. ~/.nvm/nvm.sh && node build.js'); // cannot use nvm within build.js

But actually it does not work, and how can I do this?

Finally, we have used a standalone docker image to build up CI and using environment parameters to specify the node version with nvm when starting up a pipeline.

YourDeveloperFriend

comment created time in 9 days

push eventaleen42/badges

Aleen

commit sha 4e9839429e7e39fee427418fb5abb1f920de0740

doc: add the badge for Preact

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha d4a71ef4614fc1f57eb1926a29154dbfb4dd8865

chore: change icons

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 051d4903d36ae4aa5370e0ffec206836c4806ae2

chore: change icons

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 6b52c79843cdff2e1eb343d66232d45bbe5af11a

chore: change icons

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 207a4fbf6f9348640fab716afdc0fa1adb196b87

chore: change icons

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha dd57f5b694852eea372029bce57a3c103edc6db1

doc: add the badge for Python

view details

Aleen

commit sha 533f85b753b65a47cbf4dbcbad624c135adca1ae

chore: change icons

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha d489ecac5c5f740641d3d2e7baa458107f89853d

chore: change gulp icon

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 91571aeb968e86a83f099bcbf2e154108033f4b1

doc: add the badge for Grafana

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 8d0565f756508e23ad721fa037c9cf90bf6b3bfd

doc: add the badge for Kibana

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha a2ec0e409089b8f8d271beb1f991888717747b30

doc: add the badge for Elasticsearch

view details

Aleen

commit sha 9387698a8ffe58495bfe992a327c1121f6af7047

doc: add the badge for Logstash

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 6dc826351241f323148412de32fb3367d4c91631

doc: add the badge for Elastic Search

view details

push time in 13 days

push eventaleen42/badges

Aleen

commit sha 48021e4090fa89fa5e684d73f352d30f31aa3757

doc: add the badge for CSSNano

view details

push time in 13 days