Skip to content

Commit

Permalink
Merge pull request #12 from cedar-policy/chore/hakanson/copyright
Browse files Browse the repository at this point in the history
chore: update copyright
  • Loading branch information
hakanson authored Apr 14, 2024
2 parents 9560344 + f4affe0 commit 35668e6
Show file tree
Hide file tree
Showing 14 changed files with 277 additions and 244 deletions.
2 changes: 1 addition & 1 deletion dist/hljs-cedar.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __export(cedar_exports, {
default: () => cedar_default
});
module.exports = __toCommonJS(cedar_exports);
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! Copyright Cedar Contributors
//! SPDX-License-Identifier: Apache-2.0
function cedar_default(hljs) {
const GLOBALS = {
Expand Down
2 changes: 1 addition & 1 deletion dist/hljs-cedar.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@
// src/webbundle.js
window.hljsCedar = cedar_default;
})();
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! Copyright Cedar Contributors
//! SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion dist/hljs-cedar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/hljs-cedar.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! Copyright Cedar Contributors
//! SPDX-License-Identifier: Apache-2.0
function cedar_default(hljs) {
const GLOBALS = {
Expand Down
491 changes: 262 additions & 229 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
],
"devDependencies": {
"highlight.js": "^11.9.0",
"prettier": "^3.2.4",
"vite": "^5.0.13",
"vitest": "^1.2.1"
"prettier": "^3.2.5",
"vite": "^5.2.8",
"vitest": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion src/cedar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! Copyright Cedar Contributors
//! SPDX-License-Identifier: Apache-2.0
/*
Language: Cedar
Expand Down
2 changes: 1 addition & 1 deletion src/webbundle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! Copyright Cedar Contributors
//! SPDX-License-Identifier: Apache-2.0
import hljsCedar from './cedar';

Expand Down
2 changes: 1 addition & 1 deletion test/cedar-commonjs.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Cedar Contributors
// SPDX-License-Identifier: Apache-2.0
/*
* vitest script of CommonJS module version of highlightjs-cedar
Expand Down
2 changes: 1 addition & 1 deletion test/cedar-esm.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Cedar Contributors
// SPDX-License-Identifier: Apache-2.0
/*
* vitest script of ECMAScript module version of highlightjs-cedar
Expand Down
2 changes: 1 addition & 1 deletion test/static/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<meta charset="utf-8" />
<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -->
<!-- Copyright Cedar Contributors -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<title>script src</title>
<script src="highlight.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/update-html-files.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Cedar Contributors
// SPDX-License-Identifier: Apache-2.0
/*
* updates each index.html file with *.cedar files
Expand Down
2 changes: 1 addition & 1 deletion test/vite/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<meta charset="utf-8" />
<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -->
<!-- Copyright Cedar Contributors -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<title>Vite ESM</title>
<script type="module" src="main.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/vite/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright Cedar Contributors
// SPDX-License-Identifier: Apache-2.0
import '../../node_modules/highlight.js/styles/github.css';
import hljs from 'highlight.js';
Expand Down

0 comments on commit 35668e6

Please sign in to comment.