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: vercel/ncc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.29.0
Choose a base ref
...
head repository: vercel/ncc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.29.1
Choose a head ref
  • 7 commits
  • 10 files changed
  • 5 contributors

Commits on Jul 22, 2021

  1. Copy the full SHA
    cd34f24 View commit details

Commits on Aug 1, 2021

  1. Update Dependencies (#736)

    * Create dependabot.yml
    
    * chore(deps): bump styfle/cancel-workflow-action from 0.8.0 to 0.9.1 (#1)
    
    Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.8.0 to 0.9.1.
    - [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
    - [Commits](styfle/cancel-workflow-action@0.8.0...0.9.1)
    
    ---
    updated-dependencies:
    - dependency-name: styfle/cancel-workflow-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @azure/cosmos from 2.1.7 to 3.12.3 (#3)
    
    * chore(deps-dev): bump @azure/cosmos from 2.1.7 to 3.12.3
    
    Bumps [@azure/cosmos](https://github.com/Azure/azure-sdk-for-js) from 2.1.7 to 3.12.3.
    - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
    - [Commits](https://github.com/Azure/azure-sdk-for-js/commits/@azure/cosmos_3.12.3)
    
    ---
    updated-dependencies:
    - dependency-name: "@azure/cosmos"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Update ci.yml
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
    
    * chore(deps-dev): bump firebase-admin from 6.5.1 to 9.11.0 (#4)
    
    Bumps [firebase-admin](https://github.com/firebase/firebase-admin-node) from 6.5.1 to 9.11.0.
    - [Release notes](https://github.com/firebase/firebase-admin-node/releases)
    - [Commits](firebase/firebase-admin-node@v6.5.1...v9.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: firebase-admin
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump mariadb from 2.5.3 to 2.5.4 (#5)
    
    Bumps [mariadb](https://github.com/mariadb-corporation/mariadb-connector-nodejs) from 2.5.3 to 2.5.4.
    - [Release notes](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases)
    - [Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/master/CHANGELOG.md)
    - [Commits](mariadb-corporation/mariadb-connector-nodejs@2.5.3...2.5.4)
    
    ---
    updated-dependencies:
    - dependency-name: mariadb
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update dependabot.yml
    
    * chore(deps-dev): bump cowsay from 1.4.0 to 1.5.0 (#8)
    
    Bumps [cowsay](https://github.com/piuccio/cowsay) from 1.4.0 to 1.5.0.
    - [Release notes](https://github.com/piuccio/cowsay/releases)
    - [Commits](piuccio/cowsay@v1.4.0...v1.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: cowsay
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump ioredis from 4.24.5 to 4.27.6 (#10)
    
    Bumps [ioredis](https://github.com/luin/ioredis) from 4.24.5 to 4.27.6.
    - [Release notes](https://github.com/luin/ioredis/releases)
    - [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
    - [Commits](redis/ioredis@v4.24.5...v4.27.6)
    
    ---
    updated-dependencies:
    - dependency-name: ioredis
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump glob from 7.1.6 to 7.1.7 (#11)
    
    Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.6 to 7.1.7.
    - [Release notes](https://github.com/isaacs/node-glob/releases)
    - [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
    - [Commits](isaacs/node-glob@v7.1.6...v7.1.7)
    
    ---
    updated-dependencies:
    - dependency-name: glob
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update dependabot.yml
    
    * chore(deps-dev): bump highlights from 3.1.4 to 3.1.6 (#12)
    
    Bumps [highlights](https://github.com/atom/highlights) from 3.1.4 to 3.1.6.
    - [Release notes](https://github.com/atom/highlights/releases)
    - [Changelog](https://github.com/atom/highlights/blob/master/CHANGELOG.md)
    - [Commits](atom/highlights@v3.1.4...v3.1.6)
    
    ---
    updated-dependencies:
    - dependency-name: highlights
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump socket.io from 2.4.1 to 4.1.3 (#16)
    
    Bumps [socket.io](https://github.com/socketio/socket.io) from 2.4.1 to 4.1.3.
    - [Release notes](https://github.com/socketio/socket.io/releases)
    - [Changelog](https://github.com/socketio/socket.io/blob/master/CHANGELOG.md)
    - [Commits](socketio/socket.io@2.4.1...4.1.3)
    
    ---
    updated-dependencies:
    - dependency-name: socket.io
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump analytics-node from 3.5.0 to 5.0.0 (#18)
    
    Bumps [analytics-node](https://github.com/segmentio/analytics-node) from 3.5.0 to 5.0.0.
    - [Release notes](https://github.com/segmentio/analytics-node/releases)
    - [Changelog](https://github.com/segmentio/analytics-node/blob/master/History.md)
    - [Commits](segmentio/analytics-node@v3.5.0...v5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: analytics-node
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump canvas from 2.7.0 to 2.8.0 (#22)
    
    Bumps [canvas](https://github.com/Automattic/node-canvas) from 2.7.0 to 2.8.0.
    - [Release notes](https://github.com/Automattic/node-canvas/releases)
    - [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md)
    - [Commits](Automattic/node-canvas@v2.7.0...v2.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: canvas
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump got from 9.6.0 to 11.8.2 (#23)
    
    Bumps [got](https://github.com/sindresorhus/got) from 9.6.0 to 11.8.2.
    - [Release notes](https://github.com/sindresorhus/got/releases)
    - [Commits](sindresorhus/got@v9.6.0...v11.8.2)
    
    ---
    updated-dependencies:
    - dependency-name: got
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump hot-shots from 5.9.2 to 8.5.0 (#26)
    
    Bumps [hot-shots](https://github.com/brightcove/hot-shots) from 5.9.2 to 8.5.0.
    - [Release notes](https://github.com/brightcove/hot-shots/releases)
    - [Changelog](https://github.com/brightcove/hot-shots/blob/master/CHANGES.md)
    - [Commits](brightcove/hot-shots@v5.9.2...v8.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: hot-shots
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump azure-storage from 2.10.3 to 2.10.4 (#30)
    
    Bumps [azure-storage](https://github.com/Azure/azure-storage-node) from 2.10.3 to 2.10.4.
    - [Release notes](https://github.com/Azure/azure-storage-node/releases)
    - [Changelog](https://github.com/Azure/azure-storage-node/blob/master/ChangeLog.md)
    - [Commits](https://github.com/Azure/azure-storage-node/commits)
    
    ---
    updated-dependencies:
    - dependency-name: azure-storage
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump tsconfig-paths from 3.9.0 to 3.10.1 (#37)
    
    Bumps [tsconfig-paths](https://github.com/dividab/tsconfig-paths) from 3.9.0 to 3.10.1.
    - [Release notes](https://github.com/dividab/tsconfig-paths/releases)
    - [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
    - [Commits](dividab/tsconfig-paths@v3.9.0...v3.10.1)
    
    ---
    updated-dependencies:
    - dependency-name: tsconfig-paths
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump twilio from 3.59.0 to 3.66.1 (#38)
    
    Bumps [twilio](https://github.com/twilio/twilio-node) from 3.59.0 to 3.66.1.
    - [Release notes](https://github.com/twilio/twilio-node/releases)
    - [Changelog](https://github.com/twilio/twilio-node/blob/main/CHANGES.md)
    - [Commits](twilio/twilio-node@3.59.0...3.66.1)
    
    ---
    updated-dependencies:
    - dependency-name: twilio
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @google-cloud/firestore from 2.6.1 to 4.14.0 (#19)
    
    Bumps [@google-cloud/firestore](https://github.com/googleapis/nodejs-firestore) from 2.6.1 to 4.14.0.
    - [Release notes](https://github.com/googleapis/nodejs-firestore/releases)
    - [Changelog](https://github.com/googleapis/nodejs-firestore/blob/master/CHANGELOG.md)
    - [Commits](googleapis/nodejs-firestore@v2.6.1...v4.14.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@google-cloud/firestore"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update dependabot.yml
    
    * chore(deps-dev): bump stripe from 6.36.0 to 8.167.0 (#20)
    
    Bumps [stripe](https://github.com/stripe/stripe-node) from 6.36.0 to 8.167.0.
    - [Release notes](https://github.com/stripe/stripe-node/releases)
    - [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
    - [Commits](stripe/stripe-node@v6.36.0...v8.167.0)
    
    ---
    updated-dependencies:
    - dependency-name: stripe
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update dependabot.yml
    
    * chore(deps-dev): bump mkdirp from 0.5.5 to 1.0.4 (#25)
    
    Bumps [mkdirp](https://github.com/isaacs/node-mkdirp) from 0.5.5 to 1.0.4.
    - [Release notes](https://github.com/isaacs/node-mkdirp/releases)
    - [Changelog](https://github.com/isaacs/node-mkdirp/blob/master/CHANGELOG.md)
    - [Commits](isaacs/node-mkdirp@v0.5.5...v1.0.4)
    
    ---
    updated-dependencies:
    - dependency-name: mkdirp
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump node-gyp from 3.8.0 to 8.1.0 (#28)
    
    Bumps [node-gyp](https://github.com/nodejs/node-gyp) from 3.8.0 to 8.1.0.
    - [Release notes](https://github.com/nodejs/node-gyp/releases)
    - [Changelog](https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md)
    - [Commits](nodejs/node-gyp@v3.8.0...v8.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: node-gyp
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump graphql from 14.7.0 to 15.5.1 (#35)
    
    Bumps [graphql](https://github.com/graphql/graphql-js) from 14.7.0 to 15.5.1.
    - [Release notes](https://github.com/graphql/graphql-js/releases)
    - [Commits](graphql/graphql-js@v14.7.0...v15.5.1)
    
    ---
    updated-dependencies:
    - dependency-name: graphql
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump react and react-dom (#61)
    
    Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.
    
    Updates `react` from 16.14.0 to 17.0.2
    - [Release notes](https://github.com/facebook/react/releases)
    - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react)
    
    Updates `react-dom` from 16.14.0 to 17.0.2
    - [Release notes](https://github.com/facebook/react/releases)
    - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react-dom)
    
    ---
    updated-dependencies:
    - dependency-name: react
      dependency-type: direct:development
      update-type: version-update:semver-major
    - dependency-name: react-dom
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @bugsnag/js from 5.2.0 to 7.11.0 (#59)
    
    Bumps [@bugsnag/js](https://github.com/bugsnag/bugsnag-js) from 5.2.0 to 7.11.0.
    - [Release notes](https://github.com/bugsnag/bugsnag-js/releases)
    - [Changelog](https://github.com/bugsnag/bugsnag-js/blob/next/CHANGELOG.md)
    - [Commits](bugsnag/bugsnag-js@v5.2.0...v7.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@bugsnag/js"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump codecov from 3.8.1 to 3.8.3 (#57)
    
    Bumps [codecov](https://github.com/codecov/codecov-node) from 3.8.1 to 3.8.3.
    - [Release notes](https://github.com/codecov/codecov-node/releases)
    - [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md)
    - [Commits](codecov/codecov-node@v3.8.1...v3.8.3)
    
    ---
    updated-dependencies:
    - dependency-name: codecov
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @sentry/node from 4.6.6 to 6.10.0 (#55)
    
    Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 4.6.6 to 6.10.0.
    - [Release notes](https://github.com/getsentry/sentry-javascript/releases)
    - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
    - [Commits](getsentry/sentry-javascript@4.6.6...6.10.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@sentry/node"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump consolidate from 0.15.1 to 0.16.0 (#53)
    
    Bumps [consolidate](https://github.com/tj/consolidate.js) from 0.15.1 to 0.16.0.
    - [Release notes](https://github.com/tj/consolidate.js/releases)
    - [Changelog](https://github.com/tj/consolidate.js/blob/master/History.md)
    - [Commits](tj/consolidate.js@0.15.1...v0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: consolidate
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump terser from 5.6.1 to 5.7.1 (#52)
    
    Bumps [terser](https://github.com/terser/terser) from 5.6.1 to 5.7.1.
    - [Release notes](https://github.com/terser/terser/releases)
    - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
    - [Commits](terser/terser@v5.6.1...v5.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: terser
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump mongoose from 5.12.2 to 5.13.5 (#51)
    
    Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.12.2 to 5.13.5.
    - [Release notes](https://github.com/Automattic/mongoose/releases)
    - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
    - [Commits](Automattic/mongoose@5.12.2...5.13.5)
    
    ---
    updated-dependencies:
    - dependency-name: mongoose
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump license-webpack-plugin from 2.3.11 to 2.3.20 (#50)
    
    Bumps [license-webpack-plugin](https://github.com/xz64/license-webpack-plugin) from 2.3.11 to 2.3.20.
    - [Release notes](https://github.com/xz64/license-webpack-plugin/releases)
    - [Changelog](https://github.com/xz64/license-webpack-plugin/blob/master/CHANGELOG.md)
    - [Commits](xz64/license-webpack-plugin@v2.3.11...v2.3.20)
    
    ---
    updated-dependencies:
    - dependency-name: license-webpack-plugin
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump rxjs from 6.6.6 to 7.3.0 (#49)
    
    Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.6 to 7.3.0.
    - [Release notes](https://github.com/reactivex/rxjs/releases)
    - [Changelog](https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md)
    - [Commits](ReactiveX/rxjs@6.6.6...7.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: rxjs
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump passport-google-oauth from 1.0.0 to 2.0.0 (#48)
    
    Bumps [passport-google-oauth](https://github.com/jaredhanson/passport-google-oauth) from 1.0.0 to 2.0.0.
    - [Release notes](https://github.com/jaredhanson/passport-google-oauth/releases)
    - [Commits](jaredhanson/passport-google-oauth@v1.0.0...v2.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: passport-google-oauth
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump pg from 7.18.2 to 8.7.1 (#46)
    
    Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) from 7.18.2 to 8.7.1.
    - [Release notes](https://github.com/brianc/node-postgres/releases)
    - [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/brianc/node-postgres/commits/pg@8.7.1/packages/pg)
    
    ---
    updated-dependencies:
    - dependency-name: pg
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump arg from 4.1.3 to 5.0.0 (#45)
    
    Bumps [arg](https://github.com/vercel/arg) from 4.1.3 to 5.0.0.
    - [Release notes](https://github.com/vercel/arg/releases)
    - [Commits](vercel/arg@4.1.3...5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: arg
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump redis from 3.1.1 to 3.1.2 (#43)
    
    Bumps [redis](https://github.com/NodeRedis/node-redis) from 3.1.1 to 3.1.2.
    - [Release notes](https://github.com/NodeRedis/node-redis/releases)
    - [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
    - [Commits](redis/node-redis@v3.1.1...v3.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: redis
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump jimp from 0.5.6 to 0.16.1 (#41)
    
    Bumps [jimp](https://github.com/oliver-moran/jimp) from 0.5.6 to 0.16.1.
    - [Release notes](https://github.com/oliver-moran/jimp/releases)
    - [Changelog](https://github.com/oliver-moran/jimp/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/oliver-moran/jimp/commits/v0.16.1)
    
    ---
    updated-dependencies:
    - dependency-name: jimp
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump pdf2json from 1.2.0 to 1.2.3 (#39)
    
    Bumps [pdf2json](https://github.com/modesty/pdf2json) from 1.2.0 to 1.2.3.
    - [Release notes](https://github.com/modesty/pdf2json/releases)
    - [Commits](https://github.com/modesty/pdf2json/commits)
    
    ---
    updated-dependencies:
    - dependency-name: pdf2json
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @tensorflow/tfjs-node from 0.3.2 to 3.8.0 (#34)
    
    Bumps [@tensorflow/tfjs-node](https://github.com/tensorflow/tfjs) from 0.3.2 to 3.8.0.
    - [Release notes](https://github.com/tensorflow/tfjs/releases)
    - [Changelog](https://github.com/tensorflow/tfjs/blob/master/cloudbuild-release.yml)
    - [Commits](tensorflow/tfjs@v0.3.2...tfjs-v3.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@tensorflow/tfjs-node"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump fetch-h2 from 1.2.3 to 3.0.0 (#29)
    
    Bumps [fetch-h2](https://github.com/grantila/fetch-h2) from 1.2.3 to 3.0.0.
    - [Release notes](https://github.com/grantila/fetch-h2/releases)
    - [Commits](grantila/fetch-h2@v1.2.3...v3.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: fetch-h2
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump auth0 from 2.34.0 to 2.36.1 (#60)
    
    Bumps [auth0](https://github.com/auth0/node-auth0) from 2.34.0 to 2.36.1.
    - [Release notes](https://github.com/auth0/node-auth0/releases)
    - [Changelog](https://github.com/auth0/node-auth0/blob/master/CHANGELOG.md)
    - [Commits](auth0/node-auth0@v2.34.0...v2.36.1)
    
    ---
    updated-dependencies:
    - dependency-name: auth0
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update ci.yml
    
    * chore(deps-dev): bump vue and vue-server-renderer (#63)
    
    * chore(deps-dev): bump vue from 2.6.12 to 2.6.14 (#54)
    
    Bumps [vue](https://github.com/vuejs/vue) from 2.6.12 to 2.6.14.
    - [Release notes](https://github.com/vuejs/vue/releases)
    - [Commits](vuejs/vue@v2.6.12...v2.6.14)
    
    ---
    updated-dependencies:
    - dependency-name: vue
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump vue-server-renderer from 2.6.12 to 2.6.14 (#21)
    
    Bumps [vue-server-renderer](https://github.com/vuejs/vue) from 2.6.12 to 2.6.14.
    - [Release notes](https://github.com/vuejs/vue/releases)
    - [Commits](vuejs/vue@v2.6.12...v2.6.14)
    
    ---
    updated-dependencies:
    - dependency-name: vue-server-renderer
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump lighthouse from 5.6.0 to 8.1.0 (#58)
    
    Bumps [lighthouse](https://github.com/GoogleChrome/lighthouse) from 5.6.0 to 8.1.0.
    - [Release notes](https://github.com/GoogleChrome/lighthouse/releases)
    - [Changelog](https://github.com/GoogleChrome/lighthouse/blob/master/changelog.md)
    - [Commits](GoogleChrome/lighthouse@v5.6.0...v8.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: lighthouse
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump leveldown from 5.6.0 to 6.0.0 (#42)
    
    Bumps [leveldown](https://github.com/Level/leveldown) from 5.6.0 to 6.0.0.
    - [Release notes](https://github.com/Level/leveldown/releases)
    - [Changelog](https://github.com/Level/leveldown/blob/master/CHANGELOG.md)
    - [Commits](Level/leveldown@v5.6.0...v6.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: leveldown
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @google-cloud/bigquery from 2.1.0 to 5.7.0 (#33)
    
    Bumps [@google-cloud/bigquery](https://github.com/googleapis/nodejs-bigquery) from 2.1.0 to 5.7.0.
    - [Release notes](https://github.com/googleapis/nodejs-bigquery/releases)
    - [Changelog](https://github.com/googleapis/nodejs-bigquery/blob/master/CHANGELOG.md)
    - [Commits](googleapis/nodejs-bigquery@v2.1.0...v5.7.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@google-cloud/bigquery"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @ffmpeg-installer/ffmpeg from 1.0.20 to 1.1.0 (#47)
    
    Bumps [@ffmpeg-installer/ffmpeg](https://github.com/kribblo/node-ffmpeg-installer) from 1.0.20 to 1.1.0.
    - [Release notes](https://github.com/kribblo/node-ffmpeg-installer/releases)
    - [Commits](https://github.com/kribblo/node-ffmpeg-installer/commits)
    
    ---
    updated-dependencies:
    - dependency-name: "@ffmpeg-installer/ffmpeg"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump @slack/web-api from 5.15.0 to 6.3.0 (#17)
    
    Bumps [@slack/web-api](https://github.com/slackapi/node-slack-sdk) from 5.15.0 to 6.3.0.
    - [Release notes](https://github.com/slackapi/node-slack-sdk/releases)
    - [Commits](https://github.com/slackapi/node-slack-sdk/compare/@slack/web-api@5.15.0...@slack/web-api@6.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@slack/web-api"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump sequelize from 5.22.4 to 6.6.5 (#40)
    
    Bumps [sequelize](https://github.com/sequelize/sequelize) from 5.22.4 to 6.6.5.
    - [Release notes](https://github.com/sequelize/sequelize/releases)
    - [Commits](sequelize/sequelize@v5.22.4...v6.6.5)
    
    ---
    updated-dependencies:
    - dependency-name: sequelize
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump sharp from 0.25.4 to 0.28.3 (#56)
    
    Bumps [sharp](https://github.com/lovell/sharp) from 0.25.4 to 0.28.3.
    - [Release notes](https://github.com/lovell/sharp/releases)
    - [Changelog](https://github.com/lovell/sharp/blob/master/docs/changelog.md)
    - [Commits](lovell/sharp@v0.25.4...v0.28.3)
    
    ---
    updated-dependencies:
    - dependency-name: sharp
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump aws-sdk from 2.874.0 to 2.958.0 (#14)
    
    Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.874.0 to 2.958.0.
    - [Release notes](https://github.com/aws/aws-sdk-js/releases)
    - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
    - [Commits](aws/aws-sdk-js@v2.874.0...v2.958.0)
    
    ---
    updated-dependencies:
    - dependency-name: aws-sdk
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump pdfkit from 0.8.3 to 0.12.1 (#27)
    
    Bumps [pdfkit](https://github.com/foliojs/pdfkit) from 0.8.3 to 0.12.1.
    - [Release notes](https://github.com/foliojs/pdfkit/releases)
    - [Changelog](https://github.com/foliojs/pdfkit/blob/master/CHANGELOG.md)
    - [Commits](foliojs/pdfkit@v0.8.3...v0.12.1)
    
    ---
    updated-dependencies:
    - dependency-name: pdfkit
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps-dev): bump vm2 from 3.9.2 to 3.9.3 (#36)
    
    Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.2 to 3.9.3.
    - [Release notes](https://github.com/patriksimek/vm2/releases)
    - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
    - [Commits](patriksimek/vm2@v3.9.2...3.9.3)
    
    ---
    updated-dependencies:
    - dependency-name: vm2
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Update dependabot.yml
    
    * Update ci.yml
    
    * Update .github/dependabot.yml
    
    Co-authored-by: Steven <steven@ceriously.com>
    mmorel-35 and styfle authored Aug 1, 2021
    Copy the full SHA
    6bb10ef View commit details
  2. chore(deps-dev): bump pdfkit from 0.12.1 to 0.12.3 (#740)

    Bumps [pdfkit](https://github.com/foliojs/pdfkit) from 0.12.1 to 0.12.3.
    - [Release notes](https://github.com/foliojs/pdfkit/releases)
    - [Changelog](https://github.com/foliojs/pdfkit/blob/master/CHANGELOG.md)
    - [Commits](foliojs/pdfkit@v0.12.1...v0.12.3)
    
    ---
    updated-dependencies:
    - dependency-name: pdfkit
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2021
    Copy the full SHA
    155119f View commit details

Commits on Aug 4, 2021

  1. chore(deps): bump tar from 4.4.13 to 4.4.15 (#743)

    Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15.
    - [Release notes](https://github.com/npm/node-tar/releases)
    - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
    - [Commits](isaacs/node-tar@v4.4.13...v4.4.15)
    
    ---
    updated-dependencies:
    - dependency-name: tar
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 4, 2021
    Copy the full SHA
    5b61845 View commit details

Commits on Aug 11, 2021

  1. chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#745)

    Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
    - [Release notes](https://github.com/jbgutierrez/path-parse/releases)
    - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
    
    ---
    updated-dependencies:
    - dependency-name: path-parse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 11, 2021
    Copy the full SHA
    a039107 View commit details
  2. fix: add stringify-loader (#742)

    stringify-loader is needed for watched builds
    since release v0.28.6
    
    Co-authored-by: Steven <steven@ceriously.com>
    jpcloureiro and styfle authored Aug 11, 2021
    Copy the full SHA
    8380a06 View commit details

Commits on Aug 13, 2021

  1. 0.29.1

    styfle committed Aug 13, 2021
    Copy the full SHA
    37ccb67 View commit details
Showing with 2,142 additions and 2,334 deletions.
  1. +10 −0 .github/dependabot.yml
  2. +2 −1 .github/workflows/ci.yml
  3. +32 −32 package.json
  4. +9 −0 scripts/build.js
  5. +1 −1 src/index.js
  6. +1 −0 src/loaders/stringify-loader.js
  7. +4 −0 test/cli.js
  8. +6 −0 test/fixtures/type-module/main.js
  9. +3 −0 test/fixtures/type-module/package.json
  10. +2,074 −2,300 yarn.lock
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -19,13 +19,14 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
cache: yarn
node-version: ${{ matrix.node }}
check-latest: true
- name: Print Node Version
64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vercel/ncc",
"description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.",
"version": "0.29.0",
"version": "0.29.1",
"repository": "vercel/ncc",
"license": "MIT",
"main": "./dist/ncc/index.js",
@@ -20,18 +20,18 @@
"prepublishOnly": "node scripts/build.js --no-cache"
},
"devDependencies": {
"@azure/cosmos": "^2.0.5",
"@bugsnag/js": "^5.0.1",
"@azure/cosmos": "^3.12.3",
"@bugsnag/js": "^7.11.0",
"@ffmpeg-installer/ffmpeg": "^1.0.17",
"@google-cloud/bigquery": "^2.0.1",
"@google-cloud/firestore": "^2.2.0",
"@sentry/node": "^4.3.0",
"@slack/web-api": "^5.13.0",
"@tensorflow/tfjs-node": "^0.3.0",
"@google-cloud/bigquery": "^5.7.0",
"@google-cloud/firestore": "^4.14.0",
"@sentry/node": "^6.10.0",
"@slack/web-api": "^6.3.0",
"@tensorflow/tfjs-node": "^3.8.0",
"@vercel/webpack-asset-relocator-loader": "1.6.0",
"analytics-node": "^3.3.0",
"analytics-node": "^5.0.0",
"apollo-server-express": "^2.2.2",
"arg": "^4.1.0",
"arg": "^5.0.0",
"auth0": "^2.14.0",
"aws-sdk": "^2.356.0",
"axios": "^0.21.1",
@@ -41,62 +41,62 @@
"canvas": "^2.2.0",
"chromeless": "^1.5.2",
"codecov": "^3.8.1",
"consolidate": "^0.15.1",
"consolidate": "^0.16.0",
"copy": "^0.3.2",
"core-js": "^2.5.7",
"cowsay": "^1.3.1",
"esm": "^3.2.22",
"express": "^4.16.4",
"fetch-h2": "^1.0.2",
"fetch-h2": "^3.0.0",
"firebase": "^6.1.1",
"firebase-admin": "^6.3.0",
"firebase-admin": "^9.11.0",
"fluent-ffmpeg": "^2.1.2",
"fontkit": "^1.7.7",
"get-folder-size": "^2.0.0",
"glob": "^7.1.3",
"got": "^9.3.2",
"got": "^11.8.2",
"graceful-fs": "^4.1.15",
"graphql": "^14.0.2",
"graphql": "^15.5.1",
"highlights": "^3.1.1",
"hot-shots": "^5.9.2",
"hot-shots": "^8.5.0",
"ioredis": "^4.2.0",
"isomorphic-unfetch": "^3.0.0",
"jest": "^27.0.6",
"jimp": "^0.5.6",
"jimp": "^0.16.1",
"jugglingdb": "2.0.1",
"koa": "^2.6.2",
"leveldown": "^5.6.0",
"license-webpack-plugin": "2.3.11",
"lighthouse": "^5.0.0",
"leveldown": "^6.0.0",
"license-webpack-plugin": "2.3.20",
"lighthouse": "^8.1.0",
"loopback": "^3.24.0",
"mailgun": "^0.5.0",
"mariadb": "^2.0.1-beta",
"memcached": "^2.2.2",
"mkdirp": "^0.5.1",
"mkdirp": "^1.0.4",
"mongoose": "^5.3.12",
"mysql": "^2.16.0",
"node-gyp": "^3.8.0",
"node-gyp": "^8.1.0",
"npm": "^6.13.4",
"oracledb": "^4.2.0",
"passport": "^0.4.0",
"passport-google-oauth": "^1.0.0",
"passport-google-oauth": "^2.0.0",
"path-platform": "^0.11.15",
"pdf2json": "^1.1.8",
"pdfkit": "^0.8.3",
"pg": "^7.6.1",
"pdfkit": "^0.12.1",
"pg": "^8.7.1",
"pug": "^3.0.1",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"redis": "^3.1.1",
"request": "^2.88.0",
"rxjs": "^6.3.3",
"rxjs": "^7.3.0",
"saslprep": "^1.0.2",
"sequelize": "^5.8.6",
"sharp": "^0.25.2",
"sequelize": "^6.6.5",
"sharp": "^0.28.3",
"shebang-loader": "^0.0.1",
"socket.io": "^2.2.0",
"socket.io": "^4.1.3",
"source-map-support": "^0.5.9",
"stripe": "^6.15.0",
"stripe": "^8.167.0",
"swig": "^1.4.2",
"terser": "^5.6.1",
"the-answer": "^1.0.0",
9 changes: 9 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
@@ -65,6 +65,12 @@ async function main() {
);
checkUnknownAssets('ts-loader', Object.keys(tsLoaderAssets).filter(asset => !asset.startsWith('lib/') && !asset.startsWith('typescript/lib')));

const { code: stringifyLoader, assets: stringifyLoaderAssets } = await ncc(
__dirname + "/../src/loaders/stringify-loader",
{ filename: "stringify-loader.js", minify, cache, v8cache }
);
checkUnknownAssets('stringify-loader', Object.keys(stringifyLoader));

const { code: sourcemapSupport, assets: sourcemapAssets } = await ncc(
require.resolve("source-map-support/register"),
{ filename: "sourcemap-register.js", minify, cache, v8cache }
@@ -87,13 +93,15 @@ async function main() {
writeFileSync(__dirname + "/../dist/ncc/loaders/relocate-loader.js.cache", relocateLoaderAssets["relocate-loader.js.cache"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/shebang-loader.js.cache", shebangLoaderAssets["shebang-loader.js.cache"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/ts-loader.js.cache", tsLoaderAssets["ts-loader.js.cache"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/stringify-loader.js.cache", stringifyLoaderAssets["stringify-loader.js.cache"].source);

writeFileSync(__dirname + "/../dist/ncc/cli.js.cache.js", cliAssets["cli.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/index.js.cache.js", indexAssets["index.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/sourcemap-register.js.cache.js", sourcemapAssets["sourcemap-register.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/relocate-loader.js.cache.js", relocateLoaderAssets["relocate-loader.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/shebang-loader.js.cache.js", shebangLoaderAssets["shebang-loader.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/ts-loader.js.cache.js", tsLoaderAssets["ts-loader.js.cache.js"].source);
writeFileSync(__dirname + "/../dist/ncc/loaders/stringify-loader.js.cache.js", stringifyLoaderAssets["stringify-loader.js.cache.js"].source);

writeFileSync(__dirname + "/../dist/ncc/cli.js", cli, { mode: 0o777 });
writeFileSync(__dirname + "/../dist/ncc/index.js", index);
@@ -102,6 +110,7 @@ async function main() {
writeFileSync(__dirname + "/../dist/ncc/loaders/relocate-loader.js", relocateLoader);
writeFileSync(__dirname + "/../dist/ncc/loaders/shebang-loader.js", shebangLoader);
writeFileSync(__dirname + "/../dist/ncc/loaders/ts-loader.js", tsLoader);
writeFileSync(__dirname + "/../dist/ncc/loaders/stringify-loader.js", stringifyLoader);
writeFileSync(__dirname + "/../dist/ncc/loaders/uncacheable.js", readFileSync(__dirname + "/../src/loaders/uncacheable.js"));
writeFileSync(__dirname + "/../dist/ncc/loaders/empty-loader.js", readFileSync(__dirname + "/../src/loaders/empty-loader.js"));
writeFileSync(__dirname + "/../dist/ncc/loaders/notfound-loader.js", readFileSync(__dirname + "/../src/loaders/notfound-loader.js"));
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -531,7 +531,7 @@ function ncc (
const baseDir = dirname(filename);
const pjsonPath = (baseDir === '.' ? '' : baseDir) + 'package.json';
if (assets[pjsonPath])
assets[pjsonPath].source = JSON.stringify(Object.assign(JSON.parse(pjsonPath.source.toString()), { type: 'module' }));
assets[pjsonPath].source = JSON.stringify(Object.assign(JSON.parse(assets[pjsonPath].source.toString()), { type: 'module' }));
else
assets[pjsonPath] = { source: JSON.stringify({ type: 'module' }, null, 2) + '\n', permissions: defaultPermissions };
}
1 change: 1 addition & 0 deletions src/loaders/stringify-loader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = (source) => JSON.stringify(source);
4 changes: 4 additions & 0 deletions test/cli.js
Original file line number Diff line number Diff line change
@@ -11,6 +11,10 @@
args: ["run", "test/integration/test.ts"],
expect: { code: 0 }
},
{
args: ["build", "test/fixtures/type-module/main.js", "-o", "tmp"],
expect: { code: 0 }
},
{
args: ["build", "test/integration/test.ts", "-o", "tmp"],
expect (code, stdout, stderr) {
6 changes: 6 additions & 0 deletions test/fixtures/type-module/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { readFileSync } from 'fs';

readFileSync(new URL('./package.json', import.meta.url));

export var p = 5;

3 changes: 3 additions & 0 deletions test/fixtures/type-module/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
Loading