Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dice-notation

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dice-notation - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

src/component-serializer.js

4

package.json
{
"name": "dice-notation",
"version": "0.0.1",
"version": "0.0.3",
"description": "A simple dice notation parser.",
"main": "src/parser.js",
"main": "src/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "mocha"

const rollableVerifier = /(\d+)d(\d+)([a-zA-Z0-9]*)$/;
const constantVerifier = /\d+$/;
const validRollableModifiers = ["kH", "kL", "kB", "kW"];
const validRollableModifiers = ["kH", "kL", "kB", "kW", "a", "d"];

@@ -6,0 +6,0 @@ function parseConstant({ sign, value }) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc