Socket
Socket
Sign inDemoInstall

css-functions-list

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

13

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [3.0.1][] - 2022-02-14
### Fixed
- Use `fileURLToPath` for location resolve
### Added
- Windows to CI matrix
## [3.0.0][] - 2022-02-03

@@ -25,3 +35,4 @@

[2.0.0]: https://github.com/niksy/css-functions-list/tree/v2.0.0
[unreleased]: https://github.com/niksy/css-functions-list/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/niksy/css-functions-list/tree/v3.0.0
[unreleased]: https://github.com/niksy/css-functions-list/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/niksy/css-functions-list/tree/v3.0.1

2

cjs/index.js

@@ -8,5 +8,5 @@ 'use strict';

*/
const location = new url.URL('index.json', (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href))).pathname;
const location = url.fileURLToPath(new url.URL('index.json', (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href))));
module.exports = location;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import { URL } from 'url';
import { fileURLToPath, URL } from 'url';

@@ -6,5 +6,5 @@ /**

*/
const location = new URL('index.json', import.meta.url).pathname;
const location = fileURLToPath(new URL('index.json', import.meta.url));
export { location as default };
//# sourceMappingURL=index.js.map
{
"name": "css-functions-list",
"version": "3.0.0",
"version": "3.0.1",
"description": "List of standard and browser specific CSS functions.",

@@ -37,7 +37,7 @@ "license": "MIT",

"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
"lint": "eslint '{index,lib/**/*,test/**/*,generate-list}.js'",
"test": "mocha --require esm 'test/**/*.js'",
"lint": "eslint \"{index,lib/**/*,test/**/*,generate-list}.js\"",
"test": "mocha --require esm \"test/**/*.js\"",
"test:watch": "npm test -- --watch",
"build": "rollup --config rollup.config.js",
"module-check": "node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'",
"module-check": "node -e \"require('css-functions-list');\" && node --input-type=module -e \"import 'css-functions-list';\"",
"prepublishOnly": "npm run build",

@@ -44,0 +44,0 @@ "lint:types": "tsc",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc