Comparing version 2.0.0 to 2.1.0
@@ -78,5 +78,7 @@ 'use strict'; | ||
} | ||
if (map.get(id)) { | ||
throw new Error('There are duplicate IDs in the same scope.'); | ||
} | ||
map.set(id, new Map()); | ||
@@ -83,0 +85,0 @@ |
{ | ||
"name": "subsume", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Embed data in other data and easily extract it when needed", | ||
@@ -16,6 +16,7 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && ava" | ||
"test": "xo && ava && tsd" | ||
}, | ||
"files": [ | ||
"index.js" | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
@@ -43,5 +44,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"ava": "*", | ||
"xo": "*" | ||
"ava": "^1.4.1", | ||
"tsd": "^0.7.2", | ||
"xo": "^0.24.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10882
5
193
3