Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
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: cypress-io/cypress-browserify-preprocessor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0
Choose a base ref
...
head repository: cypress-io/cypress-browserify-preprocessor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jul 14, 2020

  1. Copy the full SHA
    fb2f417 View commit details

Commits on Mar 30, 2021

  1. Copy the full SHA
    60c2b54 View commit details
  2. Copy the full SHA
    7acb40b View commit details
  3. Copy the full SHA
    1de9387 View commit details
  4. Copy the full SHA
    922f54d View commit details
  5. Copy the full SHA
    05abe79 View commit details
  6. Copy the full SHA
    fff4458 View commit details
  7. Copy the full SHA
    e16bd8d View commit details
  8. Copy the full SHA
    494c6bd View commit details
  9. Copy the full SHA
    e000efc View commit details
  10. Copy the full SHA
    0526cb6 View commit details
  11. Copy the full SHA
    170a37c View commit details
  12. Merge pull request #74 from cypress-io/renovate/npm-node-fetch-vulner…

    …ability
    
    chore(deps): update dependency node-fetch to version 2.6.1 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    cff2acb View commit details
  13. Merge pull request #73 from cypress-io/renovate/npm-mixin-deep-vulner…

    …ability
    
    chore(deps): update dependency mixin-deep to version 1.3.2 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    e9c9043 View commit details
  14. Merge pull request #72 from cypress-io/renovate/npm-marked-vulnerability

    chore(deps): update dependency marked to version 0.7.0 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    1309f48 View commit details
  15. Merge pull request #71 from cypress-io/renovate/npm-lodash-vulnerability

    chore(deps): update dependency lodash to version 4.17.19 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    9044660 View commit details
  16. Merge pull request #70 from cypress-io/renovate/npm-ini-vulnerability

    chore(deps): update dependency ini to version 1.3.6 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    8f20054 View commit details
  17. Merge pull request #69 from cypress-io/renovate/npm-https-proxy-agent…

    …-vulnerability
    
    chore(deps): update dependency https-proxy-agent to version 2.2.3 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    91dbb34 View commit details
  18. Copy the full SHA
    b882246 View commit details
  19. Merge pull request #66 from cypress-io/renovate/npm-dot-prop-vulnerab…

    …ility
    
    chore(deps): update dependency dot-prop to version 4.2.1 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    d9467f2 View commit details
  20. Merge pull request #65 from cypress-io/renovate/npm-acorn-vulnerability

    chore(deps): update dependency acorn to version 6.4.1 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    f1273c8 View commit details
  21. Merge pull request #68 from cypress-io/renovate/npm-handlebars-vulner…

    …ability
    
    chore(deps): update dependency handlebars to version 4.5.3 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    d0a76d7 View commit details
  22. Merge pull request #67 from cypress-io/renovate/npm-elliptic-vulnerab…

    …ility
    
    chore(deps): update dependency elliptic to version 6.5.4 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    60e408b View commit details
  23. Merge pull request #77 from cypress-io/renovate/npm-set-value-vulnera…

    …bility
    
    chore(deps): update dependency set-value to version 2.0.1 🌟
    jennifer-shehane authored Mar 30, 2021
    Copy the full SHA
    fc9f2ee View commit details

Commits on Sep 9, 2021

  1. fix(deps): update dependency glob-parent to version 5.1.2 🌟 (#84)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    Copy the full SHA
    61dae70 View commit details

Commits on Nov 3, 2021

  1. chore(deps): update dependency semantic-release to version 17.2.3 🌟 (#76

    )
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 3, 2021
    Copy the full SHA
    76edfbe View commit details
  2. Copy the full SHA
    c66ae40 View commit details
  3. Copy the full SHA
    a8adb24 View commit details
  4. fix: release

    chrisbreiding committed Nov 3, 2021
    Copy the full SHA
    a8ff57f View commit details
  5. Copy the full SHA
    67ea9f6 View commit details
  6. fix: release

    chrisbreiding committed Nov 3, 2021
    Copy the full SHA
    927b76a View commit details

Commits on Nov 4, 2021

  1. Copy the full SHA
    2b1c1f4 View commit details

Commits on Feb 9, 2022

  1. Copy the full SHA
    842a15a View commit details
  2. Merge pull request #97 from cypress-io/update-documentation-for-10.0

    docs: update readme with 10.0 instructions
    jordanpowell88 authored Feb 9, 2022
    Copy the full SHA
    ab111fd View commit details
  3. Revert changes

    jordanpowell88 committed Feb 9, 2022
    Copy the full SHA
    285f4e1 View commit details
  4. Copy the full SHA
    d244bb8 View commit details

Commits on Feb 15, 2022

  1. Copy the full SHA
    df2843d View commit details

Commits on Feb 17, 2022

  1. Copy the full SHA
    e73c2bb View commit details

Commits on May 9, 2022

  1. Update README.md

    Change documentation to note that the plugin is now deprecated
    jordanpowell88 authored May 9, 2022
    Copy the full SHA
    5fcbaef View commit details

Commits on Jun 1, 2022

  1. Merge pull request #99 from cypress-io/10.0-updates

    docs: updates docs to only support cypress < 10
    jordanpowell88 authored Jun 1, 2022
    Copy the full SHA
    6f34330 View commit details
Showing with 21,114 additions and 9,711 deletions.
  1. +1 −1 .node-version
  2. +2 −1 .npmrc
  3. +2 −2 README.md
  4. +19 −11 circle.yml
  5. +2 −2 index.js
  6. +20,993 −9,656 package-lock.json
  7. +38 −38 package.json
  8. +42 −0 renovate.json
  9. +15 −0 test/unit/index_spec.js
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.8.1
16.13.0
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
registry=http://registry.npmjs.org/
registry=https://registry.npmjs.org/
save-exact=true
progress=false
legacy-peer-deps=true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## Note: This plugin is deprecated and Cypress will not be moving forward with development of the plugin.

# Cypress Browserify Preprocessor [![CircleCI](https://circleci.com/gh/cypress-io/cypress-browserify-preprocessor/tree/master.svg?style=svg)](https://circleci.com/gh/cypress-io/cypress-browserify-preprocessor/tree/master)

Cypress preprocessor for bundling JavaScript via browserify.

This is the default preprocessor that comes packaged with Cypress. You'd typically need to install this if you want to modify the default options we've configured.

Modifying the default options allows you to add support for things like:

- TypeScript
30 changes: 19 additions & 11 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# https://circleci.com/orbs/registry/orb/circleci/node
version: 2.1
orbs:
node: circleci/node@4.7.0
jobs:
build:
executor:
name: node/default
tag: '12'
docker:
- image: cimg/node:16.13.0
steps:
- checkout
- node/with-cache:
steps:
- run: npm ci
- run: npm run test
- run: npm run semantic-release || true
orbs:
node: circleci/node@1.1
version: 2.1
- run:
name: Environment Details
command: |
echo "Node.js version"
node --version
echo "npm version"
npm --version
- node/install-packages
- run:
name: Run Tests
command: npm run test
- run:
name: Semantic Release
command: npm run semantic-release || true
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ const getBrowserifyOptions = async (entry, userBrowserifyOptions = {}, typescrip
}

const transform = browserifyOptions.transform
const hasTsifyTransform = transform.some(([name]) => name.includes('tsify'))
const hasTsifyTransform = transform.some((stage) => Array.isArray(stage) && stage[0].includes('tsify'))
const hastsifyPlugin = browserifyOptions.plugin.includes('tsify')

if (hasTsifyTransform || hastsifyPlugin) {
@@ -136,7 +136,7 @@ Please do one of the following:

browserifyOptions.extensions.push('.ts', '.tsx')
// remove babelify setting
browserifyOptions.transform = transform.filter(([name]) => !name.includes('babelify'))
browserifyOptions.transform = transform.filter((stage) => !Array.isArray(stage) || !stage[0].includes('babelify'))
// add typescript compiler
browserifyOptions.transform.push([
path.join(__dirname, './lib/simple_tsify'), {
Loading