Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "jssvg", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"description": "composable svg tag functions", | ||
@@ -37,4 +37,4 @@ "main": "index.js", | ||
"svg-tags": "^1.0.0", | ||
"xmltag": "0.0.2" | ||
"xmltag": "^1.0.0" | ||
} | ||
} | ||
} |
@@ -1,12 +0,12 @@ | ||
const svgTags = require('svg-tags'); | ||
const jssvg = require('../index'); | ||
const svgTags = require('svg-tags') | ||
const jssvg = require('../index') | ||
describe('jssvg', () => { | ||
it('has the tag functions', () => { | ||
expect(jssvg.animate({foo: "bar"})).toEqual('<animate foo="bar"/>'); | ||
}); | ||
expect(jssvg.animate({ foo: 'bar' })).toEqual('<animate foo="bar" />') | ||
}) | ||
it('has all the functions', () => { | ||
expect(Object.keys(jssvg).length).toEqual(svgTags.length); | ||
}); | ||
}); | ||
expect(Object.keys(jssvg).length).toEqual(svgTags.length) | ||
}) | ||
}) |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1523
5
+ Addedxmltag@1.0.0(transitive)
- Removedxmltag@0.0.2(transitive)
Updatedxmltag@^1.0.0