Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: browserify/resolve
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.22.2
Choose a base ref
...
head repository: browserify/resolve
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.22.3
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Apr 14, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    122bb64 View commit details
  2. [Deps] update is-core-module

    ljharb committed Apr 14, 2023
    Copy the full SHA
    5e3fbba View commit details
  3. v1.22.3

     - [Refactor] deprecated `lib/core.js` now uses data from `is-core-module` also
     - [Deps] update `is-core-module`
    ljharb committed Apr 14, 2023
    Copy the full SHA
    d3332a2 View commit details
Showing with 5 additions and 3 deletions.
  1. +3 −1 lib/core.js
  2. +2 −2 package.json
4 changes: 3 additions & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
'use strict';

var isCoreModule = require('is-core-module');
var data = require('./core.json');
var path = require('path');
var fs = require('fs');
var data = JSON.parse(String(fs.readFileSync(path.join(path.dirname(require.resolve('is-core-module/package.json')), 'core.json'))));

var core = {};
for (var mod in data) { // eslint-disable-line no-restricted-syntax
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "resolve",
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
"version": "1.22.2",
"version": "1.22.3",
"repository": {
"type": "git",
"url": "git://github.com/browserify/resolve.git"
@@ -58,7 +58,7 @@
"url": "https://github.com/sponsors/ljharb"
},
"dependencies": {
"is-core-module": "^2.11.0",
"is-core-module": "^2.12.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},