Comments (2)
Thanks for letting me know.
As far as I know these tests are no longer being maintained by the contributor who added them. I have tried to contact him several times. As these tests seem to have let through quite a few bugs, I'll probably replace them with something better. I have a large bank of tests but they don't look at all pretty at the moment.
You are right. the parameter 'version' in StrictMode refers to the version of the tests that are applies so that 1.0 prohibits references to uninitialized variables, except for uninitialized variables in strings, whereas 2.0 prohibits references to uninitialized variables. This includes uninitialized variables in strings. It also prohibits references to non-existent properties of an object as well as function calls that use the syntax for calling methods. It also prohibits a variable without a name (${}).
It is best to duck this and just specify 'Latest'.
from psyaml.
Thanks for the clarification
from psyaml.
Related Issues (17)
- Create a release?
- Can you please add a license document with a permissive license like MIT or Apache 2.0? HOT 2
- Can you please publish this to https://www.powershellgallery.com/? HOT 1
- Invalid path to YamlDotNet assembly in Initialize-PsYAML_Module HOT 1
- Easy Install on Linux from PowerShellGallery / "Automated Install" instructions do not work HOT 1
- Long hashtable values incorrectly wraps HOT 4
- Single-element arrays are not preserved
- Trouble parsing comments? HOT 1
- ConvertTo-Yaml Invalid cmdlet names HOT 1
- Strings containing numbers or dates are converted to numbers and dates HOT 7
- ConvertFrom-Yaml and Convert-YamlToJson Cmdlets do not work with string[] as returned by Get-Content HOT 4
- Does not properly convert nested lists HOT 1
- Create Git tag and publish to powershellgallery HOT 4
- Converts to Datetime (Unwanted) HOT 1
- Install-Module doest not work HOT 2
- Bug: $false as Boolean value creates an empty output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psyaml.