Skip to content

issues Search Results · repo:codemix/babel-plugin-contracts language:JavaScript

Filter by

8 results
 (73 ms)

8 results

incodemix/babel-plugin-contracts (press backspace or delete to remove)

I am moving from Webpack to Vite, or at least considering it. I ve been using the contracts plugin under Webpack successfully for years now. But my app will not run at all under Vite with the plugin installed. ...
  • estaylorco
  • Opened 
    on Jan 8
  • #13

Hey there, I m trying out this lib, and I have the following function: export const fib = (n) = { pre: { Number.isInteger(n); n 0; } if (n === 0) { return 1; } else { return ...
  • sdellysse
  • 2
  • Opened 
    on Oct 9, 2020
  • #12

Hello, I used to use contracts in Racket of all languages, so glad to see something similar exists for JS! Anyway, every time I try to compile anything with the contracts plugin, I get Unexpected token ...
  • ghost
  • 2
  • Opened 
    on May 7, 2019
  • #11

Is this plugin compatible with babel 7? relevant excerpt of the stack strace: …node_modules/babel-plugin-contracts/lib/index.js:37:15 …node_modules/@babel/template/lib/populate.js:35:15
  • Mouvedia
  • Opened 
    on Feb 17, 2019
  • #9

Hello, Thank you for this DBC library for JS. I am encountering an issue with Webpack and Babel-loader plugin, where I set options to change the var names (for example result instead of it ), but those ...
  • njor
  • 2
  • Opened 
    on Jul 1, 2018
  • #8

First, thanks so much for a fantastic library! I was an Eiffel programmer once upon a time and miss DbC. Babel Contracts is the closest I ve seen to Eiffel s implementation, and the smoothest. I have ...
enhancement
  • estaylorco
  • 18
  • Opened 
    on Apr 21, 2017
  • #7

Post-conditions introduce a special variable, it which refers to the result of the function. Could you add a property—like env—that would let us use a custom variable name of our choosing? cf https://github.com/codemix/babel-plugin-contracts/blob/feb3422d0b5bd8704a0cff6a5a26e28cb03353c9/src/index.js#L50 ...
enhancement
  • Mouvedia
  • 3
  • Opened 
    on Apr 6, 2017
  • #5

After some head scratching over an error about length being undefined, I realized you added a body around the pre label and the main label was gone. It might not be a bad idea to add a migration section ...
  • jg123
  • Opened 
    on Jan 8, 2016
  • #3
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub