
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Asserting in RubyMotion is a tricky task. NSAssert is not yet supported and displaying stacktrace or disabling asserts in release build are far from straight forward. The goal of this gem is to provide the best thing we can currently do for asserting within RubyMotion.
Add this line to your application's Gemfile:
gem 'motion-assert', :git => 'git://github.com/codiumco/motion-assert.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install motion-assert
Inlcude MotionAssert module in your app_delegate.rb:
include MotionAssert
Once MotionAssert module is included, you can assert by calling:
Debug.assert(someValue == otherValue, 'someValue is not equal to otherValue!')
Currently, displaying a stacktrace when an assert is raised is not yet supported. So when an assert is raised, the best way to identify where it come from is to supply a descriptive message. You can use ruby's __FILE__ and __LINE__ to help you identify the location of the assert as well.
Currently, automatically remove assert in release build is not yet support. Make sure you remember to perform a find-replace for 'Debug.assert' with '#Debug.assert' before you release your application
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that motion-assert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.